Releases: maxfierke/ember-concurrency-retryable
Releases · maxfierke/ember-concurrency-retryable
1.0.0
Breaking Changes
- Drop support for ember-concurrency < 2.2.0
- Drop support for Node 10 (EOL)
- Drop support for < 3.16
- Drop support for wrapping tasks with
retryable
. Must use retryable
via decorator or .retryable()
on classic tasks.
0.9.1
- Support ember-concurrency 2.0.0-rc.1 and 2.0.0-rc.2+
0.9.0
Enhancements
- Support ember-concurrency v2 (in beta)
Removals
- Removed deprecated
enable
and disable
test helpers. Use enableTaskRetries
and disableTaskRetries
, respectively, instead.
0.8.0
Enhancements
- Remove unneeded
ember-cli-htmlbars
dependency
Removals
0.7.0
Enhancements
- Resets
retryCount
and lastError
after task instance successfully retries.
- Potentially breaking if you're accessing these properties outside of the context of a retry event or retry policy hook, but this is not really supported.
- Add
retriedSignal
yieldable for manually designating when a looping task has successfully retried. See documentation page on "Looping Tasks" for more details and caveats.
- Added
enableTaskRetries
and disableTaskRetries
helper functions for testing. Deprecated disable
and enable
.
Other
- Depends on ember-concurrency 1.0.0+
0.6.0
Bugfixes
- Fixes an off-by-one bug in the default
DelayPolicy
, which also affects ExponentialBackoffPolicy
. May be a potential breaking change for consumers of either class. The bug skipped the first delay and ended the policy by going over, effectively causing the last delay to be 1ms.
0.5.0
- Bumped
ember-cli-babel
dependency to the 7.x series.
- Dropped support for ember-cli < 2.18
v0.4.0
Features
- Added
retrying
and retried
events for tasks using .evented()
modifier
Bugfixes
- Fixed a bug where
didRetry
would be called multiple times for a task instance.
Documentation
- Moved docs from README to GitHub Pages
v0.3.1
Features
- Added
didError
and didRetry
hooks to retry policies
v0.3.0
Features
- Added
willRetry
hook to retry policies
Bugfixes
- Fixed typo in
defineModifier
export from module root.