Skip to content

Latest commit

 

History

History
105 lines (60 loc) · 2.04 KB

File metadata and controls

105 lines (60 loc) · 2.04 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.10.0]

Added

  • setItems now takes an optional third arg SetItemOptions, allowing an expiry time to be passed

[0.9.0]

Changed

  • BREAKING: listItems takes a ListItemsOptions as it's second arg instead of just reverse boolean

[0.8.0]

Changed

  • Moved to @storage scope
  • @jollytoad/store renamed to @storage/main

[0.7.0]

Added

  • [store-extend] new package providing extendStore fn

Changed

  • [store-common/test-storage-module] fix testIsWriteable -> testIsWritable typo

Fixed

  • some relative imports to bare module specifiers in tests

[0.6.0]

Added

  • copyItems and moveItems optional extended storage module functions
  • [store-common/test-storage-module] common tests for these new functions
  • [store-common/copy-items] fallback implementation for copyItems
  • [store-common/move-items] fallback implementation for moveItems
  • [store-common/types] new types to represent storage modules with/without extended features

[0.5.0]

Added

  • [store] support for multiple delegated storage modules, based on the key prefix

Changed

  • update to Deno 2+

[0.4.0]

Changed

  • [store] remove dep on @cross/env

Added

  • [store-node-fs] Node.js compatible file storage

[0.3.0]

Changed

  • [store-deno-kv] & [store-deno-kv-fs] renamed getKv() to getDenoKv()

Added

  • [store-deno-kv/get-deno-kv] utility function getDenoKv() to obtain Deno.Kv from a store if it exposes a getDenoKv() function

Fixed

  • stricter TS options, add import type where necessary

[0.2.0]

Changed

  • [store] use cross-platform env var checking
  • [store-deno-kv] & [store-deno-kv-fs] export getKv() function

Added

  • [store-no-op] a no-op implementation of the interface

[0.1.0]

  • Initial release on JSR