You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,6 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
## [6.0.0] - 2026-02-21
9
-
10
-
### Changed
11
-
12
-
-`Retry` now returns `errors.Join(context.Cause(ctx), lastErr)` when the context is cancelled, instead of returning only the context error. This ensures the last operation error is always available to the caller.
13
-
-`Retry` now returns `errors.Join(context.DeadlineExceeded, lastErr)` when `WithMaxElapsedTime` is exceeded, instead of returning only the operation error. This makes timeout behaviour consistent regardless of whether the deadline comes from the context or `WithMaxElapsedTime`. (#181)
14
-
15
-
See [`ExampleRetry_outcomes`](example_test.go) for how to inspect the different error outcomes.
0 commit comments