All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
4.1.8 - 2019-09-13
- Don't list non-JSON files in
.keys()
4.1.7 - 2019-08-12
- Don't store data as UTF-8
4.1.6 - 2019-01-26
- Implement atomic writes
4.1.5 - 2018-12-02
- Retry on
EPERM
when locking and reading
4.1.4 - 2018-10-09
- Set
electron
as adevDependency
4.1.3 - 2018-10-01
- Retry lock release if OS reports
EPERM
4.1.2 - 2018-08-26
- Set
electron
as apeerDependency
4.1.1 - 2018-07-11
- Ensure parallel writes from multiple processes don't corrupt data
4.1.0 - 2018-04-15
- Support spaces in keys
4.0.3 - 2018-04-07
- Remove unnecessary ES6 features from the code base to keep it ES5
4.0.2 - 2017-10-20
- Ensure the
options
argument always defaults to an empty object.
4.0.1 - 2017-10-19
- Don't throw if the user doesn't pass a callback function.
4.0.0 - 2017-10-18
- React to external changes to the
userData
path. - Replace
storage.DEFAULT_DATA_PATH
withstorage.getDefaultDataPath()
.
3.2.0 - 2017-10-07
- Add
dataPath
options to every function.
3.1.1 - 2017-09-27
- Replace asterisks with hyphens in file names to avoid Windows path problems.
3.1.0 - 2017-08-29
- Support storing values in a custom directory.
3.0.7 - 2017-07-27
- Decode URI encoded file names on
.keys()
3.0.6 - 2017-06-29
- Ensure parallel writes don't corrupt the data.
3.0.5 - 2017-04-14
- Make the module work on Spectron tests.
3.0.4 - 2017-03-30
- Get rid of
exists-file
, which is known to cause UglifyJS issues.
3.0.3 - 2017-03-30
- Remove ES6 features from the codebase.
3.0.2 - 2017-03-24
- Ignore
.DS_Store
in settings directory - Include the invalid error object on "invalid data" errors
3.0.1 - 2017-01-30
- Don't throw
ENOENT
on.getAll()
if the user data path directory doesn't exist.
3.0.0 - 2017-01-08
- Store settings inside a
storage/
directory insideuserPath
.
2.1.1 - 2017-01-08
- Don't throw
ENOENT
on.set()
ifuserPath
doesn't exist.
2.1.0 - 2016-11-13
- Implement
.getAll()
. - Implement
.getMany()
.
2.0.3 - 2016-10-27
- Change
let
tovar
for compatibility purposes.
2.0.2 - 2016-10-24
- Fix "Callback has already been called" error in
.get()
.
2.0.1 - 2016-10-05
- Prevent errors when using reserved characters in keys in Windows.
2.0.0 - 2016-02-26
- Ignore
GPUCache
key, saved by Electron.
- Remove promises support.
1.1.0 - 2016-02-17
- Implement
.keys() function
.
- Fix error when requiring this module from the renderer process.