From 42e98dc04115d406e6efa183ec107cddb4ae1a59 Mon Sep 17 00:00:00 2001 From: ryan kurte Date: Wed, 10 Jun 2020 14:22:41 +1200 Subject: [PATCH 1/2] Update cargo.toml, changelog for v1.0.0 release --- CHANGELOG.md | 14 ++++++++++++++ Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb5052718..011915a98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). + ## [Unreleased] +### Added + +### Changed + + +## [v1.0.0] - 2020-06-10 + +*** This is a breaking change (sorry) *** + ### Added - A nonblocking trait for interfacing with random number generation hardware. @@ -16,6 +26,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - All trait methods have been renamed `try_*` (i.e. `try_send`) for consistency. - The `Capture`, `Pwm`, `PwmPin` and `Qei` traits have been moved into their own `capture`, `pwm` and `qei` modules for consistency. +- Void has been replaced with `core::convert::Infallible` which should be used + in trait implementations where methods cannot fail. +- A new [process](https://github.com/rust-embedded/embedded-hal#how-to-add-a-new-trait) + has been adopted for the addition of traits to the embedded-hal. - The minimum supported Rust version is 1.35 due to [this issue](https://github.com/rust-lang/rust/issues/54973). ## [v0.2.3] - 2019-05-09 diff --git a/Cargo.toml b/Cargo.toml index 66cef8cb4..26ce7b5c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" name = "embedded-hal" readme = "README.md" repository = "https://github.com/rust-embedded/embedded-hal" -version = "0.2.3" +version = "1.0.0-alpha.1" [dependencies] nb = { version = "0.1.1", features = ["unstable"] } From 347abaf8e4be69d0ce78eaaa0d1a14630e9b1fb0 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Tue, 16 Jun 2020 02:50:10 +0200 Subject: [PATCH 2/2] Update CHANGELOG to fix organisation and added tags Signed-off-by: Daniel Egger --- CHANGELOG.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 011915a98..d5b14d86b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,14 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] -### Added - -### Changed - - -## [v1.0.0] - 2020-06-10 +## [v1.0.0-alpha.1] - 2020-06-16 -*** This is a breaking change (sorry) *** +*** This is an alpha release with breaking changes (sorry) *** ### Added - A nonblocking trait for interfacing with random number generation hardware. @@ -117,8 +112,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). Initial release -[Unreleased]: https://github.com/japaric/embedded-hal/compare/v0.2.1...HEAD -[v0.2.1]: https://github.com/japaric/embedded-hal/compare/v0.2.0...v0.2.1 -[v0.2.0]: https://github.com/japaric/embedded-hal/compare/v0.1.2...v0.2.0 -[v0.1.2]: https://github.com/japaric/embedded-hal/compare/v0.1.1...v0.1.2 -[v0.1.1]: https://github.com/japaric/embedded-hal/compare/v0.1.0...v0.1.1 +[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.1...HEAD +[v1.0.0-alpha.1]: https://github.com/rust-embedded/embedded-hal/compare/v0.2.3...v1.0.0-alpha.1 +[v0.2.3]: https://github.com/rust-embedded/embedded-hal/compare/v0.2.2...v0.2.3 +[v0.2.2]: https://github.com/rust-embedded/embedded-hal/compare/v0.2.1...v0.2.2 +[v0.2.1]: https://github.com/rust-embedded/embedded-hal/compare/v0.2.0...v0.2.1 +[v0.2.0]: https://github.com/rust-embedded/embedded-hal/compare/v0.1.2...v0.2.0 +[v0.1.2]: https://github.com/rust-embedded/embedded-hal/compare/v0.1.1...v0.1.2 +[v0.1.1]: https://github.com/rust-embedded/embedded-hal/compare/v0.1.0...v0.1.1