Releases: oliver-oloughlin/kvdex
Releases · oliver-oloughlin/kvdex
Auto Serialize Option
- BREAKING CHANGE: replaced
serialize: true
option withserialize: "auto"
Updated JSDoc
Merge pull request #132 from oliver-oloughlin/patch/update-readme chore: updated readme
JSON serializer for Deploy
- BREAKING CHANGE: added JSON serializer to support Deploy runtime (auto-defaulted)
- BREAKING CHANGE: changed default id generator from
crypto.randomUUID()
toulid()
- optimization: use deno std
deepMerge()
instead of customdeepMerge
- optimization: use deno std
concat()
instead of custom concatenation logic
Correct interval key prefix
- Fix: use correct key prefix for interval keys
Protect against reinitalizing intervals/loops
- BREAKING CHANGE: Added named intervals and loops to protect against duplicate initializations.
- Refactored writing of document data to use a single atomic operation to avoid inconsistencies.
Note support for different verisons of Deno
Merge pull request #122 from oliver-oloughlin/patch/fix-tests Patch/fix tests
Added Loops
Merge pull request #120 from oliver-oloughlin/feature/loop feat: added loop()
QueueValue Zod Schema
- Added QueueValueSchema to /ext/zod.ts extension
- Changed zodModel() to use z.input to infer input models
Unified collections & Serialization/Compression
This release unified all collection types into one, providing simpler collection building and better combined features.
Large collection functionality has been replaced with serialization + compression which is both more performant and greatly more storage efficient.
Indices are now also serialized and compressed, which means all KvValue types are available for indexing, not just KvId.
This update is breaking for stored index entries, large collection documents and all collection types.
Merged assymetric models into normal model strategy
Merges the assymetric model strategy into the normal model()
function.
Assymetric models can be created by providing a transform function as argument.