Releases: sindresorhus/electron-store
Releases · sindresorhus/electron-store
v7.0.1
- Fix the TypeScript type for
initRenderer
05a769d
v7.0.0
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
optionfalse
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.
- 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
- Update
ajv
to version 7. This might affect you if you're using theschema
option.
v6.0.1
v6.0.0
v5.2.0
v5.1.1
v5.1.0
- Warning: The
migrations
option is buggy. Don't use it at this time. - Add semver range capabilities into migrations sindresorhus/conf@df3a256
v5.0.0
Breaking for TypeScript users
- Improve TypeScript typings sindresorhus/conf@ef63b11 sindresorhus/conf@ff54952
The types were made much better, but it will probably break for some users. You can now properly define a strongly-typed store. Example.
Note: There's no way to use a dot-path likestore.get('foo.bar')
with a typed store. We're looking into how to support that: sindresorhus/conf#86
Enhancements
- Add support for migrations sindresorhus/conf@931ffce
Fixes
- Add temporary workaround for
electron-store
being packaged in a Snap app sindresorhus/conf@68bbb46
v4.0.0
Breaking:
- Require Electron 5 0540766
Enhancements:
- Fix deprecated
crypto.createDecipher()
andcrypto.createCipher()
Node.js warnings (#72) 8261b92
Node.js deprecated the above APIs and we had to do encryption for theencryptionKey
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.
v3.3.0
Enhancements: