Releases: Belphemur/node-json-db
Releases · Belphemur/node-json-db
v2.3.0
2.3.0 (2023-10-16)
Bug Fixes
Features
- adjust to support others properties (58911b5)
- change method name (889d55e)
- new toPath method (7d224c3)
- path: add method to transform a usual "route" into a path for the db (c389c7c)
- test wrong propertyName (6a95687)
v2.2.0
2.2.0 (2023-04-09)
Bug Fixes
- Array: Fix issue with array that have numerical property key (db7b5cb), closes #571
Features
- getObjectDefault: Add method
getObjectDefault
to get an object or a default value when the path is leading to non existing data. (d47786b), closes #582
v2.1.5
2.1.5 (2023-03-14)
Performance Improvements
- Interoperability: Export underlying adapter type to let developers customize the storage logic (cfa874e), closes #568
v2.1.4
2.1.4 (2023-01-24)
Performance Improvements
- FileAdapter: Remove need for atomically. With RWLock we have all we need. (4b52670)
v2.1.3
2.1.3 (2022-09-21)
Performance Improvements
- Locking: Use proper read write lock instead of one lock for all operation (f3f422a), closes #490
v2.1.2
2.1.2 (2022-09-09)
Bug Fixes
- Concurrency: Fix issue with concurrent push from different sources (daae2bb), closes #484
Performance Improvements
- 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
v2.1.1
2.1.1 (2022-08-26)
Performance Improvements
- Config: Easier way to import the configuration of JsonDB (e3502c2)
v2.1.0
2.1.0 (2022-08-08)
Bug Fixes
- Config: put proper default for ConfigWithAdapter (8d38302)
Features
- Date: Add support for serializing and deserializing date type (d7a904e), closes #362
v2.0.0
2.0.0 (2022-08-01)
Bug Fixes
- Array: Fix array not properly async (26355b0)
- HumanReadable: Fix missing humanreadable (13e51d9)
- JsonAdapter: Don't override the data property (817c581)
Features
- 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)
BREAKING CHANGES
- 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
v1.6.0
1.6.0 (2022-06-30)
Features