Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 900 Bytes

CHANGELOG.md

File metadata and controls

28 lines (19 loc) · 900 Bytes

6.0.1 (2018-05-06)

BREAKING CHANGES

  • ngx-mqtt@^6.0.0 is compatible to angular@^6.0.0

1.10.0 (2017-05-19)

Features

  • service: throw an error, if the the suback contains a rejection (#22) (683ebdd)

BREAKING CHANGES

  • Previously, observing and then subscribing to a topic, which causes the actual MQTT subscription, wouldn't throw an error, if the subscription got rejected. Now, an Error will be thrown, which must be caught.
  this.mqtt
    .observe('forbidden/filter')
    .subscribe((msg: MqttMessage) => {
      // handle message
    }, (e) => {
      // error callback
    })