- [FIX] Namespaces storage based on type key if
storageFor
smodel
option is used. Thanks to @offirgolan for the PR. - [ENHANCEMENT] Moving blob-polyfill dependency from bower to npm. You can remove the bower dependency if its not needed by other code. Thanks to @gmurphey for the PR.
- [FIX]
storageFor
smodel
option now supports latest ember-data models. Thanks to @offirgolan for the PR.
- [FIX] Fix broken import/export and decouple the methods from the adapter. Thanks to @bendemboski for the PR.
- [FIX] Raise AdapterError on not found. Thanks to @bendemboski for the PR.
- [FIX] tryStorage now returns undefined instead of null. Thanks to @xcambar for the PR.
- [FIX] Remove getOwner deprecation. Thanks to @bendemboski for the PR.
- [FIX] Don't leak _indices into registry. Thanks to @bendemboski for the PR.
- [FIX] Remove _shouldSerializeHasMany deprecation.
- [FIX] Return undefined instead of null on queryFilter via queryRecord. Thanks to @bncoelho for the PR.
- [FIX] Prevent leaking event listenes during testing. Thanks to @rwjblue for the PR.
- [ENHANCEMENT] Replace
Ember.merge
withEmber.assign
[deprecation id: ember-metal.merge]
. Thanks to @aharita for the PR.
- [ENHANCEMENT] Add
session
adapter. Thanks to @schickm for the implementation.
- [ENHANCEMENT] A
queryRecord()
for empty results now returnsnull
for ember-data versions >= 2.2.X. Thanks to EmberHH Hack Night for the time to fix this.
- [ENHANCEMENT] Allow namespaced models. See the README for more information. Thanks to @juni0r for requesting.
- [ENHANCEMENT] Use
getOwner
polyfill to remove deprecations. Thanks to @kepek for implementing.
- [ENHANCEMENT] New
storageFor
API. See the README for more information. - [BREAKING] Not sure if the release is breaking. If so please open an issue.
- [BUGFIX] Fixes detection of
ember-data >= 2.3.0
now that it is an addon (npm package). Thanks to @Arkham for reporting.
- [BUGFIX] Allow querying on boolean attributes that are false. Thanks to @Ramblurr for reporting and @bekzod for fixing.
- [BUGFIX] Prevents infinite loop in IE 11 if the storage event fires in the same tab. Thanks to @MattNguyen for reporting.
- [BUGFIX] Prevents the value to become
null
if thenewValue
of the storage event isundefined
ornull
. - [BUGFIX] Prevents infinite loop in IE 11 if the storage event fires in the same tab.
- [BUGFIX] fixes
store.push()
to persist the pushed payload @Ramblurr - [BUGFIX] normalize query filter keys (
bookPublication
->book-publication
) thanks to @Ramblurr for reporting - [BUGFIX] fixes
queryRecord()
for empty results. The behavior is still irritating because in case of no match we return an empty array. It's an issue with ember-data. See #3790 as soon as #3866 makes it into a releasequeryRecord()
will returnnull
. Thanks to @Ramblurr for reporting.
- [ENHANCEMENT] Add
query
&queryRecord
thanks to @robbiespeed for pairing - [ENHANCEMENT] Sync storage across tabs @davewasmer
- [BUGFIX] Do not crash if ember-data isn't present
- [BUGFIX] Checks if ember-data >= 1.13.0
- [BUGFIX] Fixes an issue with the app config not beein present
- [ENHANCEMENT] Adds
Adapter
&Serializer
see Adapter & Serializer
- [BUGFIX] Make sure that the changes are persisted on
StorageArray.reset()
- [ENHANCEMENT] Calling
StorageObject.isInitialContent()
andStorageArray.isInitialContent()
returns a boolean that indicates if the content was mutated - [ENHANCEMENT] Calling
StorageObject.clear()
andStorageArray.clear()
removes the data from xStorage - [ENHANCEMENT] Adds
setProperties
onStorageObject
- [ENHANCEMENT] Prototype extensions are now disabled and the
StorageArray
always returns anEmber.Array
@miguelcobain - [ENHANCEMENT] Calling
StorageObject.reset()
andStorageArray.reset()
resets toinitialContent
@miguelcobain
- [BUGFIX] Fixes safari private mode exposes xStorage but fails on setItem
- [BUGFIX] Prevents content sharing for objects and arrays @glagola
- [BUGFIX] Prevents the creation of a key
null
with the contentnull
if the object is created with arguments - [ENHANCEMENT] Adds in-memory fallback for
localStorage
andsessionStorage
- [ENHANCEMENT]
sessionStorage
added - [ENHANCEMENT] Usage of
localStorageKey
is deprecated usestorageKey
instead. - [BREAKING] localStorage array and object location changed
ember-local-storage/object
->ember-local-storage/local/object
ember-local-storage/array
->ember-local-storage/local/array