diff --git a/CHANGELOG.md b/CHANGELOG.md index 987fb3f..f059924 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,20 @@ # Change Log -# for Eclipse Paho Rust Library +# Eclipse Paho Rust + 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.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 +- New client functions to stop consuming/streaming and to remove callbacks. +- Started a README for the -sys crate. +- Fixed a bunch of lints. Clippy report is clean. +- [#152](https://github.com/eclipse/paho.mqtt.rust/issues/152) Consumer won't panic when the receiver drops. +- [#113](https://github.com/eclipse/paho.mqtt.rust/issues/113) Build now respects the OPENSSL_STATIC flag (if OPENSSL_DIR or other path flags set). +- [#145](https://github.com/eclipse/paho.mqtt.rust/issues/145) `impl From for io::Error` An MQTT error can be easily converted back to an I/O error. + ## [v0.10.0](https://github.com/eclipse/paho.mqtt.rust/compare/v0.9.1..v0.10.0) - 2021-01-25 - Updated to support Paho C v1.3.9 diff --git a/Cargo.toml b/Cargo.toml index cbb1867..ff78738 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paho-mqtt" -version = "0.10.0" +version = "0.11.0" edition = "2018" authors = ["Frank Pagliughi "] homepage = "https://github.com/eclipse/paho.mqtt.rust" @@ -21,7 +21,7 @@ ssl = ["paho-mqtt-sys/ssl"] vendored-ssl = ["paho-mqtt-sys/vendored-ssl"] [dependencies] -paho-mqtt-sys = { version = "0.6", path = "paho-mqtt-sys", default-features=false } +paho-mqtt-sys = { version = "0.7", path = "paho-mqtt-sys", default-features=false } libc = "0.2" futures = "0.3" futures-timer = "3.0" diff --git a/README.md b/README.md index 0e09d40..0f968d7 100644 --- a/README.md +++ b/README.md @@ -40,32 +40,21 @@ To keep up with the latest announcements for this project, follow: **Mattermost:** [Eclipse Mattermost Paho Channel](https://mattermost.eclipse.org/eclipse/channels/paho) -### Unreleased Features in This Branch +### What's new in v0.11.0 - Updated to support Paho C v1.3.10 +- New client functions to stop consuming/streaming and to remove callbacks. +- Started a README for the -sys crate. +- Fixed a bunch of lints. Clippy report is clean. +- [#152](https://github.com/eclipse/paho.mqtt.rust/issues/152) Consumer won't panic when the receiver drops. - [#113](https://github.com/eclipse/paho.mqtt.rust/issues/113) Build now respects the OPENSSL_STATIC flag (if OPENSSL_DIR or other path flags set). - [#145](https://github.com/eclipse/paho.mqtt.rust/issues/145) `impl From for io::Error` An MQTT error can be easily converted back to an I/O error. - -### What's new in v0.10.0 - -- Updated to support Paho C v1.3.9 -- Switched consumers/streams to use crossbeam channels and async_channel's, respectively. -- Added a `TopicFilter` type to match topics against an individual filter (typically containing wildcards). -- Added a `TopicMatcher` collection to iterate through a set of matching topic filters, such as to match callbacks to specific filters. -- _Finally_ ran `rustfmt` on source files. -- Fixed MQTT v5 topic alias support. -- [#118](https://github.com/eclipse/paho.mqtt.rust/issues/118) Added `CreateOptionsBuilder::send_while_disconnected(bool)` and detached the behavior somewhat from `max_buffered_messages()`. Now, setting the buffer size to a non-zero value will _not_ enable off-line buffering. -- [#120](https://github.com/eclipse/paho.mqtt.rust/issues/120), [#121](https://github.com/eclipse/paho.mqtt.rust/pull/121) Fixed `subscribe_many_with_options()` outbound opts. -- [#122](https://github.com/eclipse/paho.mqtt.rust/pull/122) Some _clippy_-recommended fixes -- [#139](https://github.com/eclipse/paho.mqtt.rust/issues/139) Added a `SyncClient` struct for repeated publishing to the synchronous client. -- [#140](https://github.com/eclipse/paho.mqtt.rust/issues/140) The MQTT protocol version used to create the client is now the default for connecting. - ## Using the Crate To use the library, simply add this to your application's `Cargo.toml` dependencies list: - paho-mqtt = "0.10" + paho-mqtt = "0.11" By default it enables the features "bundled" and "ssl" meaning it will attempt to compile the Paho C library for the target, using the pre-built bindings, and will enable secure sockets capabilities. diff --git a/paho-mqtt-sys/Cargo.toml b/paho-mqtt-sys/Cargo.toml index 83fb561..e621e94 100644 --- a/paho-mqtt-sys/Cargo.toml +++ b/paho-mqtt-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paho-mqtt-sys" -version = "0.6.0" +version = "0.7.0" authors = ["Frank Pagliughi "] homepage = "https://github.com/eclipse/paho.mqtt.rust" repository = "https://github.com/eclipse/paho.mqtt.rust" diff --git a/src/lib.rs b/src/lib.rs index 42e11ab..b902c19 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ // /******************************************************************************* - * Copyright (c) 2017-2020 Frank Pagliughi + * Copyright (c) 2017-2022 Frank Pagliughi * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0