2.0.0-beta.2
版本发布时间: 2020-11-03 10:43:05
machty/ember-concurrency最新发布版本:4.0.1(2024-03-09 12:14:30)
Enhancements
-
Migrate task lifetimes to
@ember/destroyable
underneath, rather than patchingwillDestroy
(#377).Potentially breaking: this drops support for Node 8 and Ember < 3.8 LTS
Bugfixes
-
Ensure encapsulated task state can be accessed on the TaskInstance (#381, #383)
Note: this uses
Proxy
andWeakMap
, which may need to be polyfilled/unavailable on older browsers. -
Make sure task/group-level
state
field is tracked (#382)
Removals
-
Drop unused
broccoli-file-creator
andember-maybe-import-regenerator
dependencies.Note on
ember-maybe-import-regenerator
: This was originally added back when generator support in browsers was far lower and Babel 5 and 6 were used. The addon does nothing for Babel 7, which is used forember-concurrency
these days. Tweakingconfig/targets.js
or adding the regenerator Babel plugin to your babel config can be done instead if the regenerator runtime is needed to transpile generators for older browsers.
Other
- [dev] Upgrade Ember-CLI to 3.22 (#380)