Note: I will occasionally bump the minimum required Golang version without bumping the major version of this package, which violates the official Golang packaging convention around breaking changes. Typically the versions being dropped are multiple years old and long unsupported.
- Increased minimum Golang version to 1.13.
- Fix a goroutine leak in
Deadline.Run()
onErrTimeOut
. - Add a
go.mod
file to conform to more recent Golang version standards. - Use
errors.Is
when classifying errors for theRetrier
(thanks to Taufik Rama). - Add implementation of
LimitedExponentialBackoff
for theRetrier
(thanks to tukeJonny).
- Increased minimum Golang version to 1.7.
- Add
RunCtx
method onRetrier
to support running with a context. - Ensure the
Retrier
's use of random numbers is concurrency-safe. - Bump CI to ensure we support newer Golang versions.
- Improve documentation and fix some typos.
- Bump CI to ensure we support newer Golang versions.
- Add
IsEmpty()
method onSemaphore
.
Initial release.