Releases: oliver-oloughlin/kvdex
Releases · oliver-oloughlin/kvdex
Assymetric Models
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
Added Zod schemas for kv-types: KvId, KvValue, KvObject and KvArray.
Schemas are available through the /ext/zod.ts extension.
Additional "bySecondary" methods
- Added
countBySecondaryIndex()
method - Added
forEachBySecondaryIndex()
method - Added
mapBySecondaryIndex()
method - Removed
cron()
method and all related types
Correctly infer types on selected documents
v0.19.6 Merge pull request #106 from oliver-oloughlin/patch/fix-incorrect-sel…
Fixed broken imports
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()
v0.19.4 Merge pull request #104 from oliver-oloughlin/patch/fix-zod-model-ind…
Zod Model Extension
- Updated value insert examples.
- Added extensions (only contains one Zod extension in this update).
Deep Merge Update
This release adds optional deep merging to all update methods.
Optimizations and Fixes
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
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.