Releases: nimiq/jungle-db
Releases · nimiq/jungle-db
v0.11.1
What's Changed
- Fix logic in snapshots when adding and removing keys (previously returning the removed key as part of the key stream)
- Support for node v22 by @jeffesquivels in #72
Full Changelog: v0.9.22...v0.11.1
v0.9.22
v0.9.18
v0.5.0
Complete list of improvements:
- Improve indexing structure in NodeJS:
Instead of storing a B+Tree in memory and persisting this tree to another table, we now directly make use of the indexing capabilities of the second table and use it to store thesecondaryKey -> [primaryKeys]
relation.
Our benchmarks have shown this to be superior for write accesses, while the performance dropped slightly for read accesses. - Integrate LMDB as an alternative backend:
LMDB can now be seamlessly integrated. Our benchmarks have shown LMDB to be superior in performance especially for large values, large transactions and indices, even outperforming the previous in-memory B+Tree.
Moreover, LMDB is a synchronous backend, allowing to reduce the number of async/await operations dramatically (while still maintaining the same API to the outside). - Add new benchmarks and output CSV compatible format instead of text.
- Restructuring of LMDB backend, usage of native dup keys for LMDB indexes.
- Automatic resizing of database.
If the autoResize
option is enabled, the database will automatically resize itself if needed by minResize
(default is 1GB).
v0.4.3
v0.4.2
v0.4.1
This version improves:
- error handling and avoids unhandled exceptions,
- upgrading of databases (by letting the developer specify a condition that certain upgrade commands are executed),
- some API calls with many options (by introducing an options object instead of a long list of parameters).