Skip to content

Releases: machty/ember-concurrency

4.0.1

09 Mar 04:14
Compare
Choose a tag to compare

4.0.1

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

4.0.0

06 Feb 07:04
Compare
Choose a tag to compare

Enhancements

  • Ember Concurrency has been converted to a V2 Embroider Addon (#551)
  • Added a Glint template registry
  • (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

4.0.0-beta.1

04 Feb 22:19
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release

Enhancements

  • Convert to V2 Addon (#551)

Breaking Changes

  • Ember Concurrency's Babel transform needs to be manually registered as a Babel plugin. See upgrade docs

3.1.1

25 Aug 01:06
Compare
Choose a tag to compare

Enhancements

Documentation

  • Insert link to release notes for taskFor() deprecation (#540, thanks @MichalBryxi!)

3.1.0 - Now with 100% more 3.0.0

01 Aug 03:35
Compare
Choose a tag to compare

Note: Due to a tagging snaffu during the release of 3.0.0, it was functionally the same as 2.3.7. This release (3.1.0) also includes the changes intended for 3.0.0

3.1.0

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

3.0.0

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

3.0.0

04 Apr 18:38
Compare
Choose a tag to compare

3.0.0

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

2.3.4

02 Sep 14:49
Compare
Choose a tag to compare

2.3.4

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

2.3.3

02 Sep 12:52
Compare
Choose a tag to compare

2.3.3

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

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

24 Aug 18:12
Compare
Choose a tag to compare
  • 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 app/**/*.ts
      • npx machty-ember-concurrency-codemods async-arrow-task 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
      • npx machty-ember-concurrency-codemods rm-ember-concurrency-ts app/**/*.js

2.3.1

24 Aug 15:50
Compare
Choose a tag to compare
  • Add runtime assertion to detect transpilation failures with the new async arrow fn API