From 3ec7e83e007544b57cad0c60111ca218bed8c388 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sat, 7 May 2022 16:38:12 +0200 Subject: [PATCH] Update changelog and version --- CHANGELOG.md | 17 +++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3b625..31689c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.2.0] + ### Added - Generic support for wrapping mutexes that implement the traits provided by the [`lock_api`][lock_api] crate. This can be used for creating support for other mutex providers that @@ -16,6 +18,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Simple benchmark to track the rough performance penalty incurred by dependency tracking. +### Breaking + +- The library now requires edition 2021. + +- The `Mutex`- and `RwLockGuards` now dereference to `T` rather than the lock guard they wrap. This + is technically a bugfix but can theoretically break existing code. + +- Self-cycles are no longer allowed for lock dependencies. They previously were because it usually + isn't a problem, but it can create RWR deadlocks with `RwLocks`. + ### Changed - The project now targets edition 2021 @@ -43,8 +55,9 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Initial release. -[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...HEAD -[0.1.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.1.2 +[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...HEAD +[0.2.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.2.0 +[0.1.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/bertptrs/tracing-mutex/releases/tag/v0.1.0 diff --git a/Cargo.toml b/Cargo.toml index e378f48..6dca9bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-mutex" -version = "0.1.2" +version = "0.2.0" authors = ["Bert Peters "] edition = "2021" license = "MIT OR Apache-2.0"