deepstream.io v4.2.0 Release Notes

Release Date: 2019-09-09 // over 4 years ago
  • Feat

    Two new connection endpoints have been added. They are currently experimental and will be properly ๐Ÿ“š announced with associated documentation.

    ๐Ÿ‘ One endpoint is mqtt! This allows us to support mqtt auth (using username and password), retain using records and QoS 1 using write acks. The only issue is since mqtt only supports one sort โšก๏ธ of concept (with flags distinguishing them) we bridge both events and records together. That means if you subscribe to 'temperature/london', you'll get the update from both a client doing event.emit('temperature/london') and record.setData('temperature/london').

    The second endpoint is ws-json which allows users to interact with deepstream by just passing through json serialized text blobs instead of protobuf. This is mainly to help a few people trying to write SDKs without the hassle of a protobuf layer.

    Value also injects a name variable which allows you to reference the name your currently in. Useful for cross referencing.

    ๐Ÿ›  Fix

    ๐Ÿ‘€ Subscription registry seemed to have a massive leak when it came to dead sockets! This has now been fixed. The sockets seemed to have gotten the remove event deleted earlier in their lifecycle which prohibited it from doing a proper clean up later.