v1.0.1
Note: This is a significant bug fix which does (very mildly) break the public API, but necessarily so for the sake of fixing a bug.
🐛 Bug Fix
-
#578 Bugfix: drop
contextand stop cachingTrackedAsyncData(@chriskrycho)Previously,
TrackedAsyncDataand theloadfunction accepted acontextparameter as their second argument, to use with Ember's destroyables API. However, that was (a) unnecessary and (b) could actually cause memory leaks, literally the opposite of what it was designed to do. To account for this change, simply remove that call from all call sites.Additionally, note that this means that you will no longer get a single instance of
TrackedAsyncDatafor the same promise. In most cases, this is irrelevant, and it is likely that removing our cache which attempted to be helpful that way will improve your performance.
Committers: 1
- Chris Krycho (@chriskrycho)