Skip to content

Release 5.0.0

Compare
Choose a tag to compare
@robertsLando robertsLando released this 25 Jul 15:42
· 129 commits to main since this release

5.0.0 (2023-07-25)

Bug Fixes

  • help message for client ID param for sub command is incorrect (#1643) (8521888)
  • types: better streamBuilder types (247e187)
  • types: better types (#1645) (0f29bff)
  • use explicit connect packet and infer types from mqtt-packet (#1646) (2a49ed3)
  • make tests more reliable (#1534) (1076143)
  • problem with publish callback invoked twice (#1635) (79b23a8)
  • types: subscribe definition (#1527) (debb7d9)
  • chore!: remove unused deps, convert to ES2015 class (#1633) (d71b000), closes #1633
  • browser tests not working (#1628) (8775fcd)
  • setImmediate polyfill (#1626) (0ed0754)
  • _storeProcessing staying true after outStore got emptied (#1492) (f3f7be7)
  • consistency, used this instead of that (#1618) (800825b)
  • prevent store message on store when it's restored (#1255) (8d68c8c)
  • add missing export of UniqueMessageIdProvider and DefaultMessageIdProvider (#1572) (aa2e0ad)
  • IS_BROWSER check is now safer and more agnostic about the bundler (#1571) (b48b4b4)
  • test: topicAliasMaximum tests (#1612) (f1e5518)
  • topicAliasMaximum under must be under Connect properties (#1519) (3b2e1cb)
  • types: missing null declaration for error in subscription callback (#1589) (afc067b)
  • types: topic alias controls and password (#1509) (85c9341)
  • chore!: drop support for node 12-14 (#1615) (a2cbf61), closes #1615

Features

BREAKING CHANGES

  • When creating an MqttClient instance new is now required
  • Dropped support for NodeJS 12-14
  • Completely rewritten in Typescript