Skip to content

Commit 31e2809

Browse files
committed
add changelog
1 parent 3bc9b4c commit 31e2809

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [5.0.0] - 2024-12-19
9+
10+
### Added
11+
12+
- RetryAfterError can be returned from an operation to indicate how long to wait before the next retry.
13+
14+
### Changed
15+
16+
- Retry function now accepts additional options for specifying max number of tries and max elapsed time.
17+
- Retry function now accepts a context.Context.
18+
- Operation function signature changed to return result (any type) and error.
19+
20+
### Removed
21+
22+
- RetryNotify* and RetryWithData functions. Only single Retry function remains.
23+
- Optional arguments from ExponentialBackoff constructor.
24+
- Clock and Timer interfaces.
25+
26+
### Fixed
27+
28+
- The original error is returned from Retry if there's a PermanentError. (#144)
29+
- The Retry function respects the wrapped PermanentError. (#140)

0 commit comments

Comments
 (0)