skylines icon indicating copy to clipboard operation
skylines copied to clipboard

Update dependency ember-concurrency to v2

Open renovate[bot] opened this issue 3 years ago • 0 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ember-concurrency 1.3.0 -> 2.3.7 age adoption passing confidence

Release Notes

machty/ember-concurrency

v2.3.7

Compare Source

  • Mention native class requirement in un-transpiled task() error (#​494)

v2.3.6

Compare Source

  • Additional fix for Babel transpiler conflict with ember-cli-code-coverage / istanbul (#​492)

v2.3.5

Compare Source

  • Fix Babel transpiler conflict with ember-cli-code-coverage (#​490)

v2.3.4

Compare Source

  • Bugfix: observers stopped working in 2.3.0+ (#​487)

v2.3.3

Compare Source

  • Fix types for the async arrow API for dropTask, restartableTask, and others (#​486)

v2.3.2

Compare Source

  • Simplify the async arrow fn task() API to allow omitting the this param, e.g. myTask = task(async () => {}) (#​477)

v2.3.1

Compare Source

  • Add runtime assertion to detect transpilation failures with the new async arrow fn API

v2.3.0

Compare Source

  • Introduce async-arrow task() API as the new universal JS/TS API, e.g. myTask = task(this, { drop: true }, async (arg: string) => {}). This new API sidesteps 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:
    • Finish migrating any classes with EC tasks to ES6 class syntax
    • Once you've done that, use the following codemods on any app/ or addon/ folders that are using Ember Concurrency tasks
      • Convert @task decorator based APIs to the new async-arrow fn
        • npx machty-ember-concurrency-codemods async-arrow-task app/**/*.ts app/**/*.js
      • If you've used ember-concurrency-ts, run the following codemod to remove taskFor()
        • npx machty-ember-concurrency-codemods rm-ember-concurrency-ts app/**/*.ts app/**/*.js
    • The ember-concurrency-ts and ember-concurrency-async packages are no longer needed and can be removed
    • Soft-deprecated (removed from documentation, likely to formally deprecate later) a number of less commonly used features
      • Encapsulated Tasks
      • Task Groups

v2.2.1

Compare Source

  • Added missing TypeScript types for onState task modifier and TaskFactory#setOnState (#​449, fixed #​447. Thanks @​johanrd for the heads up!)

v2.2.0

Compare Source

  • Implemented a public API for Task Modifiers, 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.
    • Add onError parameter to perform helper to allow UI-triggered tasks to specify alternative or null error handlers (#​443, fixes #​435. Thanks @​lolmaus for the discussion)
    • Fix inefficent use of run.once (#​442, fixes #​437. Thanks @​stefanpenner for the heads up!)

v2.1.2

Compare Source

  • Same as 2.1.1, but with the changes actually published.

v2.1.1

Compare Source

v2.1.0

Compare Source

  • 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)

v2.0.3

Compare Source

  • Remove runloop binding for perform and cancel-all helpers, preventing proper instrumentation. (#​414, fixes #​409)

v2.0.2

Compare Source

  • Ensure lastRunning resets one-by-one as tasks are completed, successfully or not. (Fixes #​403)
    • Expose lastValue decorator in TS definitions (Fixes #​406)

v2.0.1

Compare Source

  • 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)

v2.0.0

Compare Source

  • No substantive changes from 2.0.0-rc.2

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.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Feb 15 '21 21:02 renovate[bot]