v0.6.0
⚠️ Breaking changes
The hubBlob().list() method now returns an object to handle pagination instead of an array (#121):
const res = await hubBlob().list()
/*
{
blobs: BlobObject[]
hasMore: boolean
cursor?: string
folders?: string[]
}
*/It also has a new option to returns the folders:
const { blobs, folders } = await hubBlob().list({ folded: true })Learn more on https://hub.nuxt.com/docs/storage/blob#bloblistresult
🚀 Enhancements
It is now easier to handle upload in your application with new Blob server utils & Vue composables (#71 & #99).
- Server utils:
- Vue composables:
You can see an example in our playground on how to handle both small & large files.
Shoutout to @Teages for working on multipart upload 💚
📖 Documentation
- Add pre-rendering page (91b0910)
🏡 Chore
❤️ Contributors
- Sébastien Chopin (@atinux)
- Teages (@Teages)
- Farnabaz (@farnabaz)
- Estéban (@Barbapapazes)