Releases: unjs/unstorage
Releases · unjs/unstorage
v1.14.0
🌟 New drivers
- Upstash Redis (#500)
- SQL Database (db0) (#476)
- Vercel Blob (#472)
- Deno KV (#521)
- S3 (#361)
- UploadThing (#390)
🚀 Enhancements
- cloudflare-r2-binding: Allow specify raw type (#519)
- indexedb: Support raw storage (#520)
- Typed storage Interface (#509)
- Support raw conversion in runtimes without
Buffer
support (#364)
🩹 Fixes
- cloudflare-r2-binding: Return
null
for non existinggetItem
(fb8e00e) - upstash: Drop
base
prefix fromkeyKeys
(8711a94) - Capture stacktrace of thrown errors (c704fef)
- http: Return
arrayBuffer
forgetItemRaw
(#527) - localstorage: Use
base
forclear
andgetKeys
(#529)
💅 Refactors
- More strict type checks (c8ed5cf)
- cloudflare-kv-http: Use new bulk delete api for
clear()
(0231775) - Reuse
localstorage
logic forsession-storage
(#530)
📖 Documentation
- Add notes about nightly channel (de31652)
- netlify: Add
consistency
option (#525) - cloudflare: Add note about r2 over http (1f2d444)
📦 Build
✅ Tests
- cloudflare: Use wrangler dev proxy (#518)
- Enable
cloudflare-r2-binding
tests (0c4d9fd) - upstash, vercel-blob: Use random base (65a10cc)
- cloudflare-kv-http: Use sandbox tests (8043897)
❤️ Contributors
- Pooya Parsa (@pi0)
- Jan-Henrik Damaschke (@itpropro)
- Julius Marminge (@juliusmarminge)
- Becem (@becem-gharbi)
- Matt Kane (@ascorbic)
- Wzc520pyfm (@wzc520pyfm)
- Daniel Roe (@danielroe)
- Ray (@so1ve)
- Xin (@PikiLee)
- Balázs Németh (@zsilbi)
- Ahmed Rangel (@ahmedrangel)
- Fahreddin Özcan (@fahreddinozcan)
v1.13.1
v1.13.0
🚀 Enhancements
🩹 Fixes
- cloudflare-kv: Use min TTL of
60
seconds (#496)
💅 Refactors
📖 Documentation
- Missing values return
null
(#487)
❤️ Contributors
- Alexander [email protected]
- Pooya Parsa (@pi0)
- ToBinio (@ToBinio)
- V1rtl (@talentlessguy)
- Philippe Serhal (@serhalp)
- Renato Lacerda [email protected]
v1.12.0
v1.11.1
v1.11.0
🚀 Enhancements
- Add
keys
,get
,set
,has
anddel
aliases (#402) - Expose underlying client instance with
driver.getInstance()
(#446) - cloudflare-kv-binding: Support
ttl
forsetItem
(#470) - cloudflare-kv-http: Support
ttl
forsetItem
(#448)
🔥 Performance
🩹 Fixes
- cloudflare-kv-binding: Allow passing transaction options for
setItem
tobinding.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
- SolarisUp (@SolarisUp)
- Justin Barber (@barberj)
- Pooya Parsa (@pi0)
- Sébastien Chopin (@atinux)
- Farnabaz [email protected]
- Hash Brown (@xuzuodong)
- Michael Brevard [email protected]
- Alexander Lichter (@manniL)
- Rgehbt (@Gehbt)
- Selemondev (@selemondev)
- Renato Lacerda [email protected]
v1.10.2
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 defaultBUCKET
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
- Pooya Parsa (@pi0)
- Harlan Wilton (@harlan-zw)
- Matt Kane [email protected]
- Julius Marminge [email protected]
- Connor Pearson [email protected]
- Kongmoumou (@kongmoumou)
- Alex
- Sébastien Chopin (@Atinux)
- Skosh [email protected]
- Dominik Opyd [email protected]
- Arkadiusz Sygulski [email protected]
- Jan-Henrik Damaschke [email protected]
- Masious
- Boe Reh [email protected]
v1.10.1
v1.10.0
🚀 Enhancements
- Support
netlify-blobs
driver (#337) (Read more in the documentation)
🩹 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
- Matt Kane [email protected] (@ascorbic)
- Pooya Parsa (@pi0)
- Patryk Tomczyk
- Lsh
- Jan-Henrik Damaschke [email protected]
- Sébastien Chopin (@Atinux)
- Mehdi
- Gustavo Conte
- Brian Evans
v1.9.0
🚀 Enhancements
- Expose
BuiltinDriverOptions
type (#273) - vercel-kv: Support
ttl
forsetItem
(#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 forremoveItem
(#281)
📖 Documentation
- Upgrade Docus (cc9cb6e)
- Fix 404 link (1e37246)
- Update (b43e0d4)
- Typo for the option dir in github driver (#278)
🏡 Chore
🎨 Styles
- Format with prettier v3 (22b797e)
❤️ Contributors
- Pooya Parsa (@pi0)
- Marco
- João Pedro Antunes Silva [email protected]
- Abdurrahman Shofy Adianto [email protected]
- Timbological
- Daniel Roe [email protected]
- Estéban (@Barbapapazes)
- Heb (@Hebilicious)
- Sébastien Chopin (@Atinux)