(Not really an enhancement, but) users are encouraged to directly use a task's bound .perform method (and curry with fn helper if needed) rather than to use the classic perform helper, which doesn't really add much value anymore
That said, all 3 of Ember's helpers, including perform are now directly importable within .gts/.gjs files.
Breaking Changes
Ember Concurrency's Babel transform needs to be manually registered as a Babel plugin. See upgrade docs
The guides have been updated to reflect modern/best practices:
Instead of using the (perform) helper, it is now recommended that the bound .perform() method on each Task be directly invoked in the template, e.g. {{on "click" this.myTask.perform}}, or, when arguments are present, {{on "click" (fn this.myTask.perform 123 'foo')}}
Glint template registry has been provided for EC's 3 helpers.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps ember-concurrency from 3.1.1 to 4.0.1.
Release notes
Sourced from ember-concurrency's releases.
Changelog
Sourced from ember-concurrency's changelog.
Commits
400f72b
Release 4.0.1d903873
4.0.1 changelog9504e55
Update task-public-api.js to include note about required Babel transform for ...9bab039
add migration section for ember-engines (#568)aed2ae1
Simplify ts snippets by using the same import statements for `import Componen...2583190
Update basic-example.ts to use public import location (#566)8e0c037
Added required config to readme (#563)37cea72
Release 4.0.0ebf19e7
v4 changelogfbe0b86
Add Glint / template import docs (#561)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 show