electron-store

Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc

MIT License

Downloads
498.6K
Stars
4.4K
Committers
18

Bot releases are visible (Hide)

electron-store - Latest Release

Published by sindresorhus 6 months ago

Breaking

  • Require Node.js 20 and Electron 30 7ddf0c6
  • This package is now pure ESM. Please read this and this.

https://github.com/sindresorhus/electron-store/compare/v8.2.0...v9.0.0

electron-store -

Published by sindresorhus 8 months ago

  • Allow awaiting .openInEditor() (#272) c0bcdb7

https://github.com/sindresorhus/electron-store/compare/v8.1.0...v8.2.0

electron-store -

Published by sindresorhus about 2 years ago

electron-store -

Published by sindresorhus over 2 years ago

  • Fix Options type parameter constraint for TS 4.7 (#223) e3fae8e

https://github.com/sindresorhus/electron-store/compare/v8.0.1...v8.0.2

electron-store -

Published by sindresorhus over 3 years ago

electron-store -

Published by sindresorhus over 3 years ago

  • Fix the internal IPC to only subscribe to events once (#180) cbe1449

https://github.com/sindresorhus/electron-store/compare/v7.0.2...v7.0.3

electron-store -

Published by sindresorhus over 3 years ago

  • Improve error message when user forgot to call Store.initRenderer() (#166) a61f9ea

https://github.com/sindresorhus/electron-store/compare/v7.0.1...v7.0.2

electron-store -

Published by sindresorhus over 3 years ago

  • Fix the TypeScript type for initRenderer 05a769d

https://github.com/sindresorhus/electron-store/compare/v7.0.0...v7.0.1

electron-store -

Published by sindresorhus over 3 years ago

Breaking

  • Require Electron 11 7beffc1
    • It will most likely still work on Electron 9 and up, but I'm not interested in providing support for versions older than Electron 11.
  • Make the clearInvalidConfig option false by default 76efa82
  • Fix compatibility with Electron 12 (and remove use of electron.remote) (#157) 191ae04
    • If you create a store that is imported into both the main and renderer process, you don't have to do anything. If you only create a store in the renderer process, you need to manually call Store.initRenderer() in the main process.
  • Update ajv to version 7. This might affect you if you're using the schema option.

https://github.com/sindresorhus/electron-store/compare/v6.0.1...v7.0.0

electron-store -

Published by sindresorhus about 4 years ago

  • Fix the migration feature (#143) dced818
    Turns out it never worked properly...

https://github.com/sindresorhus/electron-store/compare/v6.0.0...v6.0.1

electron-store -

Published by sindresorhus over 4 years ago

Breaking

  • Require Electron 7 and later a066c03
    This is the oldest version supported by the Electron team.

Improvements

  • Upgrade conf dependency b29a67e
    This fixes a file writing problem on Windows.

https://github.com/sindresorhus/electron-store/compare/v5.2.0...v6.0.0

electron-store -

Published by sindresorhus over 4 years ago

  • Improve Electron 9 compatibility (#119) 5e644eb

https://github.com/sindresorhus/electron-store/compare/v5.1.1...v5.2.0

electron-store -

Published by sindresorhus over 4 years ago

electron-store -

Published by sindresorhus almost 5 years ago

https://github.com/sindresorhus/electron-store/compare/v5.0.0...v5.1.0

electron-store -

Published by sindresorhus about 5 years ago

Breaking for TypeScript users

Enhancements

Fixes

https://github.com/sindresorhus/electron-store/compare/v4.0.0...v5.0.0

electron-store -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Electron 5 0540766

Enhancements:

  • Fix deprecated crypto.createDecipher() and crypto.createCipher() Node.js warnings (#72) 8261b92
    Node.js deprecated the above APIs and we had to do encryption for the encryptionKey option differently. electron-store should be able to read both the new and old encryption format and it will write the new encryption format if you change any config. The migration is fully automatic, but please test your app thoroughly in case there are any issues.

https://github.com/sindresorhus/electron-store/compare/v3.3.0...v4.0.0

electron-store -

Published by sindresorhus over 5 years ago

Enhancements:

  • Add accessPropertiesByDotNotation option 0dd4164
  • Add .onDidAnyChange() method 0dd4164

https://github.com/sindresorhus/electron-store/compare/v3.2.0...v3.3.0

electron-store -

Published by sindresorhus over 5 years ago