Add animationFrame yieldable helper. Yielding animationFrame() will
pause a task until after the next animation frame using the native
requestAnimationFrame() browser API.
Note: ember-concurrency tasks are scheduled on the runloop, so this will
not cause the remainder of the task to instead run during the next animation
frame, but the runloop after the next animation frame. (#365, thanks @Turbo87!)
Add hashSettled helper for cancellation-aware implementation of RSVP's hashSettled (#353, thanks @kwliou!)
Bugfixes
Add missing types for linked() and unlinked() (Fixes #373)
Deprecations
Deprecate direct usage of task with action helper and disable tests for it
on 3.20+.
This feature unfortunately depends on private APIs that will be removed in
Ember 3.25. Unfortunately, the mechanism was already removed in Ember 3.20,
making it impossible to support this for releases at least until recent
canaries where it was re-introduced with a deprecation. However, the feature
is rarely used, only documented in this changelog, and frequently breaks
whenever the private constant it depends on moves modules internally
throughout new versions of Ember.
It will continue to remain available for Ember < 3.20, but will not be
available in Ember-Concurrency 2.0, and will show a deprecation warning from
1.3.0 forward.
Any existing uses can be converted to using {{perform}} directly or
wrapping the task in (perform) before passing to {{action}} or {{fn}}
Add animationFrame yieldable helper. Yielding animationFrame() will
pause a task until after the next animation frame using the native
requestAnimationFrame() browser API.
Note: ember-concurrency tasks are scheduled on the runloop, so this will
not cause the remainder of the task to instead run during the next animation
frame, but the runloop after the next animation frame.
Add hashSettled helper for cancellation-aware implementation of RSVP's hashSettled (#353, thanks @kwliou!)
Add missing types for linked() and unlinked() (#373)
Deprecate direct usage of task with action helper and disable tests for it
on 3.20+.
This feature unfortunately depends on private APIs that will be removed in
Ember 3.25. Unfortunately, the mechanism was already removed in Ember 3.20,
making it impossible to support this for releases at least until recent
canaries where it was re-introduced with a deprecation. However, the feature
is rarely used, only documented in this changelog, and frequently breaks
whenever the private constant it depends on moves modules internally
throughout new versions of Ember.
It will continue to remain available for Ember < 3.20, but will not be
available in Ember-Concurrency 2.0, and will show a deprecation warning from
1.3.0 forward.
Any existing uses can be converted to using {{perform}} directly or
wrapping the task in (perform) before passing to {{action}} or {{fn}}
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps ember-concurrency from 1.1.3 to 1.3.0.
Release notes
Sourced from ember-concurrency's releases.
Changelog
Sourced from ember-concurrency's changelog.
Commits
ac4f6d8
Release 1.3.007af6a2
Add changelog for 1.3.062c0890
Merge pull request #365 from Turbo87/rafb76e60d
Add tests foranimationFrame()
b3a1428
ImplementanimationFrame()
yieldable3b72a27
Merge pull request #373 from machty/mf-missing_typese4abc49
Merge pull request #369 from machty/dependabot/npm_and_yarn/lodash.defaultsde...5558cd7
Merge pull request #371 from machty/dependabot/npm_and_yarn/http-proxy-1.18.11f358e5
Add types for linked() and unlinked()cbb691b
Add types for hashSettledDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)