diff --git a/README.md b/README.md index 3ed44c5..80fb73b 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,14 @@ slightly similar as this package, don't have 'simple' `Retry` method * [matryer/try](https://github.com/matryer/try) - very popular package, nonintuitive interface (for me) -BREAKING CHANGES 3.0.0 * `DelayTypeFunc` accepts a new parameter `err` - this -breaking change affects only your custom Delay Functions. This change allow -[make delay functions based on error](examples/delay_based_on_error_test.go). + +### BREAKING CHANGES + +3.0.0 + +* `DelayTypeFunc` accepts a new parameter `err` - this breaking change affects +only your custom Delay Functions. This change allow [make delay functions based +on error](examples/delay_based_on_error_test.go). 1.0.2 -> 2.0.0 diff --git a/retry.go b/retry.go index ea778f3..af2d926 100644 --- a/retry.go +++ b/retry.go @@ -43,8 +43,11 @@ SEE ALSO * [matryer/try](https://github.com/matryer/try) - very popular package, nonintuitive interface (for me) + BREAKING CHANGES + 3.0.0 + * `DelayTypeFunc` accepts a new parameter `err` - this breaking change affects only your custom Delay Functions. This change allow [make delay functions based on error](examples/delay_based_on_error_test.go).