Releases: nuxt-hub/core
Releases · nuxt-hub/core
v0.7.3
🩹 Fixes
- blob: Support customMetadata in proxy on
put()
(#231)
📖 Documentation
- HubAI() minimum version and image opti (1cebec3)
- Use the right date (521662a)
- More improvements (efe912f)
- Update image sizes (287d678)
- Update changelog (bc895d6)
- Prerender /api/changelog.json (7a3627c)
🏡 Chore
- playground: Fix database reactivity (5b3b2a8)
❤️ Contributors
- Sébastien Chopin (@atinux)
v0.7.2
🚀 Enhancements
- Add hubAI() (#173)
Learn more on https://hub.nuxt.com/docs/features/ai
🩹 Fixes
- Support remote overwrites (9b434eb)
📖 Documentation
- Deploy button (ca132e7)
- Add deploy button changelog (e9ecf1f)
- changelog: Small update (9fcc96b)
- Update Cloudflare KV included usage information (#206)
- Fix typo (#212)
- Add deploy section (91a1d97)
- Add debug recipe (784fd58)
- recipe: Update debug header (dad8793)
- Add postinstall script (f1ce27e)
- Article about atidraw (#225)
- Fix blog breadcrumb responsive (b9d2faa)
- Update steps illustrations (cba1af7)
🏡 Chore
- release: V0.7.1 (a4377db)
- Fix typo in analytics.ts (#198)
- Uncomment pkg.pr.new (#197)
- Disable prettier (#226)
- test: More limit to timeout (9cffde4)
❤️ Contributors
- Sébastien Chopin (@atinux)
- Rihan (@RihanArfan)
- Estéban (@Barbapapazes)
- Linzhe (@linzhe141)
- Tom Taylor (@tombonez)
- Mohammad Bagher Abiyat (@Aslemammad)
- 面条 (@ccbikai)
- Farnabaz (@farnabaz)
v0.7.1
🩹 Fixes
📖 Documentation
- Improvements (c092ede)
- Add jsdoc for useUpload (3f66ac0)
- Add GitHub Action example (f1e91f8)
- Use nuxthub discord invite (#188)
- Update pricing (8028dae)
- Add blob upload prefix (2feff31)
- Update images for steps (aed88b1)
- Use event.path instead of event.node.req.url (#195)
- Missing pnpm version on github actions template (#194)
🏡 Chore
- release: V0.7.0 (314fd54)
- Fix playground with new nuxt shallow ref (b2adb87)
- Update deploy command to npx nuxthub deploy (ef43572)
❤️ Contributors
- Farnabaz farnabaz@gmail.com
- Michel EDIGHOFFER edimitchel@gmail.com
- Alexander Lichter (@manniL)
- Sébastien Chopin (@Atinux)
- Rihan (@RihanArfan)
v0.7.0
⚠️ Breaking Changes
We brought two breaking changes for hubBlob()
for consistency (#187)
Custom Metadata
As we get the custom metadata in the customMetadata
object, it makes sense to define them in the key as well.
Before:
hubBlob().put(file.name, file, {
addRandomSuffix: true,
hello: 'world'
})
/*
{
contentType: 'image/jped',
pathname: 'something-87652rfg.jpg',
size: 154451,
uploadedAt: '2024-06-21T00:57:41.740Z',
customMetadata: {
hello: 'world'
}
}
*/
After:
hubBlob().put(file.name, file, {
addRandomSuffix: true,
customMetadata: {
hello: 'world'
}
})
/*
{
contentType: 'image/jped',
pathname: 'something-87652rfg.jpg',
size: 154451,
uploadedAt: '2024-06-21T00:57:41.740Z',
customMetadata: {
hello: 'world'
}
}
*/
handleUpload
Before, we could give at the same level the options of put()
, ensure()
and handleUpload()
, making it a bit confusing.
Now you need to set the options with the command prefix:
Before:
export default eventHandler(async (event) => {
return hubBlob().handleUpload(event, {
multiple: false,
contentType: ['image/jpeg', 'images/png'],
addRandomSuffix: true
})
})
After:
export default eventHandler(async (event) => {
return hubBlob().handleUpload(event, {
multiple: false,
ensure: {
contentType: ['image/jpeg', 'images/png'],
},
put: {
addRandomSuffix: true
}
})
})
Read the full documentation on https://hub.nuxt.com/docs/storage/blob
📖 Documentation
- Add Hello Edge template (7c9e805)
- Update og image (7ba4dba)
- Improve ctas (099fcbd)
- Try public sans font (05fcfea)
- Add parent routes for header active links (47a7331)
- Improve drizzle seed example (#176)
- recipes: Remove extra field for drizzle seed (a8a8b01)
🏡 Chore
❤️ Contributors
- Sébastien Chopin (@Atinux)
- Mohammed (@redcodemohammed)
v0.6.17
v0.6.16
🩹 Fixes
- blob: Check correct variable in useUpload (889acbc)
📖 Documentation
- Add team-webhooks-env selection (8b27277)
🏡 Chore
❤️ Contributors
- Sébastien Chopin (@Atinux)
- Mohammad Bagher Abiyat (@Aslemammad)
v0.6.15
🩹 Fixes
- Import runtime types from
@nuxthub/core
(#168)
🏡 Chore
- Improve server types (#160)
❤️ Contributors
- Daniel Roe @danielroe
- Estéban @Barbapapazes
- Farnabaz @farnabaz
v0.6.14
v0.6.13
🚀 Enhancements
- Optimize bundle (#138)
🩹 Fixes
- blob: Remove slugify (#154)
- module: Invalid resolved path in npm package (#161)
- analytics: Setup analytics worker (#162)
📖 Documentation
- Remove extra + (bf850fe)
🏡 Chore
- release: V0.6.11 (a7bdb0c)
- action: Add pr version release (415e9a3)
- Disable pkg-pr-new (fcb2994)
- release: V0.6.12 (389a633)
❤️ Contributors
- Farnabaz farnabaz@gmail.com
- Sébastien Chopin (@Atinux)
- Quandabase (@quandabase)
v0.6.12
🚀 Enhancements
- We shipped a big improvement to only add the API routes & server utils if a feature is enabled. Optimising the final bundle size 🚀 (#138)
- We don't slugify the path of the blob anymore to respect the pathname you set to
hubBlob().put(pathname, blob)
(#154)
❤️ Contributors
- Farnabaz @farnabaz
- Quandabase @quandabase