Skip to content

Commit 0ba452d

Browse files
authored
exp: Release v0.3.0 (#1465)
Updates the CHANGELOG of exp to prepare for a new release based on changes made to this directory since the last release. I think I got all user-facing changes, but feel free to tweak.
1 parent ede8e18 commit 0ba452d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

exp/CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file.
33

44
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## 0.3.0 - 22 Oct 2024
7+
8+
Breaking changes:
9+
* [#1339][]: zapslog: Drop `HandlerOptions` in favor of `HandlerOption`,
10+
which uses the functional options pattern.
11+
* [#1339][]: zapslog: Rename `AddSource` option to `WithCaller`.
12+
13+
Enhancements:
14+
* [#1339][]: zapslog: Record stack traces for error logs or higher.
15+
The new `AddStackAt` option changes this level.
16+
17+
Bug fixes:
18+
* [#1344][], [#1408][]: zapslog: Comply fully with `slog.Handler` contract.
19+
This includes ignoring empty `Attr`s, inlining `Group`s with empty names,
20+
and omitting groups with no attributes.
21+
22+
[#1344]: https://github.com/uber-go/zap/pull/1344
23+
[#1339]: https://github.com/uber-go/zap/pull/1339
24+
[#1408]: https://github.com/uber-go/zap/pull/1408
25+
26+
Thanks to @zekth and @arukiidou for their contributions to this release.
27+
628
## 0.2.0 - 9 Sep 2023
729

830
Breaking changes:

0 commit comments

Comments
 (0)