Fixes
dropInstanceno longer throws uncaught errors โ exceptions are now properly catchable (#807)
Unclaimed project
Are you a maintainer of localForage? Claim this project to take control of your public changelog and roadmap.
Changelog
๐พ Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
Last updated over 1 year ago
dropInstance no longer throws uncaught errors โ exceptions are now properly catchable (#807)getItem. It now notes that getItem can return null, so this change may cause TypeScript code that didn't account for null values to fail. See #980.This was shipped as a minor release as it has the potential to break TypeScript checks that weren't checking for a null return value from getItem. Note that this version otherwise introduces no new featu...
No changes to code, but added a module field in package.json for better ESM support. See: #940.
openKeyCursor instead of openCursor for key() retrieval. Props to @MeMark2 for the fix, and thanks to @lincolnthree and @f for additional testing!This release adds an .npmignore file to reduce the package size of localForage when installed via NPM. That's it! ๐
The fix to #805 broke things for people and needs more testing to work, so this reverts things back to pre-module field days ๐
If your Webpack build was breaking with 1.7.0, this should fix it.
This is a largely minor release but we've added support for the "module" property in package.jsonโsee #805.
Bumping a minor version to make sure people's builds don't break with the new property.
If you are experiencing build errors with webpack after upgrading, try changing your mainFields webpack config: https://github.com/localForage/localForage/issues/805#issuecomment-377500059 (than...
Adds dropInstance() method to localforage.
This will be an optional method for custom drivers to preserve compatibility in an effort to not make this a breaking change. Custom driver that doesn't provide the dropInstance() method will reject with a respective error when this method is invoked.
Further improves IDB driver reliability by trying to reestablish closed connections or upgraded s...
Release 1.5.7
Upgrade lie version.