About this CHANGELOG
This file will include all API breakage, new features, and upgrade info in
localForage's lifetime.
- Fixes #520; browserify builds work propertly
- Fixes #516; this version should always load the correct driver without that bug.
- We now use ES6 for our source code and
webpack
to bundle the dist/
files.
- Iterate through the entire database using
iterate()
. (#283; fixes #186)
- Custom drivers can be created using
defineDriver()
. (#282; fixes #267)
config()
accepts a new option: driver
, so users can set the driver during config rather than using setDriver()
. (#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 use setDriver(['WebSQL', 'localStorage'])
instead of setDriver('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)
- Add support for web workers. (#144, #147).
- 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)
- Check code quality in test suite (#124)
_initDriver()
is called after first public API call (#119)
- Allow configuration of WebSQL DB size (commit)
- Use bower for JS dependencies instead of
vendor/
folder (#109)
- Add support for ArrayBuffer, Blob, and TypedArrays (#54, #73)
- Added config options to allow users to set their own database names, etc. (#100)
March 16th, 2014
March 13th, 2014
March 4th, 2014