Skip to content

Commit 1fe44d0

Browse files
committed
Expand changelog
1 parent c9083c8 commit 1fe44d0

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,26 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
## [0.3.0] - 2023-09-09
10+
911
### Added
1012

1113
- The minimum supported Rust version is now defined as 1.70. Previously it was undefined.
1214
- Wrappers for `std::sync` primitives can now be `const` constructed.
1315
- Add support for `std::sync::OnceLock`
14-
- Added backtraces of mutex allocations to the cycle report.
16+
- Added backtraces of mutex allocations to the cycle report. Capturing backtraces does incur some
17+
overhead, this can be mitigated by disabling the `backtraces` feature which is enabled by default.
1518

1619
### Breaking
1720

1821
- Update [`parking_lot`][parking_lot] dependency to `0.12`.
19-
- Restructured the crate to reduce typename verbosity. For details, see: #25.
22+
- Restructured the crate to reduce typename verbosity. Wrapper names now match the name of the
23+
primitive they wrap. Specific always/debug tracing versions have now moved to separate modules.
24+
For example, `tracing_mutex::stdsync::TracingMutex` is now
25+
`tracing_mutex::stdsync::tracing::Mutex`, and `tracing_mutex::stdsync::DebugMutex` is now called
26+
`tracing_mutex::stdsync::Mutex`. This hopefully reduces the visual noise while reading code that
27+
uses this in practice. Unwrapped primitives are reexported under `tracing_mutex::stdsync::raw` for
28+
convenience.
2029

2130
### Fixed
2231

@@ -84,7 +93,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8493

8594
Initial release.
8695

87-
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.1...HEAD
96+
[Unreleased]: https://github.com/bertptrs/tracing-mutex/compare/v0.3.0...HEAD
97+
[0.3.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.1...v0.3.0
8898
[0.2.1]: https://github.com/bertptrs/tracing-mutex/compare/v0.2.0...v0.2.1
8999
[0.2.0]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.2...v0.2.0
90100
[0.1.2]: https://github.com/bertptrs/tracing-mutex/compare/v0.1.1...v0.1.2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-mutex"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Bert Peters <[email protected]>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)