Skip to content

Commit a26eb6e

Browse files
committed
Bump version to v2.8.1
The v2.8.0 release accidentally broke compatibility by upgrading `erased_serde` to v0.3 to v0.4, which is used in the public slog API. This release fixes that issue. The v2.8.0 release has been yanked due to this compatibility issue.
1 parent 2107d2e commit a26eb6e

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
88

9-
- **[Fix]** Restore compatibility with `erased-serde` version `0.3`.
9+
## 2.8.1 - 2025-10-05
10+
This fixes an accidental breaking change in the v2.8.0 release,
11+
where the public API was changed from `erased_serde v0.4` to `erased_serde v0.3`.
12+
This should not affect normal users of the API but could break drains supporting `nested-values`.
13+
14+
I (@Techcable) apologize for this breakage and have yanked the 2.8.0 release due to this issue. I will try to setup [`cargo-semver-checks`] in the CI to avoid this in the future.
15+
16+
[`cargo-semver-checks`]: https://github.com/obi1kenobi/cargo-semver-checks
17+
18+
### Fixed
19+
- Restore compatibility with `erased-serde` version `0.3`.
1020
- Compatibility with `erased-serde` version `0.4` may be provided again in a
11-
future version.
12-
* Ensure compatibility with `-Zminimal-versions` flag by specifying minimal dependency versions (fixes #357)
21+
future version, but will be done so in a backwards compatible way.
22+
- Thanks to @demurgos for recognizing and fixing this in PR #359
23+
- Ensure compatibility with `-Zminimal-versions` flag by specifying minimal dependency versions (fixes #357)
1324
- Not (yet) tested in CI
1425

1526
## [2.8.0] - 2025-10-05

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "slog"
3-
version = "2.8.0"
3+
version = "2.8.1"
44
authors = ["Dawid Ciężarkiewicz <dpc@dpc.pw>"]
55
description = "Structured, extensible, composable logging for Rust"
66
keywords = ["log", "logging", "structured", "hierarchical"]

0 commit comments

Comments
 (0)