Releases: scotttrinh/angular-localForage
1.2.2 (2014-12-08)
Bug Fixes
- Blob fix for IE9
(f3774641)
1.2.1 (2014-12-08)
1.2.0 (2014-11-18)
Features
- new method
pull
(0a1cf013,
#38) - you can now get, set and remove multiple items at the same time
(8b304633,
#35) - new method
iterate
(3e942732,
#42)
Breaking Changes
- due to 3e942732,
the methodsearch
has been removed and replaced withiterate
that can potentially do the same but is based on the localForage functioniterate
and is way more optimised.
1.1.0 (2014-11-01)
1.0.0 (2014-10-17)
Features
- You can now use multiple instances of localForage (see the Readme file for more info).
- You can use a
name
option with bind and with the directive to specify which instance to use. - Slightly better examples (I could do much better)
Breaking changes
-
The following deprecated functions have been removed: getDriver, set, get, remove, clearAll, getKeyAt, getLength
-
getKeys is now deprecated, use the function keys instead (following the naming convention from localForage).
-
Because localForage now takes into account the prefix for localStorage, this lib will no longer add its own prefix to localStorage variables.
If you want to ensure compability with values stored in localStorage before this release, you need to addoldPrefix: true
to your provider's configuration:$localForageProvider.config({ oldPrefix: true });
If you don't do that, you won't be able to access those old data, and they will stay in localStorage.
This doesn't affect other storages (indexedDB & WebSQL). -
The method
bind
and the directive have changed:storeName
has been replaced byscopeKey
to avoid confusion with thestoreName
from config and to be more self explicit.key
is now the name of the storage key. -
The method
unbind
now takes only 2 parameters (scope & key, or scope & config object).storeName
has also been replaced byscopeKey
.
Documentation
- Better doc on the directive
- General cleanup
- Doc for the multiple instances
0.2.10 (2014-09-08)
0.2.9 (2014-07-30)
Features
- update to localforage 0.9.2
(e6c1f19f)
0.2.8 (2014-07-04)
0.2.7 (2014-07-03)
Bug Fixes
- invalidStateError in firefox private browsing
(04f55e6f)