diff --git a/CHANGELOG.md b/CHANGELOG.md index de418f58..861c8068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.2.2] - 2021-05-20 + +- [#446] Add usage examples for `Debug2Format`, `Display2Format` +- [#464] `impl Format for {*const, *mut} T where T: Format + ?Sized` +- [#472] `impl Format for` the core::{iter, ops, slice} structs +- [#473] `impl Format for` all the `Cow`s +- [#477] Disable logging calls via conditional compilation when all defmt features are disabled +- [#478] add `dbg!` macro + +[#446]: https://github.com/knurling-rs/defmt/pull/446 +[#464]: https://github.com/knurling-rs/defmt/pull/464 +[#472]: https://github.com/knurling-rs/defmt/pull/472 +[#473]: https://github.com/knurling-rs/defmt/pull/473 +[#477]: https://github.com/knurling-rs/defmt/pull/477 +[#478]: https://github.com/knurling-rs/defmt/pull/478 + ## [v0.2.1] - 2021-03-08 ### Added @@ -223,7 +239,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). Initial release -[Unreleased]: https://github.com/knurling-rs/defmt/compare/defmt-v0.2.0...main +[Unreleased]: https://github.com/knurling-rs/defmt/compare/defmt-v0.2.2...main +[v0.2.2]: https://github.com/knurling-rs/defmt/compare/defmt-v0.2.1...defmt-v0.2.2 [v0.2.1]: https://github.com/knurling-rs/defmt/compare/defmt-v0.2.0...defmt-v0.2.1 [v0.2.0]: https://github.com/knurling-rs/defmt/compare/defmt-v0.1.3...defmt-v0.2.0 [v0.1.3]: https://github.com/knurling-rs/defmt/compare/defmt-v0.1.2...defmt-v0.1.3 diff --git a/Cargo.toml b/Cargo.toml index e9725c6f..e8cbd63a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ name = "defmt" readme = "README.md" repository = "https://github.com/knurling-rs/defmt" homepage = "https://knurling.ferrous-systems.com/" -version = "0.2.1" +version = "0.2.2" [features] alloc = [] @@ -19,7 +19,7 @@ alloc = [] unstable-test = ["defmt-macros/unstable-test"] [dependencies] -defmt-macros = { path = "macros", version = "0.2.0" } +defmt-macros = { path = "macros", version = "0.2.1" } [dev-dependencies] rustc_version = "0.3.3" diff --git a/firmware/defmt-test/CHANGELOG.md b/firmware/defmt-test/CHANGELOG.md index e6c14452..c55abfae 100644 --- a/firmware/defmt-test/CHANGELOG.md +++ b/firmware/defmt-test/CHANGELOG.md @@ -2,6 +2,12 @@ (no changes) +# [v0.2.3] + +- [#441] Support more items in `#[tests]` modules + +[#441]: https://github.com/knurling-rs/defmt/pull/441 + # [v0.2.2] - [#436] `README.md`: Remove outdated setup steps @@ -36,7 +42,8 @@ Initial release. -[Unreleased]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.2.1...main +[Unreleased]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.2.3...main +[v0.2.3]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.2.2...defmt-test-v0.2.3 [v0.2.2]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.2.1...defmt-test-v0.2.2 [v0.2.1]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.2.0...defmt-test-v0.2.1 [v0.2.0]: https://github.com/knurling-rs/defmt/compare/defmt-test-v0.1.1...defmt-test-v0.2.0 diff --git a/firmware/defmt-test/Cargo.toml b/firmware/defmt-test/Cargo.toml index 53371ef6..59b47c2a 100644 --- a/firmware/defmt-test/Cargo.toml +++ b/firmware/defmt-test/Cargo.toml @@ -8,13 +8,13 @@ license = "MIT OR Apache-2.0" name = "defmt-test" readme = "README.md" repository = "https://github.com/knurling-rs/defmt" -version = "0.2.2" +version = "0.2.3" [dependencies] cortex-m = "0.7.2" -cortex-m-rt = "0.6.13" -defmt = { version = "0.2.1", path = "../.." } -defmt-test-macros = { version = "=0.2.0", path = "macros" } +cortex-m-rt = "0.6.14" +defmt = { version = "0.2.2", path = "../.." } +defmt-test-macros = { version = "=0.2.1", path = "macros" } [features] defmt-default = [] diff --git a/firmware/defmt-test/macros/Cargo.toml b/firmware/defmt-test/macros/Cargo.toml index 7002aacd..8cec3211 100644 --- a/firmware/defmt-test/macros/Cargo.toml +++ b/firmware/defmt-test/macros/Cargo.toml @@ -7,12 +7,12 @@ license = "MIT OR Apache-2.0" name = "defmt-test-macros" readme = "../README.md" repository = "https://github.com/knurling-rs/defmt" -version = "0.2.0" +version = "0.2.1" [lib] proc-macro = true [dependencies] -proc-macro2 = "1.0.26" +proc-macro2 = "1.0.27" quote = "1.0.9" -syn = { version = "1.0.71", features = ["extra-traits", "full"] } +syn = { version = "1.0.72", features = ["extra-traits", "full"] } diff --git a/macros/Cargo.toml b/macros/Cargo.toml index fe1fa4f3..b6ecfa72 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0" name = "defmt-macros" readme = "../README.md" repository = "https://github.com/knurling-rs/defmt" -version = "0.2.0" +version = "0.2.1" [lib] proc-macro = true @@ -18,9 +18,6 @@ unstable-test = [] [dependencies] defmt-parser = { path = "../parser", features = ["unstable"], version = "=0.2.0" } +proc-macro2 = "1.0.27" quote = "1.0.9" -proc-macro2 = "1.0.26" - -[dependencies.syn] -features = ["full"] -version = "1.0.71" +syn = { version = "1.0.72", features = ["full"] }