v0.3.0
🚀 Enhancements
We added the Nitro default cache binding to a KV namespace in order to support Nitro cachedEventHandler and cachedFunction with zero-configuration (e524bfe)
// server/api/cached.ts
export default cachedEventHandler(async () => {
return {
now: Date.now()
}
}, {
// cache for 10 seconds
maxAge: 10
})CACHE, see https://hub.nuxt.com/docs/getting-started/deploy#self-hosted
We also added the possibility to batch delete blobs using an array of pathnames (5c424c8)
await hubBlob().delete(['my-file.jpg', 'second-file.jpg'])📖 Documentation
- Correct capitalisation for Cloudflare (#8)
- Update 3.deploy.md (#6)
- Update 3.deploy.md (#7)
- Update 3.deploy.md (#10)
- GitHub edit link for content in app.config.ts (#11)
- Update twitter link (13a57f3)
- Fix code snippet in 3.blob.md (#12)
- Move font to Inter (fae96d4)
- Improve content and add cache note (d4c98d3)
🏡 Chore
- Lint fix (a8af37c)
🤖 CI
- Remove
contents: readpermission as repo is now public (68fc0b4)
❤️ New Contributors
- @weaverfy made their first contribution in #6
- @RihanArfan made their first contribution in #8
- @ra-jeev made their first contribution in #10
- @OskarKinomoto made their first contribution in #12
Full Changelog: v0.2.1...v0.3.0