Implemented a public API for Yieldables, a new way to instrument TaskInstances by providing a safe mechanism to implement custom waiters, hooks, introspection, and other operations from application code. (#413)
Ensure lastRunning resets one-by-one as tasks are completed, successfully
or not. (Fixes #403)
Expose lastValue decorator in TS definitions (Fixes #404)
2.0.1
Bugfixes
Prevent synchronous errors in cancelable promise helpers from being rethrown asynchronously later (#402, fixes #400. thanks @Turbo87 for flagging!)
Restore access to host context from encapsulated tasks (#401)
2.0.0
ember-concurrency 2.0 is primarily an "engine" replacement. Internally, its been substantially rewritten and decoupled from Ember at it's core. This will enable a much more maintainable codebase, as well as setting the stage for potential extraction of core primatives for us in the broader JavaScript ecosystem.
The application developer-facing changes are fairly minimal, and there are few potentially breaking semantic changes to the operation of the addon.
Please review the 2.0 Upgrade Guide for a thorough description of the changes for app and addon users alike.
Implemented a public API for Yieldables,
a new way to instrument TaskInstances by providing a safe mechanism to
implement custom waiters, hooks, introspection, and other operations from
application code. (#413)
Avoid applying task state updates out of order (#423, #426, fixes #422)
[docs] Document that @lastValue does not support chained property access (#429)
2.0.3
Remove runloop binding for perform and cancel-all helpers, preventing proper
instrumentation. (#414, fixes #409)
Fix incorrect import for deprecated private task-instance module alias (#411, thanks @mydea!)
Implement decorators from ember-concurrency-decorators. The "nice" decorators
from ember-concurrency-decorators are now built-in to ember-concurrency, without
requiring an additional addon or seperate import. All decorators are available for
import directly from the top-level ember-concurrency package.
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 2.1.2.
Release notes
Sourced from ember-concurrency's releases.
... (truncated)
Changelog
Sourced from ember-concurrency's changelog.
... (truncated)
Commits
d613026
Release 2.1.22881712
Add changelog entry for 2.1.23cba8c1
Add changelog entry for 2.1.1879509a
Merge pull request #434 from machty/mf-encapsulated_task_proxy_thisc2fca59
Expose TaskInstance state inside encapsulated tasksa7223c0
Merge pull request #431 from machty/dependabot/npm_and_yarn/ws-5.2.31bead7f
Bump ws from 5.2.2 to 5.2.305cb46b
Merge pull request #432 from machty/dependabot/npm_and_yarn/handlebars-3.0.8331d783
Bump handlebars from 3.0.7 to 3.0.8893669c
Merge pull request #430 from alexlafroscia/embroider-test-setupDependabot 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)