Skip to content

Releases: cross-org/kv

0.17.3

30 Nov 00:08
Compare
Choose a tag to compare

Changes

  • Dependency update

Full Changelog: 0.17.2...0.17.3

0.17.2

04 Oct 19:34
Compare
Choose a tag to compare

Changes

  • Fixes to ensure compatibility with Deno 2.0

Full Changelog: 0.17.1...0.17.2

0.17.1

19 Sep 21:12
Compare
Choose a tag to compare

0.17.1

  • Fix missig awaits when closing file descriptor
  • Ensure file is locked by the current process before writing anything

Full Changelog: 0.17.0...0.17.1

0.17.0

16 Sep 19:14
Compare
Choose a tag to compare

0.17.0

  • Add parameter ignoreTransactionErrors to open() and sync().
  • Make cli open and open:noindex ignore errors by default.
  • Add cli command repair
  • Add optional parameter ignoreReadErrors to commands open, sync, scan
    and vacuum
  • Fix problem with murmurHash implementation
  • Allow using different hashing algorithms per database version

Full Changelog: 0.16.5...0.17.0

0.16.5

09 Sep 21:20
Compare
Choose a tag to compare

Changes

  • Makes cli commands open and close more resilient to unexpected behavior.
  • Dependency update.

Full Changelog: 0.16.4...0.16.5

0.16.4

04 Sep 21:20
Compare
Choose a tag to compare

Changes

  • Refactor of file locks during vacuum operations

Full Changelog: 0.16.3...0.16.4

0.16.3

02 Jul 19:53
Compare
Choose a tag to compare

0.16.3

  • Added KV.defer(promiseToHandle, [errorHandler], [timeoutMs]) method to allow
    non-awaited promises to be tracked and settled during KV.close().
    • errorHandler (optional): A function to handle errors that occur during
      promise resolution/rejection. If not provided, errors will silently ignored.
    • timeoutMs (optional): A timeout (in milliseconds) for promise resolution.
      If the promise doesn't settle within this time during KV.close(), a
      warning will be logged. Defaults to 5000ms.
  • Fix cli tool not being able to open any database after a failed open
  • Code refactors

Full Changelog: 0.16.2...0.16.3

0.16.2

15 Jun 23:22
Compare
Choose a tag to compare

Changes

  • Fix for Node.js; use readline instead of prompt.

0.16.1

15 Jun 20:23
Compare
Choose a tag to compare

Changes

  • Fixes regression where Node.js did not treat subarrays of buffers as expected

0.16.0

15 Jun 19:42
Compare
Choose a tag to compare

Breaking change, databases created using earlier versions is not compatible with 0.16.0 and up.

Changes

  • Use 32 bit MurmurHash3 (from new dependency npm:ohash) instead of SHA-1 for transaction integrity check, saving time and storage
  • Precalculate the Uint32Array of the transaction signature, improving performance
  • Use CBOR-encoding of key instead of custom implementation, improving performance
  • Avoid copying arraybuffers in certain situations
  • Prefetch data on transaction read, severely reducing the number of disk reads