Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

chore(deps): bump ember-concurrency from 2.2.0 to 2.3.2 #774

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2022

Bumps ember-concurrency from 2.2.0 to 2.3.2.

Release notes

Sourced from ember-concurrency's releases.

2.3.2 - even simpler task(async () => {}) API

  • Simplified the async arrow fn task() API to allow omitting the this param, e.g. myTask = task(async () => {}) (#477)
  • The codemods mentioned in the 2.3.0 release have been updated to prefer this simplified syntax:
    • Convert @task decorator based APIs to the new async-arrow fn
      • npx machty-ember-concurrency-codemods async-arrow-task **/.ts **/.js
    • If you've used ember-concurrency-ts, run the following codemod to remove taskFor()
      • npx machty-ember-concurrency-codemods rm-ember-concurrency-ts **/.ts **/.js

2.3.1

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

2.3.0 - async arrow fn tasks

NOTE: v2.3.2 simplifies the new task() API even more further; you should upgrade to that (or higher!)

2.3.0

  • 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
      • Convert @task decorator based APIs to the new async-arrow fn
        • npx machty-ember-concurrency-codemods async-arrow-task **/.ts **/.js
      • If you've used ember-concurrency-ts, run the following codemod to remove taskFor()
        • npx machty-ember-concurrency-codemods rm-ember-concurrency-ts **/.ts **/.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

2.2.1

Bugfixes

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

Sourced from ember-concurrency's changelog.

2.3.2

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

2.3.1

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

2.3.0

  • 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
      • Convert @task decorator based APIs to the new async-arrow fn
        • npx machty-ember-concurrency-codemods async-arrow-task **/.ts **/.js
      • If you've used ember-concurrency-ts, run the following codemod to remove taskFor()
        • npx machty-ember-concurrency-codemods rm-ember-concurrency-ts **/.ts **/.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

2.2.1

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

Dependabot compatibility score

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)

Bumps [ember-concurrency](https://github.com/machty/ember-concurrency) from 2.2.0 to 2.3.2.
- [Release notes](https://github.com/machty/ember-concurrency/releases)
- [Changelog](https://github.com/machty/ember-concurrency/blob/master/CHANGELOG.md)
- [Commits](machty/ember-concurrency@2.2.0...2.3.2)

---
updated-dependencies:
- dependency-name: ember-concurrency
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file internal labels Sep 1, 2022
@github-actions github-actions bot merged commit e8c1ead into main Sep 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ember-concurrency-2.3.2 branch September 1, 2022 18:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant