Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ember-concurrency to v4 #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 6, 2024

This PR contains the following updates:

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

Release Notes

machty/ember-concurrency (ember-concurrency)

v4.0.2

Compare Source

  • Make glint template an optional peer dependency (#​572)

v4.0.1

Compare Source

  • Update assert in task-public-api.js to include note about required Babel transform for arrow functions (#​569)

v4.0.0

Compare Source

  • Ember Concurrency is now a V2 Embroider Addon (#​551)
    • BREAKING CHANGE: you must now register the Babel transform used by Ember Concurrency within consuming apps and addons
    • 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.

v3.1.1

Compare Source

  • Add ember 5 as peerDependencies (#​542)

v3.1.0

Compare Source

  • Support waitFor()-type modifiers in async arrow transform (#​536)
    • Drop now-unneeded dependency on polyfill for unsupported Ember versions
    • [docs] Fix broken code block rendering for examples (#​522, #​524)

v3.0.0

Compare Source

  • Drop support for Node versions below version 16 (#​520)
    • Add support and tests for Ember 4 (#​515)
      • Minimum supported Ember version is now 3.28+ (but still likely to work for lower versions)
    • TypeScript: use the types published directly from Ember.js (#​512)

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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ember-concurrency-4.x branch from 8b5f4ac to 5f00213 Compare March 9, 2024 07:19
@renovate renovate bot force-pushed the renovate/ember-concurrency-4.x branch from 5f00213 to 6f55918 Compare March 19, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants