Skip to content

Releases: machty/ember-concurrency

5.1.0

13 Aug 19:45
Compare
Choose a tag to compare

5.1.0

  • The EC Babel async arrow function transformer now prunes imports that become unused after applying the transform so that Rollup doesn't complain about unused imports. (#595)

5.0.1

13 Aug 16:04
Compare
Choose a tag to compare

5.0.1

  • Reverted required Node.js version requirements
  • Removed internal references to ember/object get() and computed

5.0.0

13 Aug 00:41
Compare
Choose a tag to compare

Breaking Changes

  • Removed a number of features that were overloaded, dependent on Ember Object, TypeScript-unfriendly, and/or otherwise likely to cause problems with future/Polaris Ember
  • Some of these features were already explicitly or soft-deprecated (removed from docs or otherwise discouraged)
  • Removed features include:
    • Removed lifecycle events, e.g. firing taskName:started, taskName:errored
    • Removed Task Groups
    • Removed support for any Task construction other than via async arrow fn
      • e.g. task(function * () {}) not supported
    • Removed all decorator-based APIs, e.g. @task * foo() { ... }
    • Removed encapsulated tasks
    • Removed Ember.ENV.DEBUG_TASKS
      • This may be reinstated by some other means if there is interest. In the meantime you can continue to use {debug:true} for debugging logging on specific tasks of interest

4.0.6

08 Aug 17:50
Compare
Choose a tag to compare

4.0.6

More V5 deprecations (#592):

  • rm reference to Ember._setComputedDecorator
  • deprecate any form of the task() constructor other than task([{}], async () => {})
    • The only allowable use is the one with async arrow fn that gets transpiled by our babel codemod.

4.0.5

08 Aug 17:49
Compare
Choose a tag to compare

4.0.5

Begin adding V5 deprecations (#591):

  • Deprecated:
    • Decorator APIs
      • Decorators don't play well with TS - use modern taskName = task(async () => {}) syntax instead
    • waitForProperty
      • Relies on legacy observers.
    • Task Groups
      • Awkward to continue to support, overloaded as a concept in general

4.0.4

10 May 00:13
Compare
Choose a tag to compare

4.0.4

  • dropped ember-source and @glimmer/tracking from peerDependencies (#586)

4.0.3

16 Apr 17:17
Compare
Choose a tag to compare
  • Fix missing @babel/helper-module-imports dependency (#578)

4.0.2

16 Apr 17:16
Compare
Choose a tag to compare
  • Make glint template an optional peer dependency (#572)

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