Changelog History
Page 1
-
v1.10.0 Changes
- 👀 Avoid uncaught error in
dropInstance
. You can now catch errors thrown bydropInstance
, see #807.
- 👀 Avoid uncaught error in
-
v1.9.0 Changes
July 31, 2020- 🛠 Fixed TypeScript definition for
getItem
. It now notes thatgetItem
can returnnull
, so this change may cause TypeScript code that didn't account fornull
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 fromgetItem
. Note that this version otherwise introduces no new features, so you can upgrade later when you're ready to fix code to check fornull
return values forgetItem
calls. - 🛠 Fixed TypeScript definition for
-
v1.8.1 Changes
July 21, 2020- 🏗 Reverted the ESM/
module
field change in #940, which broke many builds. See: #979. Sorry about that! 😓
- 🏗 Reverted the ESM/
-
v1.8.0 Changes
July 20, 2020👀 No changes to code, but added a
module
field inpackage.json
for better ESM support. See: #940. -
v1.7.4 Changes
June 05, 2020- ✅ Use
openKeyCursor
instead ofopenCursor
forkey()
retrieval. Props to @MeMark2 for the fix, and thanks to @lincolnthree and @f for additional testing!
- ✅ Use
-
v1.7.3 Changes
October 26, 2018🚀 This release adds an
.npmignore
file to reduce the package size of localForage when installed via NPM. That's it! 😄 -
v1.7.2
June 16, 2018 -
v1.7.1 Changes
March 30, 2018⏪ 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. -
v1.7.0 Changes
March 30, 2018🚀 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: #805 (comment) (thanks to @brettz9 for the tip!) -
v1.6.0 Changes
March 03, 2018➕ 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 thedropInstance()
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 stores.