Releases: AlCalzone/jsonl-db
Releases · AlCalzone/jsonl-db
Release v2.4.3
- Errors while automatically compressing the DB are now caught
Release v2.4.2
- Errors while automatically restoring the DB from a backup or dump are now caught
- Simplified and decoupled the persistence code. Individual commands like
dumpandcompressare now properly sequenced and should no longer conflict with each other. - Increased throughput for primitive entries by ~2x
Release v2.4.1
- Individual writes are now collected in a string and written at once, increasing throughput for larger entries by ~10x.
Release v2.4.0
- Stringifying the individual lines now happens lazily and only when actually necessary, increasing the throughput by 30...50x.
Release v2.3.0
- Add the ability to dump the database to a different location
Release v2.2.0
- Add the ability to specify where the lockfile is created
Release v2.1.0
When opening the DB, recover from crashes that happened while compressing the DB
Ensure that the DB files are flushed to disk when closing or renaming files
Tests now work with the real filesystem instead of mock-fs, which breaks in Node.js 16.3+
Modernized TypeScript build output
Release v2.0.0
Update dependencies and drop support for Node.js 10
Release v1.2.5
Prevent opening one DB file in multiple instances of the DB using lockfiles
Release v1.2.4
Reduced the work done while opening a DB