Skip to content

Commit e50cb05

Browse files
kookseecursoragent
andcommitted
chore(release): prepare v2.0.5
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7b0ee73 commit e50cb05

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.version/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.0.4
1+
v2.0.5

.version/changelog/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.5] - 2026-06-25
11+
12+
### Added
13+
- `errors`: `GetTags`, `CollectTags`, `CollectUserTags`, `FormatChain`, `FullMessage`, `MarshalError`, `Walk`, and `RootCause`
14+
- `errors/errcode`: `RegisterErrCode`, `MustRegisterErrCode`, `LookupErrCode`, and package README
15+
- `log`: `Err()` now emits `error_chain` and `error_tags` automatically
16+
- `result`: `Message()` and `Tags()` helpers on `Error`
17+
18+
### Changed
19+
- `errors`: `ErrJsonify` now expands the full unwrap chain; `WrapStack` no longer prints to stderr; `JsonPrint` returns nil instead of panicking on marshal failure
20+
- `errors`: tag maps are cloned on create/wrap to avoid accidental mutation
21+
- `result`: `String()` uses the formatted error chain for clearer output
22+
- `errors/errcode`: `NewCodeErrWithMsg` preserves caller casing instead of using `strings.ToTitle`
23+
24+
### Fixed
25+
- `errors/errcode`: `ErrCode.As` correctly extracts `*ErrCode` and `*errorpb.ErrCode`
26+
- `errors/errcode`: duplicate registration panic message now reports the conflicting name
27+
- `errors`: `Unwrap` falls back to the standard library unwrap behavior
28+
1029
## [2.0.4] - 2026-06-17
1130

1231
### Added

0 commit comments

Comments
 (0)