Skip to content

Releases: oliver-oloughlin/kvdex

v0.31.0

13 Jan 13:02
25a821c
Compare
Choose a tag to compare
  • BREAKING: changed API for kvdex.setInterval()
  • BREAKING: changed API for kvdex.loop()
  • BREAKING: separated upsert by id/index into collection.upsert() and collection.upsertByPrimaryIndex()
  • feat: added collection.getOne()
  • feat: added collection.getOneBySecondaryIndex()
  • feat: added collection.updateOne()
  • feat: added collection.updateOneBySecondaryIndex()
  • chore: updated readme
  • chore: updated documentation

Thanks to @chaosharmonic for contributions on collection.getOne() and collection.updateOne()

v0.30.0

02 Jan 02:36
bbf327f
Compare
Choose a tag to compare
  • BREAKING: removed "auto" option for collection serialize.
  • BREAKING: set JSON serializer as default in both Deno and Deploy runtime.

v0.29.1

21 Dec 01:16
5af62c5
Compare
Choose a tag to compare
  • feat: fallback to json serializer if core serializer is not available

v0.29.0

20 Dec 01:28
6c444b7
Compare
Choose a tag to compare
  • BREAKING: refactored all update/upsert methods to allow strategies: replace, merge and merge-shallow
  • BREAKING: removed QueueValue type, replaced with KvValue to enable undefined queue values.

v0.28.3

14 Dec 14:59
770c059
Compare
Choose a tag to compare
  • fix(docs): updated asymmetric model example in readme #149

v0.28.2

14 Dec 05:44
e567cd6
Compare
Choose a tag to compare
  • feat(collection): added support for offset pagination
  • feat(collection): allow all list options for count operations

v0.28.1

14 Dec 00:37
0138331
Compare
Choose a tag to compare
  • fix(types): Exclude types from KvId that are not assignable to KvValue

Nameless `loop()` and `setInterval()`

13 Dec 01:47
a01db14
Compare
Choose a tag to compare
  • BREAKING: removed first "name" argument for loop() and setInterval()
  • Fix: enforce a minimum of 1 second first delay for loop() and setInterval() to ensure queue listeners are registered before the first delivery

Upsert and Version History Pagination

08 Dec 15:27
ae626a9
Compare
Choose a tag to compare
  • Added: upsert() by id and by primary index.
  • Added: support for pagination and filtering for findHistory().
  • BREAKING CHANGE: changed return signature of findHistory() to be in line with other pagination-supported methods.

Watch and Watch Many

07 Dec 01:12
1f8bc3a
Compare
Choose a tag to compare
  • Added: watch() collection method for listening to live updates on a document by id
  • Added: watchMany() collection method for listening to live updates on multiple documents by ids.
  • Changed: deprecated write() in favour of set() and add() with overwrite: true option.