Skip to content

v0.6.0

Choose a tag to compare

@atinux atinux released this 03 Jun 09:27
· 469 commits to main since this release

compare changes

⚠️ 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).

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

🏡 Chore

  • Add lint fix script (#118)
  • Update dependencies (6f6a338)

❤️ Contributors