Skip to content

Releases: wind-c/comqtt

v2.6.0

08 Aug 15:01
Compare
Choose a tag to compare
  1. Added restfull apis of mqtt and cluster
  2. Upgrade go version from 1.21 to 1.22
  3. Upgrade the versions of several third-party libraries

Restfull apis:
GET /api/v1/mqtt/config : [single] get configuration parameters of mqtt server
GET /api/v1/mqtt/stat/overall : [single] get mqtt server info
GET /api/v1/mqtt/stat/online : [single] get online number
GET /api/v1/mqtt/clients/{id} : [single] get a client info
GET /api/v1/mqtt/blacklist : [single/cluster] get blacklist, each node in the cluster has the same blacklist
POST /api/v1/mqtt/blacklist/{id} : [single] disconnect the client and add it to the blacklist
DELETE api/v1/mqtt/blacklist/{id} : [single] remove from the blacklist
POST /api/v1/mqtt/message : [single/cluster] publish message to subscribers in the cluster, body {topic_name: "xxx", payload: "xxx", retain: true/false, qos: 1}

GET /api/v1/node/config : [cluster] get configuration parameters of node
DELETE /api/v1/node/{name} : [cluster] leave local node gracefully exits the cluster
GET /api/v1/cluster/nodes : [cluster] get all nodes in the cluster
POST /api/v1/cluster/nodes : [cluster] add a node to the cluster, body {name: "xx", addr: "ip:port"}
POST /api/v1/cluster/peers : [cluster] add peer to raft cluster, body {name: "xx", addr: "ip:port"}
DELETE /api/v1/cluster/peers/{name} : [cluster] remove peer from raft cluster
GET /api/v1/cluster/stat/online : [cluster] online number from all nodes in the cluster
GET /api/v1/cluster/clients/{id} : [cluster] get a client information, search from all nodes in the cluster
POST /api/v1/cluster/blacklist/{id} : [cluster] add clientId to the blacklist on all nodes in the cluster
DELETE /api/v1/cluster/blacklist/{id} : [cluster] remove from the blacklist on all nodes in the cluster

v2.5.6

25 Jun 15:10
Compare
Choose a tag to compare

Upgrade the versions of the go-redis and raft.

v2.5.5

21 Mar 15:12
Compare
Choose a tag to compare
  1. Update README
  2. Buffer optimizations

v2.5.4

14 Mar 16:34
Compare
Choose a tag to compare

Fixed #84
Missing OnPublishedWithSharedFilters in Hooks#HookBase.

v2.5.3

14 Mar 05:35
Compare
Choose a tag to compare

1.Add extension field for client
2.Upgrade versions of libraries such as raft

v2.5.2

14 Dec 05:44
Compare
Choose a tag to compare

1.Add and fix failed test cases.
2.Optimize the judgment logic of cluster/raft/base#KV.

Full Changelog: v2.5.1...v2.5.2

v2.5.1

13 Dec 12:50
Compare
Choose a tag to compare

1.The cluster supports shared subscriptions
2.Log display and other logical optimization
3.Fix mqtt.options yaml comment issues #78

Full Changelog: v2.5.0...v2.5.1

v2.5.0

15 Oct 07:42
Compare
Choose a tag to compare

1.Replace herolog with standard library slog.
2.Add the inline subscription feature.

v2.4.1

14 Oct 01:33
1c0b22a
Compare
Choose a tag to compare

1.Fixed nil pointer dereference. #72
2.This will be the last version to use zerolog, and later versions will switch to the standard library slog.

v2.4.0

23 Aug 15:03
Compare
Choose a tag to compare
  1. Auth plugin adds multiple password encryption checks.
  2. Add refinements and fixes to unit test cases.