- feat: migrate to @deno/kv-utils (68f23a0)
- feat: add
byteLength
to JSON serialization of byte arrays (2615a07)
- fix: add
.watch()
method to toolbox (d7c916f)
-
feat: make sizeOf public (738b6bf)
sizeOf()
was previously just internal, but it is generally useful when working with Deno KV to be able to estimate the size of keys and values. The Deno KV documentation currently suggests using the length ofJSON.stringify()
string, which can be very problematic when dealing with complex values that don't serialize to JSON but are storable in Deno KV.
- fix: make json module browser compatible (422df76)
-
feat: arrays, objects, maps and sets are deeply serialized (bf8f285)
Previously only value supported by JSON directly were serialized as values and keys of arrays, objects, maps and sets. While kv-toolbox can deserialize the old format, it supports a new JSON format that allows all value supported by Deno KV to be properly serialized and deserialized.
-
docs: update changelog (38bd7cd)
- fix: properly handle
Infinity
andNaN
(410d214) - chore: type updates for Deno 2 (b6e565b)
- feat: add toolbox APIs (1e0842f)
- feat: add default export (0600060)
- feat: add ability to retrieve response with toolbox (b0281f6)
- feat: add blob as JSON to toolbox (6bf5d7d)
- fix: default export (335bcd7)
- fix: add filename to export response on toolbox (af2441a)
- chore: update deps and Deno v2 (64bfe85)
- chore: update crypto bench (2485218)
- docs: update verbiage in README (#14)
- docs: fix inline doc refs (72c580b)
- feat: support DataView in JSON (3ce809b)
- feat: initial implementation of crypto (77f0df0)
- chore: add superserial to byte_size bench (2e9aa1e)
- chore: update std version (b519f94)
- tests: fix fragile size_of test (c33207e)
- feat: add
toBlob()
(9b874dc) - fix: type check blob set values (f2aa18c)
- fix: harden reading blob parts out of store (89e7de3)
- fix: use sizeOf instead of V8 serialize (7db9e63)
- fix: change max atomic transaction byte limit (b89d680)
- chore: exclude tests from publish (bf75d36)
- feat: make batched_atomic loadable on web (798d991)
-
feat: re-work batching for batchedAtomic to align to current Deno KV (e3c8136)
batchedAtomic()
now aligns to current versions of Deno KV in how it decides where to segment atomic transactions. Because of the much higher increases users should consider only usingbatchedAtomic()
when dealing with potentially large transactions where potentially failing due to the size restriction is awkward or difficult. -
feat: align blob set and get to Deno.Kv APIs (923faf1)
BREAKING Previously
set()
resolved with void andget()
resolved with a value ornull
. In addition,getMeta()
resolved with a value.Now
set()
resolves with aDeno.KvCommitResult
andget()
andgetMeta()
resolve with aDeno.KvEntryMaybe
with the appropriate type. -
feat: add support for checking blobs in batched_atomic (389730a)
batchedAtomic()
transactions now support.checkBlob()
checks as part of an atomic transaction. -
feat: add
getAsResponse()
to blob (796ed64)getAsResponse()
will retrieve a blob entry as aResponse
which will stream the blob from the store to a client. -
chore: linting in blob_util (bd6b888)
-
docs: update readme about batchAtomic (bca0fb6)
-
docs: improvements to inline keys docs (023c79c)
- feat: add getMeta() for blobs (2d1e060)
- feat: store size for blobs (34b8aa1)
- feat: add blob support to uniqueCount (2a0c155)
- feat: add JSON support for blob (ad680c9)