-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16f3f46
commit 0435a2f
Showing
4 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
## Migrating from v1 to v2 | ||
If you are migrating across a major version, be aware of the following breaking changes: | ||
|
||
If you are migrating from v1 to v2, be aware of the following breaking changes: | ||
## Migrating from v1 to v2 | ||
|
||
- The first argument of `backOff<T>` is now just the function you want to backoff. The `retry` function is still available as a property of `IBackOffOptions`. | ||
|
||
- The default value for the `delayFirstAttempt` option is now `false`. | ||
|
||
## Migrating from v2 to v3 | ||
|
||
- The `jitter` option now uses a union string type for easier configurability. The `JitterTypes` enum is no longer available. | ||
|
||
That's all folks! |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters