Releases: safwank/ElixirRetry
Releases · safwank/ElixirRetry
v0.11.0
- Deprecate
exp_backoff
and lin_backoff
in favor of exponential_backoff
and linear_backoff
(thanks @bamorim for the bug report)
- Add Elixir 1.7 support
- Doc updates (thanks @skateinmars)
v0.10.0
BREAKING CHANGES
- Change
wait-then-else
to wait-after-else
- Introduce
retry-after-else
- Both macros now include
- the result in the
after
clause
- the error in the
else
clause
v0.9.0
Allow other atoms or atom-result tuples to be retried, courtesy of @rawkode.
v0.8.2
Allow rescue_only
to be a runtime list, thanks to @jvoegele's PR.
v0.8.1
Make with
option mandatory again.
v0.8
- Consolidate whitelisted exceptions as an option
- Tests now run faster
- Phase out support for Elixir 1.3 and include 1.5
Credit to @fredwu for the PR.
v0.7
Now you can retry on a custom list of exceptions by specifying a list of errors as the first argument to the retry
macro.
Thanks @neerfri for the contribution.
v0.6.1
- Add
initial_delay
support to exp_backoff
stream
- Fix a number of Elixir 1.4 warnings
v0.6
Introducing a new wait-then-else
macro that simplifies asynchronous workflows.
This release also introduces a couple of breaking changes
- For simplicity, the
wait
macro no longer takes the with
key for the delay stream.
- The old, non-composable
retry
and backoff
macros have been retired in favor of the newer composable counterparts.