Skip to content

Releases: eclipse-paho/paho.mqtt.rust

-sys Version 0.10.3

14 May 23:48
Compare
Choose a tag to compare

Fixed the build of the C library for C23 compilers (gcc 15+, etc)

  • [#249)[https://github.com//pull/249) Fixed the Paho C build for C23

Version 0.13.3

28 Apr 16:44
Compare
Choose a tag to compare

Fixed TopicMapper

  • TopicMatcher implements From(HashMap) for the value type.
  • #243 TopicMatcher not matching parent when using '#' wildcard.

Version 0.13.2

27 Mar 20:56
Compare
Choose a tag to compare

Minor updates to TopicFilter.

  • Added some methods to TopicFilter:
    • Queries has_wildcards() and num_fields().
    • TryFrom for &str and String

Version 0.13.1

19 Feb 15:33
Compare
Choose a tag to compare

Bug fixes.

  • #240 Display trait for MqttVersion enumeration.
  • #241 Restored the ability to turn off the ssl feature.

Version 0.13.0

21 Jan 22:52
Compare
Choose a tag to compare

Update for Paho C v1.3.14 with support for UNIX-domain sockets. It also includes:

  • Updated License to EPL-v2.0
  • Bumped MSRV to Rust v1.73.0
  • Bumped -sys to v0.10.0
    • Wrapping Paho C v1.3.14
      • Support for UNIX-domain sockets on local machine (*nix only)
    • build.rs builds optional UNIX sockets into Paho C on non-Windows systems (*nix)
  • Reworked the Error type
    • Remove Paho and PahoDescr errors. De-nested them into the top-level.
    • Parsing the error messages from PahoDescr for new error types.
    • Removed Paho error constants. Now errors can be matched easily/directly.
  • Token simplified to create an Option<Result<ServerResponse>> instead of individual components.
  • Created new enumeration types:
    • MqttVersion
    • ConnectReturnCode (for MQTT v3.x)
    • QoS
  • #181 Updated README.md with explanation on how to build for apple m1/x86_64
  • #216 Deref QoS pointers for SubscribeMany and UnsubscribeMany in server response
  • #224 Fix QoS 0 and 1 conversion
  • #236 Make from_c_parts only visible inside crate

Version 0.12.5

25 May 13:51
Compare
Choose a tag to compare

Some bug fixes and License update.

  • Updated the License to EPL-v2.0
  • Added some missing Eclipse Paho legal documents.
  • Added TopicMatcher::insert_many()
  • #216 Deref QoS pointers for SubscribeMany and UnsubscribeMany in server response
  • #215 Now subscribe_many() returns an error if slices not the same length. Also added subscribe_many_same_qos() to the clients.

Version 0.12.4

20 May 01:09
Compare
Choose a tag to compare

Fixes for topic matching

  • TopicMatcher
    • Fixed a number of corner cases
    • Iterator optimized
    • Added prune() and shrink_to_fit(), and get_key_value()
  • TopicFilter fixed corner cases
  • Added stand-alone topic_matches() and topic_matches_iter() functions from PR #228

Version 0.12.3

26 Oct 00:00
Compare
Choose a tag to compare

Upgrade to Paho C v1.3.13 to fix a number of bugs, including numerous issues with reconnecting to the broker.

  • The -sys crate now wraps Paho C v1.3.13, fixing several issues, including crashes on reconnect callbacks.
  • Made the C logs less verbose
  • #203 AsyncClient::server_uri() getter.
  • #202 Fix disconnect timeout (from sec to ms)

Version 0.12.2

12 Sep 21:23
Compare
Choose a tag to compare
  • #209 Forwarding trace/log statements from the Paho C library to the Rust logs
  • Minor cleanup of subscriber examples.

Version 0.12.1

20 Mar 19:50
Compare
Choose a tag to compare
  • #191 AsyncClient::get_stream() support unbounded channel
  • #194 Bumped bindgen to latest version, v0.64, in -sys crate
  • #193 Consumer notification when broker cleanly disconnects