Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-01 | fix(ext/kv): expose Deno.AtomicOperation (#19674) | Luca Casonato | |
2023-06-27 | fix(kv): assertReject should always be awaited (#19612) | Heyang Zhou | |
2023-06-26 | chore: fix typos (#19572) | Martin Fischer | |
2023-06-17 | chore(kv) fix and re-enable queue test (#19529) | Igor Zinkovsky | |
The callback draining code is no longer needed after #19513. | |||
2023-06-15 | chore(ext/kv): disable flaky test (#19522) | Heyang Zhou | |
2023-06-14 | chore(kv) another fix for queue flaky test (#19513) | Igor Zinkovsky | |
2023-06-14 | chore(kv) fix flaky queue test (#19495) | Igor Zinkovsky | |
2023-06-13 | feat(kv) queue implementation (#19459) | Igor Zinkovsky | |
Extend the unstable `Deno.Kv` API to support queues. | |||
2023-05-03 | fix(ext/kv): throw on the Kv constructor (#18978) | Luca Casonato | |
Closes #18963 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-05-03 | fix(ext/kv): KvU64#valueOf and KvU64 inspect (#18656) | Luca Casonato | |
`new Deno.KvU64(1n) + 2n == 3n` is now true. `new Deno.KvU64(1n)` is now inspected as `[Deno.KvU64: 1n]` (`Object(1n)` is inspected as `[BigInt: 1n]`). --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-04-29 | fix(ext/kv): stricter structured clone serializer (#18914) | Luca Casonato | |
2023-04-27 | feat(kv): return ok bool from atomic commit (#18873) | Luca Casonato | |
2023-04-26 | feat(ext/kv): add more atomic operation helpers (#18854) | Ryan Dahl | |
Co-authored-by: losfair <zhy20000919@hotmail.com> Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2023-04-11 | fix(ext/kv): keys must be arrays (#18655) | Luca Casonato | |
There was some leftover code from previous iterations, where keys could be single parts instead of arrays also. This didn't match the types. | |||
2023-03-30 | fix(dts): improve types for the Deno.KV API (#18510) | Luca Casonato | |
2023-03-30 | feat(ext/kv): return versionstamp from set/commit (#18512) | Luca Casonato | |
This commit updates the `Deno.Kv` API to return the new commited versionstamp for the mutated data from `db.set` and `ao.commit`. This is returned in the form of a `Deno.KvCommitResult` object that has a `versionstamp` property. | |||
2023-03-25 | chore(ext/kv): add limits (#18415) | Heyang Zhou | |
2023-03-24 | fix(ext/kv): add missing `getMany` method (#18410) | Heyang Zhou | |
The `getMany` method was missing from the implementation of the `Deno.Kv` class. This patch fixes it. | |||
2023-03-22 | fix(ext/kv): reverse mapping between `AnyValue::Bool` and `KeyPart::Bool` ↵ | Heyang Zhou | |
(#18365) Previously the mapping between `AnyValue::Bool` and `KeyPart::Bool` was inverted. This patch also allows using the empty key `[]` as range start/end to `snapshot_read`. | |||
2023-03-22 | chore(ext/kv): disable ci tests on darwin (#18364) | Heyang Zhou | |
https://github.com/denoland/deno/issues/18363 | |||
2023-03-22 | Revert "refactor: rename Deno.openKv() to Deno.kv() (#18349)" (#18362) | Ryan Dahl | |
This reverts commit 50b793c9ed866ee29e8f04b4fa24b485b01a2b74. | |||
2023-03-22 | refactor: rename Deno.openKv() to Deno.kv() (#18349) | Ryan Dahl | |
2023-03-22 | fix(ext/kv): don't request permissions for ":memory:" (#18346) | Nayeem Rahman | |
Currently `Deno.openKv(":memory:")` requests read+write permissions for `./:memory:` even though no file is read or written. Also added some guards for special sqlite paths that were unintentionally opted into. | |||
2023-03-22 | feat(ext/kv): key-value store (#18232) | Heyang Zhou | |
This commit adds unstable "Deno.openKv()" API that allows to open a key-value database at a specified path. --------- Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |