Skip to content

Releases: mqttjs/MQTT.js

Release 5.5.1

10 Apr 08:53
Compare
Choose a tag to compare

5.5.1 (2024-04-10)

Bug Fixes

  • browser: uncaught error when stream is destroyed with error (380f286), closes #1839

Release 5.5.0

18 Mar 09:25
Compare
Choose a tag to compare

5.5.0 (2024-03-18)

Bug Fixes

  • browser: force closing client doesn't destroy websocket correctly (#1820) (f9b1204), closes #1817
  • expose mqttjs version on MqttClient.VERSION (#1821) (50776a7)

Features

  • timerVariant option to choose between native and worker timers (#1818) (547519d)

Release 5.4.0

13 Mar 10:03
Compare
Choose a tag to compare

5.4.0 (2024-03-13)

Bug Fixes

Features

  • emit Keepalive timeout error and speed up tests using fake timers (#1798) (5d9bf10)

Release 5.3.6

26 Feb 09:30
Compare
Choose a tag to compare

5.3.6 (2024-02-26)

Bug Fixes

Release 5.3.5

23 Jan 14:30
Compare
Choose a tag to compare

5.3.5 (2024-01-23)

Bug Fixes

  • bump help-me version to fix vulnerability in glob/inflight (#1773) (72f99dc)
  • keepalive causes a reconnect loop when connection is lost (#1779) (3da5e84), closes #1778

Release 5.3.4

22 Dec 07:37
Compare
Choose a tag to compare

5.3.4 (2023-12-22)

Bug Fixes

Release 5.3.3

05 Dec 14:28
Compare
Choose a tag to compare

5.3.3 (2023-12-05)

Bug Fixes

Release 5.3.2

04 Dec 16:33
Compare
Choose a tag to compare

5.3.2 (2023-12-04)

Bug Fixes

  • browser: use worker timers to prevent unexpected client close (#1753) (35448f3)
  • catch all socket errors (#1752) (a50e85c)
  • prop window is not defined in web worker (#1749) (6591404)

Release 5.3.1

28 Nov 17:13
Compare
Choose a tag to compare

5.3.1 (2023-11-28)

Bug Fixes

  • improve environment detection in is-browser utility (#1744) (b094142)
  • typescript compile error (2655feb), closes #1746

Release 5.3.0

18 Nov 09:04
Compare
Choose a tag to compare

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)