github mqttjs/MQTT.js v5.3.0
Release 5.3.0

latest releases: v5.14.1, v5.14.0, v5.13.3...
22 months ago

5.3.0 (2023-11-18)

This release comes with many improvements on browser side:

  • Create an util class BufferedDuplex to replace duplexify on ws ali and wx
  • Partially fixes #876 (will keep this for another PR)
  • Fix bug on ws _writev function
  • Fix bug on socket write, seems that when optionbrowserBufferSize is reached (defaults to 512kB) this not only wasn't blocking the writes to socket but was also causing duplicated messages. For sure there were some open issues caused by this
  • Improve types in ws. Use window.WebSocket for Browser and ws module types for Node
  • Significatly reduces bundle size by ~24% (90kB)
  • Improved browser tests to subscribe to different topics to prevent false positives when running concurrently

Features

  • browser: websockets improvements and bundle optimizations (#1732) (0928f85)

Don't miss a new MQTT.js release

NewReleases is sending notifications on new releases.