diff --git a/CHANGELOG.md b/CHANGELOG.md index f059924..daa78c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.11.1](https://github.com/eclipse/paho.mqtt.rust/compare/v0.11.0..v0.11.1) - 2021-05-03 + +- [#156](https://github.com/eclipse/paho.mqtt.rust/issues/156) Improvements to `TopicMatcher`: + - Doesn't require item type to implement `Default` trait + - Match iterator returns key/value tuple (not just value). +- [#154](https://github.com/eclipse/paho.mqtt.rust/pull/154) Add public interface to retrieve `client_id`. + + ## [v0.11.0](https://github.com/eclipse/paho.mqtt.rust/compare/v0.10.0..v0.11.0) - 2021-04-16 - Updated to support Paho C v1.3.10 diff --git a/Cargo.toml b/Cargo.toml index ff78738..7e02d40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paho-mqtt" -version = "0.11.0" +version = "0.11.1" edition = "2018" authors = ["Frank Pagliughi "] homepage = "https://github.com/eclipse/paho.mqtt.rust" diff --git a/README.md b/README.md index 0f968d7..cc9ceaa 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ To keep up with the latest announcements for this project, follow: **Mattermost:** [Eclipse Mattermost Paho Channel](https://mattermost.eclipse.org/eclipse/channels/paho) +### What's new in v0.11.1 + +- [#156](https://github.com/eclipse/paho.mqtt.rust/issues/156) Improvements to `TopicMatcher`: + - Doesn't require item type to implement `Default` trait + - Match iterator returns key/value tuple (not just value). +- [#154](https://github.com/eclipse/paho.mqtt.rust/pull/154) Add public interface to retrieve `client_id`. + ### What's new in v0.11.0 - Updated to support Paho C v1.3.10 diff --git a/src/topic_matcher.rs b/src/topic_matcher.rs index 1eb38c9..0ac88ee 100644 --- a/src/topic_matcher.rs +++ b/src/topic_matcher.rs @@ -273,7 +273,7 @@ mod tests { n * 2 })); - for (t, f) in matcher.matches("some/random/topic") { + for (_t, f) in matcher.matches("some/random/topic") { let n = f(2); assert_eq!(n, 4); }