Skip to content

Releases: unjs/unstorage

v1.13.1

01 Nov 13:14
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Revert chokidar to v3 (#502)

v1.13.0

31 Oct 15:52
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Bump chokidar v4 (#489)
  • Add null driver (#495)

🩹 Fixes

  • cloudflare-kv: Use min TTL of 60 seconds (#496)

💅 Refactors

  • netlify: Support @netlify/blobs v8 and improve options types (#486)
  • cli: Migrate to citty (#498)

📖 Documentation

  • Missing values return null (#487)

❤️ Contributors

v1.12.0

06 Sep 13:39
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • http, server: Support native ttl (#479)

v1.11.1

04 Sep 14:15
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • cloudflare-kv-binding: Add missing base argument on getKeys (#475)

❤️ Contributors

v1.11.0

04 Sep 10:35
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add keys, get, set, has and del aliases (#402)
  • Expose underlying client instance with driver.getInstance() (#446)
  • cloudflare-kv-binding: Support ttl for setItem (#470)
  • cloudflare-kv-http: Support ttl for setItem (#448)

🔥 Performance

  • getKeys: Avoid duplicate iteration (#386)
  • Use direct array access instead of endsWIth (#387)

🩹 Fixes

  • cloudflare-kv-binding: Allow passing transaction options for setItem to binding.put (#423)
  • Fix driver types (#433)
  • server: Avoid decoding raw request body (#434)
  • cloudflare-kv-binding: Go through all pages to list the keys (#459)

📖 Documentation

  • Using undocs package manager component (#414)
  • Fix link (#429)
  • Fix typographical errors (#432)
  • Jsdocs for the server functions (#438)
  • Improve drivers (f6f547e)

❤️ Contributors

v1.10.2

14 Mar 12:17
@pi0 pi0
Compare
Choose a tag to compare

compare changes

Important

Redis: ioredis is an optional dependency. Please make sure to install it in your project.

Important

Netlify Blobs: There has been a change in the way global blob stores are stored in @netlify/blobs version 7.0.0 which means that you will not be able to access objects in global stores created by older versions until you migrate them. Please follow migration steps in the docs.

🩹 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)
  • Fix getItems, setItems generic 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)
  • Improvements (a64e941)
  • Fix links and add redirects (166498f)
  • Fix typo in http-server (#385)

✅ Tests

  • http: Add tests for null value (#365)

❤️ Contributors

v1.10.1

15 Nov 00:43
@pi0 pi0
Compare
Choose a tag to compare

compare changes

📦 Build

  • Update mkdist for cjs dist hotfix (cae8533)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.10.0

14 Nov 17:42
@pi0 pi0
df064af
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

🩹 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)

🤖 CI

  • Test against Node.js 18 (ad09e94)

❤️ Contributors

v1.9.0

07 Aug 23:44
@pi0 pi0
820a626
Compare
Choose a tag to compare

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

04 Jul 15:59
@pi0 pi0
4386798
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Experimental operation batching with getItems and setItems (#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