go-resiliency v1.7.0 Release Notes
Release Date: 2024-07-19 // about 2 years ago-
- โ Adds
Retrier.WithSurfaceWorkErrors()to ask the Retrier to always return the work function's error even if a context deadline is hit (thanks to Elizabeth Cox).
- โ Adds
Previous changes from v1.6.0
-
- โ Adds
Breaker.GetState()to check the breaker state directly (e.g. for monitoring metrics). - ๐ Fix a race condition in the Batcher that could have lead to a panic if multiple batches ended up executing at once (thanks to Tiago Peczenyj for the discovery and very clear bug report).
- ๐ Fix
Batcher.Shutdown()to behave correctly when multiple batches end up executing at once. - ๐จ A variety of small refactors, simplifications, and test suite improvements.
- โ Adds