Skip to content

Releases: mqttjs/MQTT.js

v4.2.2 (patch release)

27 Oct 01:34
5c6aeb7
Compare
Choose a tag to compare

📚 PR:

#1154: fixes #1140, detecting if webpack is used (browser)
#1162: fixes #1152, reconnect bug
#1165: fixes #1160, add documentation for react
#1171: minor docs consistency improvements

v4.2.1

24 Aug 20:53
e91d2c0
Compare
Choose a tag to compare

This release is a patch update to address a bug created in release v4.2.0, breaking MQTT over Websocket in the browser. This patch fixes that.

📚 PR:

fix(websocket): browser in ws (#1145)

v4.2.0

12 Aug 19:31
abc7339
Compare
Choose a tag to compare

📚 PR:

feat(websockets): websocket-streams to ws (#1108)
fix(browser support): do not use process.nextTick without check that it exists (#1136)
fix(browser support): correct browser detection for webpack (#1135)
fix(mqtt stores): improve error handling and tests (#1133)
feat(mqtt5): add properties object to publish options (#1103)
fix(typescript): fix payloadFormatIndicator to boolean type (#1115)
fix: path for bin files (#1107)

v4.1.0

19 May 09:15
Compare
Choose a tag to compare

📚 PR:

  • ci: add debug logs to tests (#1091)
  • chore: move cli to bin directory (#1096)
  • chore: remove bloat from package (#1097)
  • types: add on('connect') (#963)
  • The protocols parameter of wx.connectSocket should be Array. (#969)
  • [FIXED] Unsubscribe while topics are in array. (#958)
  • Add missing "debug" dependency (#1104)

v4.0.1

19 May 09:12
Compare
Choose a tag to compare

📚 PR:

  • refactor: better debugging (#1085)
  • docs: knick knacks here and there (#1087)
  • docs: better explain reconnection in readme (#1088)

v4.0.0

27 Apr 17:15
Compare
Choose a tag to compare
  • refactor: callbacks on end() (#1080)
  • chore: change workflow to v10-14 and doc fixes (#1079)
  • feat(client): error handling and test resilience (#1076)
  • chore: add master branch action (#1062)
  • chore: istanbul to nyc and uglify-js to uglify-es (#1061)
  • chore: github actions (#1059)
  • feat: connection error handler (#1053)
  • fix: remove only (#1058)
  • feat: support SNI on TLS (#1055)
  • chore: tidy up debug logs (#1052)
  • fix various options definition for ts usage (#1043)
  • refactor: zuul to airtap for browser testing (#1045)

v3.0.0

27 May 08:29
Compare
Choose a tag to compare
  • mqtt 5 support
  • Notice about MQTT 5.0 added to README
  • Delayed emit timing of connect event. Emit connect event after processing of outgoingStore is completed.
  • Modified _onConnect() as top level function. Called this._setupPingTimer() from _onConnect(). Modified on('connect') handler for resubscribe as top level function. The function is called from _onConnect().
  • Passed packet to _onConnect().
  • Change this.firstConnection to private member.
  • Added Node 10 to .travis.yml
  • Merge pull request #867 from mqttjs/add-node-ten
  • Merge pull request #866 from ogis-fujiwara/msg-order-at-restore
  • update branch
  • Merge branch 'master' into feature-mqtt-5
  • Merge pull request #827 from flespi-software/feature-mqtt-5
  • Add new callback called when message is put into outgoingStore.
  • Pass callback cbStorePut to publish method as one of options.
  • Merge pull request #869 from ogis-fujiwara/cb-store-put
  • Update TypeScript declaration files for cbStorePut.
  • fix properties mqtt 5 in subscribe
  • Merge pull request #881 from mqttjs/mqtt-5-subscribe-fix
  • Merge pull request #872 from ogis-fujiwara/cb-store-put-ts
  • fix bug in weixin min program and add support to ali min program (#898)
  • fix: delete completed incoming QOS 2 messages (#893)
  • Update deps fix ci fix 9errors (#903)
  • Fix publish interrupt during stored packets processing. (#902)
  • fix bug in weapp (#913)
  • Did you mean 'Support'? (#915)
  • fix (#917)
  • server side disconnect handling (#926)
  • perform nextTick work only if work needs to be done (#931)
  • resubscribe mqtt5 fix (#946)
  • process disconnect packet w/o full destroy the connection (#937)
  • Fixed #952. (#953)

v2.18.8

30 Aug 16:23
Compare
Choose a tag to compare
  • Add error handling for the storage handling in QoS 2 #864

v2.18.7

28 Aug 15:11
Compare
Choose a tag to compare
  • Fix tests for abstract store #860

v2.18.6

25 Aug 13:28
Compare
Choose a tag to compare
  • Proper use of 'readable' event #859