From 4c66a1cefebd44ec2487f2533f658c7244c9357a Mon Sep 17 00:00:00 2001 From: KodrAus Date: Thu, 24 Dec 2020 09:07:48 +1000 Subject: [PATCH] prepare for 0.4.12 release --- CHANGELOG.md | 18 +++++++++++++++++- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa8be0c5..71478da36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ ## [Unreleased] +## [0.4.12] - 2020-12-24 + +### New + +* Support platforms without atomics by racing instead of failing to compile +* Implement `Log` for `Box` +* Update `cfg-if` to `1.0` +* Internal reworks of the structured logging API. Removed the `Fill` API +and added `source::as_map` and `source::as_list` to easily serialize a `Source` +as either a map of `{key: value, ..}` or as a list of `[(key, value), ..]`. + +### Fixed + +* Fixed deserialization of `LevelFilter` to use their `u64` index variants + ## [0.4.11] - 2020-07-09 ### New @@ -170,7 +185,8 @@ version using log 0.4.x to avoid losing module and file information. Look at the [release tags] for information about older releases. -[Unreleased]: https://github.com/rust-lang-nursery/log/compare/0.4.11...HEAD +[Unreleased]: https://github.com/rust-lang-nursery/log/compare/0.4.12...HEAD +[0.4.12]: https://github.com/rust-lang-nursery/log/compare/0.4.11...0.4.12 [0.4.11]: https://github.com/rust-lang-nursery/log/compare/0.4.10...0.4.11 [0.4.10]: https://github.com/rust-lang-nursery/log/compare/0.4.9...0.4.10 [0.4.9]: https://github.com/rust-lang-nursery/log/compare/0.4.8...0.4.9 diff --git a/Cargo.toml b/Cargo.toml index 741ffbd22..a82766344 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "log" -version = "0.4.11" # remember to update html_root_url +version = "0.4.12" # remember to update html_root_url authors = ["The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/src/lib.rs b/src/lib.rs index 2edcdf31c..4600979c9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -266,7 +266,7 @@ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", html_favicon_url = "https://www.rust-lang.org/favicon.ico", - html_root_url = "https://docs.rs/log/0.4.11" + html_root_url = "https://docs.rs/log/0.4.12" )] #![warn(missing_docs)] #![deny(missing_debug_implementations)]