Skip to content

Releases: oliver-oloughlin/kvdex

Assymetric Models

15 Nov 21:10
7b578b6
Compare
Choose a tag to compare

Added assymetric models to support asymmetric input/output types.
This allows for native support for default values, as well as mapped/derived values.

Zod Kv-Schemas

13 Nov 14:52
325ce15
Compare
Choose a tag to compare

Added Zod schemas for kv-types: KvId, KvValue, KvObject and KvArray.
Schemas are available through the /ext/zod.ts extension.

Additional "bySecondary" methods

12 Nov 23:57
e646db1
Compare
Choose a tag to compare
  • Added countBySecondaryIndex() method
  • Added forEachBySecondaryIndex() method
  • Added mapBySecondaryIndex() method
  • Removed cron() method and all related types

Correctly infer types on selected documents

12 Nov 18:51
3cfae31
Compare
Choose a tag to compare
v0.19.6

Merge pull request #106 from oliver-oloughlin/patch/fix-incorrect-sel…

Fixed broken imports

12 Nov 02:10
1263eda
Compare
Choose a tag to compare
Merge pull request #105 from oliver-oloughlin/patch/import-fix

fix: switched back to relatvie imports to fix import typing errors

Fixed broken indexable collection types when using zodModel()

12 Nov 01:29
0b72f93
Compare
Choose a tag to compare
v0.19.4

Merge pull request #104 from oliver-oloughlin/patch/fix-zod-model-ind…

Zod Model Extension

11 Nov 19:13
b9bd80f
Compare
Choose a tag to compare
  • Updated value insert examples.
  • Added extensions (only contains one Zod extension in this update).

Deep Merge Update

04 Nov 01:55
401199b
Compare
Choose a tag to compare

This release adds optional deep merging to all update methods.

Optimizations and Fixes

03 Nov 22:30
b47994b
Compare
Choose a tag to compare
Merge pull request #99 from oliver-oloughlin/hotfix/optimizations

fix: correctlyuse large collection for parsed large collection tests

Added db.setInterval(). deprecated db.cron(), performance improvements

03 Nov 16:33
7fe38b0
Compare
Choose a tag to compare

This release sees the addition of a new db.setInterval() method which is intended to replace the now deprecated db.cron() method.
Additionally, performance has been improved for all delete operations by utilizing a new AtomicWrapper utility class.
Performance has also been improved for count operations.

Breaking changes:

  • collection.addMany() now returns a single commit result/error
  • db.cron() now returns a listener promise instead of an id.