mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-25 20:50:32 +01:00
Expand changelog
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@@ -6,17 +6,26 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.3.0] - 2023-09-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- The minimum supported Rust version is now defined as 1.70. Previously it was undefined.
|
- The minimum supported Rust version is now defined as 1.70. Previously it was undefined.
|
||||||
- Wrappers for `std::sync` primitives can now be `const` constructed.
|
- Wrappers for `std::sync` primitives can now be `const` constructed.
|
||||||
- Add support for `std::sync::OnceLock`
|
- Add support for `std::sync::OnceLock`
|
||||||
- Added backtraces of mutex allocations to the cycle report.
|
- Added backtraces of mutex allocations to the cycle report. Capturing backtraces does incur some
|
||||||
|
overhead, this can be mitigated by disabling the `backtraces` feature which is enabled by default.
|
||||||
|
|
||||||
### Breaking
|
### Breaking
|
||||||
|
|
||||||
- Update [`parking_lot`][parking_lot] dependency to `0.12`.
|
- Update [`parking_lot`][parking_lot] dependency to `0.12`.
|
||||||
- Restructured the crate to reduce typename verbosity. For details, see: #25.
|
- Restructured the crate to reduce typename verbosity. Wrapper names now match the name of the
|
||||||
|
primitive they wrap. Specific always/debug tracing versions have now moved to separate modules.
|
||||||
|
For example, `tracing_mutex::stdsync::TracingMutex` is now
|
||||||
|
`tracing_mutex::stdsync::tracing::Mutex`, and `tracing_mutex::stdsync::DebugMutex` is now called
|
||||||
|
`tracing_mutex::stdsync::Mutex`. This hopefully reduces the visual noise while reading code that
|
||||||
|
uses this in practice. Unwrapped primitives are reexported under `tracing_mutex::stdsync::raw` for
|
||||||
|
convenience.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@@ -84,7 +93,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
Initial release.
|
Initial release.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.1...HEAD
|
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.3.0...HEAD
|
||||||
|
[0.3.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.1...v0.3.0
|
||||||
[0.2.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...v0.2.1
|
[0.2.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...v0.2.1
|
||||||
[0.2.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.2.0
|
[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.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.1...v0.1.2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tracing-mutex"
|
name = "tracing-mutex"
|
||||||
version = "0.2.1"
|
version = "0.3.0"
|
||||||
authors = ["Bert Peters <bert@bertptrs.nl>"]
|
authors = ["Bert Peters <bert@bertptrs.nl>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user