Update dependency ember-concurrency to v4 #2566
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.0
->4.0.4
Release Notes
machty/ember-concurrency (ember-concurrency)
v4.0.4
Compare Source
ember-source
and@glimmer/tracking
from peerDependencies (#586)v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
(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')}}
v3.1.1
Compare Source
v3.1.0
Compare Source
v3.0.0
Compare Source
v2.3.7
Compare Source
v2.3.6
Compare Source
v2.3.5
Compare Source
v2.3.4
Compare Source
v2.3.3
Compare Source
dropTask
,restartableTask
, and others (#486)v2.3.2
Compare Source
this
param, e.g.myTask = task(async () => {})
(#477)v2.3.1
Compare Source
v2.3.0
Compare Source
myTask = task(this, { drop: true }, async (arg: string) => {})
. This new APIsidesteps the vast majority of TypeScript issues that plagued past decorators- and generators-
based APIs. All prior APIs are still supported, but users are strongly recommended
to migrate to the new API. Recommended steps:
app/
oraddon/
folders that are using Ember Concurrency tasks@task
decorator based APIs to the new async-arrow fnnpx machty-ember-concurrency-codemods async-arrow-task app/**/*.ts app/**/*.js
ember-concurrency-ts
, run the following codemod to removetaskFor()
npx machty-ember-concurrency-codemods rm-ember-concurrency-ts app/**/*.ts app/**/*.js
ember-concurrency-ts
andember-concurrency-async
packages are no longer neededand can be removed
a number of less commonly used features
v2.2.1
Compare Source
onState
task modifier andTaskFactory#setOnState
(#449, fixed #447. Thanks @johanrd for the heads up!)v2.2.0
Compare Source
providing a way for users to define additional modifiers and behavior in
application code. (#441) Please consider the
TaskProperty
prototype extension method of implementing task modifiers to be deprecated
in favor of the
registerModifier
API.onError
parameter toperform
helper to allow UI-triggered tasks tospecify alternative or null error handlers (#443, fixes #435. Thanks
@lolmaus for the discussion)
run.once
(#442, fixes #437. Thanks @stefanpenner forthe heads up!)
v2.1.2
Compare Source
v2.1.1
Compare Source
TaskInstance
state inside encapsulated tasks (#434)v2.1.0
Compare Source
a new way to instrument TaskInstances by providing a safe mechanism to
implement custom waiters, hooks, introspection, and other operations from
application code. (#413)
@lastValue
does not support chained property access (#429)v2.0.3
Compare Source
perform
andcancel-all
helpers, preventing properinstrumentation. (#414, fixes #409)
task-instance
module alias (#411, thanks @mydea!)v2.0.2
Compare Source
lastRunning
resets one-by-one as tasks are completed, successfullyor not. (Fixes #403)
lastValue
decorator in TS definitions (Fixes #406)v2.0.1
Compare Source
rethrown asynchronously later (#402, fixes #400. thanks @Turbo87 for flagging!)
v2.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.