Skip to content

Releases: Belphemur/node-json-db

v2.6.0

10 Mar 13:22

Choose a tag to compare

2.6.0 (2026-03-10)

Features

  • add serialization support for Set, Map, Date, RegExp, and BigInt via ISerializer contract (#1136) (ac65a44)

v2.5.0

16 Feb 15:36

Choose a tag to compare

2.5.0 (2026-02-16)

Bug Fixes

  • config: remove type of cypherKey check (aac47ad)
  • encryption: have different suffix for encrypted file to avoid possible conflict with existing setup (6606fea)
  • make setEncryption idempotent and handle custom extensions (a97b2a3)
  • test: ciphered file test on too small symmetric key, and ecyprtion data result compare to original data (a34f2e6)
  • test: error message to check for cipherkey to small (b28799b)
  • test: missing test case on string key length too small (3c02a4d)
  • test: typo + unused var (94a48b3)

Features

  • adapters: better error handling (08d83b9)
  • adapters: remove unecessary key const (f32991a)
  • add .enc.json extension for encrypted databases (5f88570)
  • config: better check of encryption key length (1d4926e)
  • config: clearer cipher key length check (e95b653)
  • encryption: add ciphered file adapter and encryption method for config (abf87c0)
  • encryption: Add encryption to the database (34887e8), closes #1113
  • encryption: add support of symmetric key (16f4992)
  • test: add more coverage on missing decryption data (ca85c6d)
  • test: better coverage on errors (a3c6fc8)
  • test: remove error message expected (d401ee8)

v2.4.2

07 Nov 03:31

Choose a tag to compare

2.4.2 (2025-11-07)

Bug Fixes

  • restore class exports for DataError, DatabaseError, and adapters (#1071) (210a519), closes #1069

v2.4.1

30 Oct 12:24

Choose a tag to compare

2.4.1 (2025-10-30)

Bug Fixes

  • remove type-only export for Config classes (#1064) (7f3325f)

v2.4.0

17 Oct 14:51

Choose a tag to compare

2.4.0 (2025-10-17)

Bug Fixes

  • lock: memory allocation (c24199a)

Features

  • locking: rewrite the locking mechanism to remove dependency (0beb0ff)

v2.3.2

16 Oct 16:15

Choose a tag to compare

2.3.2 (2025-10-16)

Bug Fixes

  • tests: fix issue with testing framework (94e3cfe)
  • utf8: add support for UTF-8 in arrays (611f6b4), closes #550

v2.3.1

23 Jan 16:25

Choose a tag to compare

2.3.1 (2025-01-23)

Bug Fixes

v2.3.0

16 Oct 19:18

Choose a tag to compare

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

09 Apr 21:22

Choose a tag to compare

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

14 Mar 13:58

Choose a tag to compare

2.1.5 (2023-03-14)

Performance Improvements

  • Interoperability: Export underlying adapter type to let developers customize the storage logic (cfa874e), closes #568