Mochi Co Mqtt Versions Save

The fully compliant, embeddable high-performance Go MQTT v5 server for IoT, smarthome, and pubsub

v2.6.4

1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.6.3...v2.6.4

v2.6.3

2 months ago

What's Changed

Lots of good updates, with many thanks to @dgduncan @werbenhu @thedevop!

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.6.2...v2.6.3

v2.6.2

2 months ago

What's Changed

Thank you @thedevop and @werbenhu !

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.6.1...v2.6.2

v2.6.1

3 months ago

What's Changed

Thank you @werbenhu !

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.6.0...v2.6.1

v2.6.0

3 months ago

What's Changed

Be advised - this release includes a breaking change for the Docker image which may be fixed in the future.

File Based Configuration

You can use File Based Configuration with either the Docker image (noted above), or by running the build binary with the --config=config.yaml or --config=config.json parameter.

Configuration files provide a convenient mechanism for easily preparing a server with the most common configurations. You can enable and configure built-in hooks and listeners, and specify server options and compatibilities:

listeners:
  - type: "tcp"
    id: "tcp12"
    address: ":1883"
  - type: "ws"
    id: "ws1"
    address: ":1882"
  - type: "sysinfo"
    id: "stats"
    address: ":1880"
hooks:
  auth:
    allow_all: true
options:
  inline_client: true

Please review the examples found in examples/config for all available configuration options.

There are a few conditions to note:

  1. If you use file-based configuration, you can only have one of each hook type.
  2. You can only use built in hooks with file-based configuration, as the type and configuration structure needs to be known by the server in order for it to be applied.
  3. You can only use built in listeners, for the reasons above.

If you need to implement custom hooks or listeners, please do so using the traditional manner indicated in cmd/main.go.

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.6...v2.6.0

v2.4.6

4 months ago

What's Changed

Many thanks @thedevop!

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.5...v2.4.6

v2.4.5

5 months ago

What's Changed

A couple of small improvements, thank you @werbenhu and @thedevop! 🙂

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.4...v2.4.5

v2.4.4

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.3...v2.4.4

v2.4.3

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.2...v2.4.3

v2.4.2

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mochi-mqtt/server/compare/v2.4.1...v2.4.2