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.
setItemsnow takes an optional third argSetItemOptions, allowing an expiry time to be passed
- BREAKING:
listItemstakes aListItemsOptionsas it's second arg instead of justreverseboolean
- Moved to
@storagescope @jollytoad/storerenamed to@storage/main
- [store-extend] new package providing
extendStorefn
- [store-common/test-storage-module] fix
testIsWriteable->testIsWritabletypo
- some relative imports to bare module specifiers in tests
copyItemsandmoveItemsoptional 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
- [store] support for multiple delegated storage modules, based on the key prefix
- update to Deno 2+
- [store] remove dep on
@cross/env
- [store-node-fs] Node.js compatible file storage
- [store-deno-kv] & [store-deno-kv-fs] renamed
getKv()togetDenoKv()
- [store-deno-kv/get-deno-kv] utility function
getDenoKv()to obtainDeno.Kvfrom a store if it exposes agetDenoKv()function
- stricter TS options, add
import typewhere necessary
- [store] use cross-platform env var checking
- [store-deno-kv] & [store-deno-kv-fs] export
getKv()function
- [store-no-op] a no-op implementation of the interface
- Initial release on JSR