Skip to content

Releases: nimiq/jungle-db

v0.11.1

12 Nov 23:20
Compare
Choose a tag to compare

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

17 Nov 12:14
Compare
Choose a tag to compare

Update dependencies, include compatibility for current Node LTS.

v0.9.18

18 Jan 13:36
5ca4983
Compare
Choose a tag to compare

Changelog:

  • Update packages
  • Fix resulting ESLint errors
  • Make LevelDB backend optional
    • Plan for next release: put backends plugin-like in separate packages

v0.5.0

24 Mar 19:56
Compare
Choose a tag to compare

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 the secondaryKey -> [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

16 Mar 16:27
Compare
Choose a tag to compare

Fix calls to createObjectStore using a codec and the deprecated arguments.

v0.4.2

15 Mar 17:33
Compare
Choose a tag to compare

Also catch exceptions occurring in user-callbacks.

v0.4.1

11 Mar 21:49
Compare
Choose a tag to compare

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).

v0.4.0

16 Feb 16:31
3ffa7a2
Compare
Choose a tag to compare

Mainly adds support for synchronous transactions.

v0.3.8

19 Dec 18:16
Compare
Choose a tag to compare

Fixes a bug leading to a Transaction stack size exceeded error.

v0.3.7

18 Dec 20:50
Compare
Choose a tag to compare

Replace dumb JSON encoding by more sophisticated encoding (#15).
Add more logging.