Releases: cross-org/kv
Releases · cross-org/kv
0.15.11
Changes
- Remove option doLock from
.sync()
- Remove unused code from
key.ts
- Add benchmark for getting data that does not exist
- Rename internal function
toAbsolutePath
totoNormalizedAbsolutePath
and
clarify code with additional comments - Adds various missing test to reduce the risk for regression bugs
Full Changelog: 0.15.10...0.15.11
0.15.10
0.15.9
0.15.8
Changes
- Remove sync result
noop
as isn't used anywhere anymore. - Adds
fetchData
option toscan
. Setting this tofalse
enables faster
retrieval of transaction metadata. - Change the
stats
cli command to use the new fast scan. - Fix ledgerPath not being reset on close.
- Adds missing commands to the cli
help
output. - Remove
a.bridge() // this is bridge
-comments
Full Changelog: 0.15.7...0.15.8
0.15.7
0.15.6
0.15.5
Additions
- Add argument
reverse
toiterate
andlistAll
to allow almost instant
queries for "last x transactions matching query y". - Reduce lock time on writing new transactions.
- Optimize the logic of writing new transactions.
Fixes
- Make sure the results of
iterate
andlistAll
are returned in insertion
order, or reverse insertion order ifreverse
is set.
Full Changelog: 0.15.4...0.15.5
0.15.4
0.15.3
0.15.2
Additions
- Added a constant factor
LEDGER_CACHE_MEMORY_FACTOR
to approximate the actual memory used by the ledger cache, based on raw data size. - Added a
recursive
option to.scan()
to allow recursively counting transactions in the ledger. - Added
unlock
-command to the cli interface, to allow manually unlocking a database from a crashed process.
Changes
- Renamed the CLI command
sysinfo
tostats
and added ledger statistics. - Increase
LOCK_STALE_TIMEOUT_MS
from 60 seconds to 3 hours, to allow longer running queries.
Fixes
- Fixed a problem where records were overwritten during large atomic transaction writes.
- Improved error handling in cli commands.
- Fixed error where ledger was unlocked instantly after a failed locking operation.