Name: js-handler/node_modules/restify/node_modules/backoff/CHANGES.md
| 1: | # Changelog |
| 2: | |
| 3: | ## 2.2.0 |
| 4: | |
| 5: | - To match `Backoff` default behavior, `FunctionCall` no longer sets a |
| 6: | default failAfter of 5, i.e. the maximum number of backoffs is now |
| 7: | unbounded by default. |
| 8: | |
| 9: | ## 2.1.0 |
| 10: | |
| 11: | - `Backoff.backoff` now accepts an optional error argument that is re-emitted |
| 12: | as the last argument of the `backoff` and `fail` events. This provides some |
| 13: | context to the listeners as to why a given backoff operation was attempted. |
| 14: | - The `backoff` event emitted by the `FunctionCall` class now contains, as its |
| 15: | last argument, the error that caused the backoff operation to be attempted. |
| 16: | This provides some context to the listeners as to why a given backoff |
| 17: | operation was attempted. |
| 18: | |
| 19: | ## 2.0.0 |
| 20: | |
| 21: | - `FunctionCall.call` renamed into `FunctionCall.start`. |
| 22: | - `backoff.call` no longer invokes the wrapped function on `nextTick`. That |
| 23: | way, the first attempt is not delayed until the end of the current event |
| 24: | loop. |
| 25: | |
| 26: | ## 1.2.1 |
| 27: | |
| 28: | - Make `FunctionCall.backoffFactory` a private member. |
| 29: | |
| 30: | ## 1.2.0 |
| 31: | |
| 32: | - Add `backoff.call` and the associated `FunctionCall` class. |
| 33: | |
| 34: | ## 1.1.0 |
| 35: | |
| 36: | - Add a `Backoff.failAfter`. |
| 37: | |
| 38: | ## 1.0.0 |
| 39: | |
| 40: | - Rename `start` and `done` events `backoff` and `ready`. |
| 41: | - Remove deprecated `backoff.fibonnaci`. |
| 42: | |
| 43: | ## 0.2.1 |
| 44: | |
| 45: | - Create `backoff.fibonacci`. |
| 46: | - Deprecate `backoff.fibonnaci`. |
| 47: | - Expose fibonacci and exponential strategies. |
| 48: | |
| 49: | ## 0.2.0 |
| 50: | |
| 51: | - Provide exponential and fibonacci backoffs. |
| 52: | |
| 53: | ## 0.1.0 |
| 54: | |
| 55: | - Change `initialTimeout` and `maxTimeout` to `initialDelay` and `maxDelay`. |
| 56: | - Use fibonnaci backoff. |
