Skip to content

Latest commit

 

History

History
executable file
·
396 lines (243 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

executable file
·
396 lines (243 loc) · 13.3 KB

1.3.8 (2018-02-16)

Documentation

1.3.7 (2017-05-12)

Bug Fixes

  • add support for getting/setting an object with a special constructor (e.g., Date, Blob etc.) (#140) (0089530c)

1.3.6 (2017-04-28)

Bug Fixes

  • Always remove $$hashKey from object or array objects (1237fac1)

1.3.5 (2017-02-22)

Bug Fixes

  • Use correct error handler parameter (2b01f4ec)

1.3.4 (2017-02-22)

Features

  • Add defineDriver method for upstream consistency (ac1c3b9c, #105)

Performance Improvements

  • Do not copy value on setItem (6a42de38)

1.3.3 (2017-01-07)

Bug Fixes

1.3.2 (2016-09-14)

Bug Fixes

  • Add return to AMD module loading (467b988)

1.3.1 (2016-07-03)

Bug Fixes

1.3.0 (2016-07-02)

Bug Fixes

  • If there is no root, use angular from window (bcb80690)

Features

Documentation

  • Fix unit test documentation (f821f464)
  • Update API reference for getItem (283bc263)
  • Update API reference and tests for iteration to include iterationNumber examples (fe8bd37)

1.2.5 (2015-12-16)

Bug Fixes

  • Change getItem(string[]) to return null for unknown keys instead of undefined (4397b7db)
  • require localforage ~1.2.10 (b75ef139, #84)
  • gulpfile.js missing done var in build task (670398ab)
  • ArrayBuffer binary type is now supported (7b1be931)

1.2.4 (2015-12-16)

Bug Fixes

  • require localforage ~1.2.10 (b75ef139, #84)
  • gulpfile.js missing done var in build task (670398ab)
  • ArrayBuffer binary type is now supported (7b1be931)

1.2.3 (2015-07-10)

Bug Fixes

  • Fixed $localForage.bind with falsey defaults (+ test). (c686347b)
  • getItem returns null for unknown key (c88e346, #55)

1.2.2 (2014-12-08)

Bug Fixes

1.2.1 (2014-12-08)

Bug Fixes

1.2.0 (2014-11-18)

Features

Breaking Changes

  • due to 3e942732, the method search has been removed and replaced with iterate that can potentially do the same but is based on the localForage function iterate and is way more optimised.

Fixes #42

1.1.0 (2014-11-01)

Features

  • Added search functionality (220110bd)
  • Script loading for require.js (56647fdf, #26)
  • Update to localforage 1.1.1

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 add oldPrefix: 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 by scopeKey to avoid confusion with the storeName 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 by scopeKey.

Documentation

  • Better doc on the directive
  • General cleanup
  • Doc for the multiple instances

0.2.10 (2014-09-08)

Bug Fixes

  • use angular.copy before storing values (e4707d3e, #29)
  • use correct model to allow multiple binding (42f41d3a, #28)
  • fixed tests for all browsers (06258791)

Documentation

  • updated readme with lowercase name of the lib for bower & npm (809c6636)

0.2.9 (2014-07-30)

Features

  • update to localforage 0.9.2 (e6c1f19f)

0.2.8 (2014-07-04)

Bug Fixes

  • Safari private browsing would not resolve (224fca6d)
  • better fix for the Firefox private browsing invalidStateError (c566a19b)

Features

  • bump to localForage 0.9.1 and use of the new keys function (4f9431a6)

0.2.7 (2014-07-03)

Bug Fixes

  • invalidStateError in firefox private browsing (04f55e6f)

0.2.6 (2014-06-30)

Bug Fixes

  • bind should resolve with the item value (b3895d14, #19)

0.2.5 (2014-05-27)

Bug Fixes

  • readded changes that disappeared in the build for #16 (avoiding attributes from objects before store it on localforage) (c1175e0c)

0.2.4 (2014-05-26)

Bug Fixes

  • error on ipad (safari/chrome) where key could be null and throw an error (0011d110)
  • remove $promise attributes from objects before we store them on localforage. (6f6f11ab)

Features

  • Added a validation for commits & a task to auto generate the changelog (f9658263)
  • new tests for getItem/setItem functions (61efd115)

Documentation

  • instructions for contributing (2a84fc4c)

0.2.3 (14 May 2014)

  • Added gulpfile.js to test & build the dist files
  • Fix bug #14 (broadcast removeItem: notify.setItem instead of notify.removeItem)

0.2.2 (13 May 2014)

  • Update localforage to 0.8.1

0.2.1 (12 May 2014)

  • Update bower.json to fix bug #12

0.2.0 (30 April 2014)

  • setPrefix has been removed from code
  • setItem now returns the value set in the promise resolve
  • Breaking change: due to changes in localForage, you now need to configure localforage before any call has been made to it (in your module config for example), you can't configure it after init
  • Added an example app
  • Moved angular-localForage files to dist folder and the files have been renamed in lowercase to keep consistency with localforage

0.1.4 (10 April 2014)

  • Fix bug with prefixing for localstorage (bug #10)

0.1.3 (07 April 2014)

  • Bump to localForage 0.3.1

0.1.2 (02 April 2014)

  • Bump to localForage 0.3.0

0.1.1 (24 Mars 2014)

  • Updated bower localstorage version to 0.2.0

0.1.0 (19 Mars 2014)

  • Added a changelog !
  • Using localForage 0.1.1 with the new config options
  • Breaking change: setPrefix has been removed, use the config function from now on
  • Renamed all the functions to keep consistency with the localForage function names (set/get/remove/clearAll/getKeyAt/getLength/getDriver are renammed setItem/getItem/removeItem/clear/key/length/driver). The old function names are still available.
  • Added a test to check for "InvalidStateError" due to private browsing in firefox and switching to localstorage when this is the case
  • Fixed bug #4 removeItem needs to use prefix
  • Added missing package.json (for tests) and updated tests