Skip to content

Latest commit

 

History

History
873 lines (493 loc) · 31.4 KB

CHANGELOG.md

File metadata and controls

873 lines (493 loc) · 31.4 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v1.10.2

compare changes

🩹 Fixes

  • http, server: Handle missing resources with http 404 (#367)
  • pkg: Make ioredis dependency optional (#410)
  • vercel-kv: Add missing driver name (#355)
  • setItems: Call driver native setItems only to avoid duplicate write (#392)
  • getItems, setItems types (#395)

💅 Refactors

  • cloudflare-kv, cloudflare-r2: Move getBindings to utils and add default BUCKET for r2 (#292)
  • netlify-blobs: Update to v7 (#407)

📖 Documentation

  • planetscale: Correct table option name (#359)
  • vercel-kv: Fix typo (#362)
  • Refactor with unjs-docs and nuxt ui pro (#374)
  • Improvements (a64e941)
  • Fix links and add redirects (166498f)
  • Update unjs-docs version and add redirects (f2a408d)
  • Fix typo in http-server (#385)
  • Update deps (bfbf423)
  • Update link (#408)

📦 Build

  • Update mkdist for cjs dist hotfix (cae8533)

🏡 Chore

✅ Tests

  • Skip netlify-blobs for now (75b2353)
  • http: Add tests for null value (#365)

❤️ Contributors

v1.10.1

compare changes

📦 Build

  • Update mkdist for cjs dist hotfix (cae8533)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.10.0

compare changes

🚀 Enhancements

  • Add netlify-blobs driver (#337)

🩹 Fixes

  • server: Read body as string (dfda25f)
  • azure-key-vault-driver: Fix character encoding (#308)
  • lru-cache, memory, mongodb, redis: Return falsy values when set in storage (#320)

📖 Documentation

  • Fix memory driver description (#286)
  • fs: Fix typo (#290)
  • Fix typo in getMount usage (#297)
  • Update deps (#310)
  • indexedb: Fix typo in import (#327)

🏡 Chore

✅ Tests

  • mongo: Update and disable tests (44ffe1d)

🤖 CI

❤️ Contributors

v1.9.0

compare changes

🚀 Enhancements

  • Expose BuiltinDriverOptions type (#273)
  • vercel-kv: Support ttl for setItem (#269)
  • Add indexedb driver (#221)
  • Add capacitor-preferences driver (#283)
  • fs-lite driver (#284)

🩹 Fixes

  • cloudflare-r2-binding: Get binding for r2 getMeta (#272)

💅 Refactors

  • Fix typo in removeMeta option for removeItem (#281)

📖 Documentation

🏡 Chore

🎨 Styles

  • Format with prettier v3 (22b797e)

❤️ Contributors

v1.8.0

compare changes

🚀 Enhancements

  • Experimental operation batching (#240)
  • cloudflare-kv: Support base option for keys (#261)
  • cloudflare-r2-binding driver (#235)

🩹 Fixes

  • Add missing cloudflareR2Binding to the builtinDrivers (48d6842)

📖 Documentation

🏡 Chore

  • Update dev dependencies (ba44aed)

✅ Tests

  • Add test for github driver (#259)

❤️ Contributors

v1.7.0

compare changes

🚀 Enhancements

  • Generic type support (#237)

💅 Refactors

  • Fix issues with typescript strict (#250)

📖 Documentation

🏡 Chore

🤖 CI

❤️ Contributors

v1.6.1

compare changes

🩹 Fixes

  • prefixStorage: Prefix getItemRaw and setItemRaw (#232)
  • github: FetchFiles should return files (#229)

💅 Refactors

🏡 Chore

✅ Tests

  • Skip cloudflare-kv-http on node >= 18 (33bc9c0)

❤️ Contributors

v1.6.0

compare changes

🚀 Enhancements

  • Add vercel-kv driver (#213)

🩹 Fixes

  • redis: Support getKeys and clear with base (#216)
  • azure-cosmos: Always cast mtime to Date (129a935)

💅 Refactors

  • Use shared util for driver errors (5ecca54)

📖 Documentation

  • vercel-kv: Add beta notice (7a75f5f)

🏡 Chore

✅ Tests

❤️ Contributors

v1.5.0

compare changes

🚀 Enhancements

  • drivers: Added session storage driver (#179)
  • lru-cache: Upgrade to lru-cache v9 (5b8fc62)

🩹 Fixes

  • Removed duplicate line (#190)
  • planetscale: Fix hasItem (#200)
  • github: Optional properties (#196)
  • cloudflare: Allow lazy access to env bindings (#202)

📖 Documentation

🏡 Chore

❤️ Contributors

v1.4.1

compare changes

🩹 Fixes

  • pkg: Use optional peer dependencies (#183)

📖 Documentation

🏡 Chore

❤️ Contributors

v1.4.0

compare changes

🚀 Enhancements

  • lru-cache: Support size calculation (#177)
  • Expose name and options from driver instances (#178)
  • http: Support custom headers (4fe7da7)

🩹 Fixes

  • lru-cache: Use max instead of maxSize (012fc62)
  • redis: Remove trailing : from base (82647e0)

📖 Documentation

  • Fix 404 links in readme (4a63a54)

🏡 Chore

✅ Tests

❤️ Contributors

v1.3.0

compare changes

🚀 Enhancements

  • server: Support authorize (#175)
  • server: Support resolvePath (4717851)

🩹 Fixes

  • redis: Remove strict options validation (9294121)
  • redis: Respect both global and operation options for ttl (a491333)
  • pkg: Move types field to the first (f2b08f6)
  • pkg: Export compat types for /server subpath (3cc2c48)

📖 Documentation

  • Update snapshots page (4619326)
  • Improvements on http server (a4b8fb8)

🏡 Chore

❤️ Contributors

v1.2.0

compare changes

🚀 Enhancements

  • mongodb driver (#155)
  • azure-storage-blob driver (#154)
  • azure-cosmos driver (#158)
  • azure-key-vault driver (#159)
  • azure-app-configuration driver (#156)
  • azure-storage-table (#148)
  • getMount and getMounts utils (#167)
  • Allow passing transaction options to drivers (#168)
  • redis: Support native ttl (#169)
  • http and server improvements (#170)

🩹 Fixes

  • redis: Fix clear method (#163)

💅 Refactors

  • redis: Driver improvements (#160)

📖 Documentation

  • Start splitting docs (6bca2a8)
  • Add docs website (#166)

🏡 Chore

  • Remove unused dependencies (#153)
  • Add vercel.json (10d2610)

✅ Tests

  • Add unit test for redis driver (#164)

❤️ Contributors

v1.1.5

compare changes

🏡 Chore

❤️ Contributors

v1.1.4

compare changes

🩹 Fixes

  • Strip query param from keys (cc3ebb7)

❤️ Contributors

v1.1.3

compare changes

🩹 Fixes

  • Allow stringify array (#147)

❤️ Contributors

v1.1.2

compare changes

📦 Build

❤️ Contributors

v1.1.1

compare changes

📦 Build

  • Fix output drivers to top level drivers (ff3959c)

❤️ Contributors

v1.1.0

compare changes

🚀 Enhancements

  • Serialize values implementing toJSON() (#139)
  • Experimental raw data support (#141)
  • driver: Add planetscale driver (#140)
  • fs: Support readOnly and noClear options (f2dddbd)
  • fs: Support birthtime and ctime meta (#136)
  • lru-cache driver (#146)

🩹 Fixes

  • cloudflare: Pass params to kv request (#138)
  • planetscale: Use birthtime for created_at value (#144)
  • Update driver defenition types (#143)

💅 Refactors

  • Use type import for node builtin (#133)

📖 Documentation

  • Fix readme typo (#134)
  • Add experimental link for raw support (98a6466)

📦 Build

  • Provide backwards-compatible type entries (#132)

🏡 Chore

🎨 Styles

  • Format and lint code (fd4e006)
  • Format readme with prettier (ec7c7c2)

❤️ Contributors

1.0.1 (2022-11-15)

1.0.0 (2022-11-15)

0.5.0 (2022-06-13)

⚠ BREAKING CHANGES

  • rename cloudflare-kv to cloudflare-kv-binding

Features

0.4.1 (2022-05-04)

Features

  • expose key utils normalizeKey, joinKeys and normalizeBaseKey (be81fa8)

0.4.0 (2022-05-02)

⚠ BREAKING CHANGES

  • use ./dist for all subpath exports

Features

Bug Fixes

build

  • use ./dist for all subpath exports (4f2a211)

0.3.3 (2021-11-18)

Bug Fixes

0.3.2 (2021-11-05)

Features

  • create driver for Cloudflare KV store (#30) (5f2f677)

0.3.1 (2021-11-04)

Bug Fixes

  • build: use cjs extension for drivers (#29) (e42cea2)

0.3.0 (2021-10-22)

⚠ BREAKING CHANGES

  • pkg: update depenencies and use explicit cjs extension

Features

  • pkg: update depenencies and use explicit cjs extension (477aa26)

0.2.9 (2021-10-06)

Features

  • allow driver getKey to receive base key (#26) (9fd89b1)

0.2.8 (2021-09-09)

Bug Fixes

  • prefixStorage: handle when key is not provided (#18) (3c754cb)

0.2.7 (2021-09-09)

0.2.6 (2021-09-08)

Features

  • namespaced storage (prefixStorage) (d58beaa)

0.2.5 (2021-09-08)

Features

  • support readonly drivers without setItem, removeItem and clear (22de631)

0.2.4 (2021-09-08)

Features

Bug Fixes

  • omit meta keys for getKeys (34dec7d)

0.2.3 (2021-06-07)

Bug Fixes

0.2.2 (2021-05-24)

Bug Fixes

0.2.1 (2021-05-24)

Bug Fixes

  • pkg: use unbuild and fix drivers/* export (251182b)

0.2.0 (2021-05-24)

⚠ BREAKING CHANGES

  • update dependencies and use mjs for drivers build

Bug Fixes

  • http: use isolated utils (fc4b23b)

  • update dependencies and use mjs for drivers build (e7a6c27)

0.1.6 (2021-05-24)

Bug Fixes

  • fallback value for readdir (ea7d73b)

0.1.5 (2021-04-16)

Bug Fixes

  • fs: race condition for ensuredir (437cc76)

0.1.4 (2021-04-14)

0.1.3 (2021-04-14)

Features

0.1.2 (2021-03-24)

Bug Fixes

  • fs-drivers: typo in error message (0e7e063)
  • pkg: avoid extra index build (5233de6)

0.1.1 (2021-03-13)

Bug Fixes

  • move defineDriver to driver/utils (6ddaceb)

0.1.0 (2021-03-13)

⚠ BREAKING CHANGES

  • restoreSnapshot
  • simplify mount usage

Features

  • allow passing default driver to factory fn (bbca3c3)
  • restoreSnapshot (6e75a61)
  • simplify mount usage (3eccf84)

Bug Fixes

0.0.4 (2021-03-12)

Bug Fixes

0.0.3 (2021-03-11)

Features

  • unstorage command for standalone server (171eb37)
  • server: returns keys on get if val not found (79fd997)
  • support more http methods (45d4771)
  • support storage server (5240591)

Bug Fixes

  • handle mountpoints qurty shorter than mountpoint (9cc1904)

0.0.2 (2021-03-11)

Features

Bug Fixes

  • add mount prefix to watch key (0bb634d)

0.0.1 (2021-03-11)

Features

Bug Fixes