This file will include all API breakage, new features, and upgrade info in localForage's lifetime.
- We now use ES6 for our source code and
webpack
to bundle thedist/
files.
config()
accepts a new option:driver
, so users can set the driver during config rather than usingsetDriver()
. (#273; fixes #168)
- It is no longer necessary to queue commands using
ready()
when using RequireJS. (723cc94e06) setDriver
now accepts an array of drivers to be used, in order of preference, instead of simply a string. The string option is still supported. (eg. now one can usesetDriver(['WebSQL', 'localStorage'])
instead ofsetDriver('WebSQL')
)- node-style, error-first argument method signatures are used for callbacks. Promises don't use error-first method signatures; instead they supply an error to the promise's
reject()
function.
This release drops support for some legacy browsers, though not actually the ones you might think. localForage's new policy is to support the current version of all major browsers plus up to three versions back.
- Add built versions without the Promises polyfill to
dist/
directory. (#172) - Drop support for Firefox 3.5. Minimum version is now Firefox 25. (Technically, Firefox 4+ seems to work.)
- Drop support for Chrome 31 and below. Minimum version is now Chrome 32.
- Fix a lot of bugs. Especially in Internet Exploder.
- Switch to Mocha tests and test on Sauce Labs.
- Add a
keys()
method. (#180) - Check for localStorage instead of assuming it's available. (#183)
- Put built versions back in
dist/
directory.
- Add
localforage.config
. (#40) - Fix iFrame bug in WebKit. (#78)
- Improve error handling. (#60)
- Remove support for
window.localForageConfig
. (#135)
- Built versions of localForage are now in the top-level directory. (2d11c90)
- Allow configuration of WebSQL DB size (commit)
- Use bower for JS dependencies instead of
vendor/
folder (#109)
- Added config options to allow users to set their own database names, etc. (#100)
- Moved Backbone adapter to its own repository (b7987b3091855379d4908376b668b4b51a6fedfe)
- Changed
localforage.driver
to a function instead of the string directly (49415145021b0029d2521182de6e338e048fe5b1)
- Changed the IndexedDB database name from
asyncStorage
tolocalforage
(f4e0156a29969a79005ac27b303d7e321a720fc6)