Breaking changes
- Reqires Node.js 6.0+ for JavaScript ES6 support.
Internal changes
- Update to CoffeeScript 2
- Transport: Add interface for listing existing datasubscriptions.
MessageBroker.listSubscriptions()
- Transport: Add new interface for subscribing to data changes on a binding.
See MessageBroker
subscribeData()
andunsubscribeData()
. - MQTT: Support
subscribeData()
- MQTT: Fix falsy messages not being forwarded
- MQTT: Fix addBinding() not working if a removeBinding() had been done before
- No support for subscribeData on AMQP yet
- MsgFlo discovery message now sent periodically. Defaults to couple of times per minute.
- MQTT: Fix compatibility with newer versions of library (> 1.4.x)
- Client/AMQP/MQTT: Remove deprecated
sendToQueue()
.
- participant: Remove deprecated
connectGraphEdges()
andconnectGraphFile()
. Should usemsgflo.setup
instead. - MQTT: Implement
removeBinding()
, for removing a connection
- Allows to register custom transports using
msgflo_nodejs.transport.register()
- Transport dependencies (
amqplib
andmqtt
) are no longer included by default. So the project using msgflo-nodejs must to add it to their own dependencies. - No longer requires CoffeeScript at runtime; the NPM package is plain JS
First version split out of msgflo.