Skip to content

Stable API

Compare
Choose a tag to compare
@tofumatt tofumatt released this 01 Oct 03:39
· 554 commits to master since this release

Stable API for localForage featuring node-style, error-first callbacks. Also includes great work from @thgreasi: multiple instances of localForage on the same page.

Use IndexedDB, WebSQL, or localStorage from one simple, key/value pair API using localForage.

Thanks so much to all of our pre-1.0 contributors! Couldn't have done it without you: @thgreasi, @ocombe, @thisandagain, @lejenome, @sole, @nantunes, @magalhas, @pgherveou, @ahanriat, @Aleanar, @ahbeng, @tomByrer, @code-vicar, @davidguttman, @BlackGlory, @iamolivinius, @jviereck, @wmluke, @genkgo, @stephanebachelier, @peterbe, @andyburke, @jontewks, @albertogasparin, @willfarrell, @rubennorte, @pelish8, @adambutler, @potch, @bartek, @PatrickHeneise, @adig

鉂わ笍 鉂わ笍 鉂わ笍

1.0.4: Namespaces when using the localStorage driver are now always respected. (#276; fixes #275)
1.0.3: config() accepts a new option: driver, so users can set the driver during config rather than using setDriver(). (#273; fixes #168)
1.0.2: Checks for Safari UA and disables IndexedDB on iOS 8/OS X Yosemite (as IndexedDB support on these platforms is currently broken). (#254)
1.0.1: Fixes a bug where localforage.clear() would delete all localStorage values instead of only the ones in the localforage namespace. (#246)