Skip to content

Releases: unjs/unstorage

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

v1.7.0

21 Jun 14:34
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Generic type support (#237)

💅 Refactors

  • Fix issues with typescript strict (#250)

📖 Documentation

🏡 Chore

🤖 CI

❤️ Contributors

v1.6.1

24 May 13:29
@pi0 pi0
Compare
Choose a tag to compare

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

05 May 08:16
@pi0 pi0
Compare
Choose a tag to compare

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

16 Apr 13:23
@pi0 pi0
b3efe0c
Compare
Choose a tag to compare

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

17 Mar 19:02
@pi0 pi0
f219b35
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • pkg: Use optional peer dependencies (#183)

📖 Documentation

🏡 Chore

❤️ Contributors