2.2.0 (2023-04-09)
- getObjectDefault: Add method
getObjectDefault
to get an object or a default value when the path is leading to non existing data. (d47786b), closes #582
2.1.5 (2023-03-14)
- Interoperability: Export underlying adapter type to let developers customize the storage logic (cfa874e), closes #568
2.1.4 (2023-01-24)
- FileAdapter: Remove need for atomically. With RWLock we have all we need. (4b52670)
2.1.3 (2022-09-21)
2.1.2 (2022-09-09)
- Concurrency: Be sure that only one read or one write can be done at the same time (1cf0038)
- Errors: Export errors for easier error management in other projects (60c90f8), closes #479
2.1.1 (2022-08-26)
- Config: Easier way to import the configuration of JsonDB (e3502c2)
2.1.0 (2022-08-08)
- Config: put proper default for ConfigWithAdapter (8d38302)
2.0.0 (2022-08-01)
- Array: Fix array not properly async (26355b0)
- HumanReadable: Fix missing humanreadable (13e51d9)
- JsonAdapter: Don't override the data property (817c581)
- Adapter: Add concept of adapter to read and write data (fcea4bb)
- Adapter: Let the user decide what adapter to use if they want to tweak the inner working (c8f264b), closes #448
- Async: All the method are now async/await (ab63e82), closes #171
- Async: Make the whole library async (764cdf4), closes #444
- AtomicFileAdapter: Add support for fsync (4a51239)
- Configuration: Force giving a config object to the constructor (002a72a)
- Async: Every method of the library is now async and returns a promise.
- Configuration: We now need to receive the JsonDBConfig object in the constructor
1.6.0 (2022-06-30)
1.5.0 (2022-03-11)
1.4.1 (2021-09-22)
- Docs: Be sure the doc contains Config (d626568)
1.4.0 (2021-09-13)
1.3.0 (2021-03-07)
- typing: Add basic typing to the lib for TS (5309e9e)
1.2.1 (2021-03-07)
- getIndex: Improve documentation (9951c6d)
1.2.0 (2021-03-07)
1.1.0 (2020-04-23)
- add some array utils (8f9d2dd)
1.0.3 (2019-12-11)
1.0.2 (2019-10-15)
1.0.1 (2019-07-22)
1.0.0 (2019-06-24)
- Packaging: Use es6 module packaging (f5cd8fd)
- Packaging: The default export has been removed. You need to do a deconstruction import to load the library now.
import JsonDB from 'node-json-db' becomes import {JsonDB} from 'node-json-db'
0.11.0 (2019-03-15)
- Separator: Fix still using the slash as separator. (1781e5c)
- Config: Add Config file to setup the Database (a740b91)
0.10.0 (2019-02-20)
- Filter: Add filtering feature (fa81531)
0.9.2 (2018-11-18)
0.9.1 (2018-10-10)
- ArrayInfo: Returns type of isValid (dae4e81)