Releases: localForage/localForage
Improved tests and keys() method
This release adds vastly improved tests using mocha and includes the ability to be run on sauce labs (and in-browser) for the first time. They are way faster and much easier to work on. 馃憤
This version also includes support for the keys()
method by @code-vicar and fixes many IE-specific bugs, especially in IndexedDB.
Version 0.9.2 fixes a few ES3 keyword bugs in IE and Cordova. (#201 and #202)
Version 0.9.1 fixes a bug with the ready()
promise not being rejected on error.
Web Worker Support
Adds support for Web Workers.
Thanks so much to @wmluke for writing some great Web Worker tests for this release. 馃憤
New config and error handling
This release adds the localforage.config()
method, allowing localForage's config to be set after the library has been loaded (but before the first API call).
This release improve all errors. (#60)
This release removes support for window.localForageConfig
.
Fix bug on Samsung Android Phone Browsers
This is a bugfix release: localForage now uses WebSQL on certain Samsung Android Devices and possibly other browsers with an out-of-date IndexedDB spec.
Thanks to @albertogasparin for catching this bug and fixing it.
This release also includes all the goodies from 0.3.0, chiefly: localForage doesn't load backend drivers or databases until the first API call.
Load storage driver after API call
localForage now waits to load the backend storage driver until after the first public API call is made. This allows us to set the storage driver before the first getItem()/setItem()/[etc.]
API call and thus never erroneously load a driver. It should also improve performance.
Gra莽as 脿 @nantunes for his work on this patch.
0.2.0 - Binary Data Support
localForage now supports storing ArrayBuffers, Blobs, and TypedArrays in all drivers. This allows things like MP3s or images to be saved offline in any driver.
Additionally, this includes config options found in 0.1.1, allowing users to set the name of their database.