Skip to content

Releases: oliver-oloughlin/kvdex

3.0.1

20 Nov 18:21
9d1bdbf
Compare
Choose a tag to compare

fix: directly infer schema type to account for JSR type resolvement #249

3.0.0

19 Nov 23:02
2f4c183
Compare
Choose a tag to compare

This update introduces a few breaking changes and lays the groundwork for future extensions and feature additions. It also brings proper browser compatibility by removing built-in runtime dependencies from the core feature set.

Breaking changes

  • refactor: encoder option for collections replacing the serialize option, with improved extensibility and allowing for browser compatibility #232
  • refactor: move built-in dependencies (node:v8 & node:zlib) from core module to extensions in order to introduce browser compatibility #242
  • refactor: move to single object parameter for kvdex() to allow for future expansion with additional options #243
  • refactor: migrate to import map and remove deno.land/x publishing #244

Additional changes

  • fix: comment out Float16Array & update deno version in test workflow #234
  • fix: simplified import examples by omitting jsr specifier #235
  • refactor: added WatchManager type for watchers #237
  • feat: overwrite option on atomic set #238
  • refactor: reusable index utility #241

2.1.2

01 Nov 17:05
c9aba25
Compare
Choose a tag to compare
  • fix: typo in map docs section: forEach -> map #230 by @argshook

Thanks to @argshook for making their first contribution!

2.1.1

27 Oct 14:41
e4f29f1
Compare
Choose a tag to compare
  • fix: create new Uint8Array from buffer to avoid type incompatibility #228

2.1.0

07 Sep 10:04
a209daf
Compare
Choose a tag to compare
  • feat: support for alternative KV backends, such as Map and localStorage thorugh the kv extension
  • feat: secondary ordering of documents using secondary indices
  • fix: make model optional for collections to improve JS support

2.0.2

10 Aug 12:31
aad9ab6
Compare
Choose a tag to compare
  • fix: updated incorrect docs for setInterval() #223

2.0.1

06 Aug 22:10
4f665db
Compare
Choose a tag to compare
  • fix: expanded base kv interface to increase compatibility with different kv backends

2.0.0

02 Aug 13:22
4dc1210
Compare
Choose a tag to compare
  • feat: Cancellable watchers
  • feat: Infer type of document IDs
  • feat: Full native compatibility with Zod schemas (removed zodModel() helper function)
  • fix: renamed resultLimit option to take to avoid confusion with the limit option
  • chore: Updated dependencies (use std 1.0)
  • chore: Update documentation

1.0.2

06 Jun 02:14
7b0bf2f
Compare
Choose a tag to compare
  • fix: add Float16Array to KvValueSchema #209

1.0.1

04 May 12:53
a5c5fe0
Compare
Choose a tag to compare
  • feat: support for Float16Array