Skip to content

Releases: localForage/localForage

Roll back dropInstance breaking change

29 Nov 18:14
86bfcd9
Compare
Choose a tag to compare

Includes fix for #760 but removes the accidental breaking API change around dropInstance when using defineDriver.

Set null as undefined (for Edge)

28 Nov 18:41
3e17088
Compare
Choose a tag to compare

Fixes #760. Thanks to @tran2 for the fix! 😄

Detect unusable LocalStorage on Safari

28 Oct 19:04
Compare
Choose a tag to compare

Check whether localStorage is actually usable while initializing the driver (#730 by @jesusbotella). When using Safari on Private Browsing mode and trying to set the LocalStorage driver, will now property get a "No driver available" error on from .ready().

Thanks to everyone who made this release possible: @jesusbotella .

@thgreasi

Re-establish IDB connection after an InvalidStateError

08 Oct 15:24
Compare
Choose a tag to compare

Highlights:
Try to re-establish IDB connection after an InvalidStateError (#694 by @stkao05). Really cool for long running apps.
Added Generics to iterate() TS Typings (#713 by @DaSchTour).
Define custom drivers syncronously when _support isn't a function (#692 by @gabrielmaldi).
Use the custom driver API for internal drivers, which makes possible to override parts of their implementation.

Thanks to everyone who made this release possible: @jesusbotella, @dmlzj, @morkro, @DaSchTour, @5aledmaged, @eppfel, @stkao05, @gabrielmaldi, @Toub, and of course @tofumatt.

Thanks all!

@thgreasi

Safari IndexedDB support!

18 Feb 15:32
Compare
Choose a tag to compare

Defaults to IndexedDB in Safari 10.1+ (#650). Pretty sweet!

This is a breaking change, see the CHANGELOG for more info.

Thanks to everyone who made this release possible: @nolanlawson, @michielbdejong, @dennismartensson, @ztamizzen, @stephanebachelier, @rparrapy, @iamolivinius, and of course @thgreasi.

Thanks all!

@tofumatt

Fix infinite loop bug and lie Promise bug

11 Feb 04:36
Compare
Choose a tag to compare

Fixes #516. Released as a new version in case anyone was "relying" on the bug to load a different driver.

Fixes #562.

1.4.3 fixed #501.

ES6 Code and Webpack

09 Oct 00:07
Compare
Choose a tag to compare

This release is rewritten to use ES6 and webpack.

I'll try to post more detailed release notes later. Right now I'm very tired 😄

Thanks so much to @thgreasi, @sebweaver, and others for their hard work on this version.

Iterate functionality

16 Nov 18:23
Compare
Choose a tag to compare

Added the iterate() functionality to allow users to iterate through all available keys. (#283)

Thanks so much to @lu4 for the work on this release! Also to @thgreasi for his work on #329. And to @nolanlawson for his Blob fixes! Thanks to @af7 for their work on localStorage bugs.

1.2.10: Fixes for browserify and webpack users (#439)
1.2.9: Fixes localStorage iterate issues (#407 and #428)
1.2.4: Fixes WebKit blob issues (#381)
1.2.3: Fixes a bug with require (#378)
1.2.2: Fixes a bug with webpack (#340)
1.2.1: Fixes a bug with odd-length ArrayBuffer (#285)

Custom Driver Support

19 Oct 20:35
Compare
Choose a tag to compare

Custom drivers can now be created using the defineDriver() method. (See #282 for details.)

Thanks again to @thgreasi for this awesome release! 👍

1.1.1: Fixes a bug with IE IndexedDB support not being recognized (#284; thanks @Evgenus for the fix)

Stable API

01 Oct 03:39
Compare
Choose a tag to compare

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)