Skip to content

Releases: nuxt-hub/core

v0.3.6

19 Mar 11:54
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add support for hub.env in runtimeConfig (d0fefd8)

v0.3.5

19 Mar 00:34
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Check stringified value (4394fd3)

v0.3.4

19 Mar 00:19
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

The remote storage is now capable to connect to the correct environment (production or preview) based on your branch 🚀

Read more about it on https://hub.nuxt.com/docs/getting-started/remote-storage#production-vs-preview and see how it's implemented in #24

We also now leverages nitro-cloudflare-dev (#22) to work hand-in-hand with the community to push the Cloudflare integration in both Nuxt & Nitro forward.

📖 Documentation

  • Improve remote option (3ed0c20)
  • Improve migration with Drizzle ORM (d057776)

🏡 Chore

v0.3.3

18 Mar 10:34
Compare
Choose a tag to compare

compare changes

✨ Enhancements

We added JS Docs comments to improve the usage of our server utils, we do care about the best developer experience when working with NuxtHub:

nuxt-hub-js-docs

Thank you to @smarroufin for the PR #21

📖 Documentation

  • Prepared SQL must contain only one statement (#19)
  • Better handle trailing slash (0f46859)

🏡 Chore

❤️ Contributors

v0.3.2

09 Mar 17:07
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Support remote storage in production (#17)

Learn more on https://hub.nuxt.com/docs/getting-started/remote-storage

📖 Documentation

  • Use del instead of delete (ef21f83)
  • Update readme (b993d03)
  • Correct project link (#16)

🏡 Chore

❤️ Contributors

v0.3.1

07 Mar 18:08
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add del as alias of delete for hubBlob() (444c382)

🏡 Chore

❤️ Contributors

v0.3.0

07 Mar 17:07
Compare
Choose a tag to compare

compare changes

🚀 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
})

⚠️ If you self-host, you will need to create a KV namespace and bind it with 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

🤖 CI

  • Remove contents: read permission as repo is now public (68fc0b4)

❤️ New Contributors

Full Changelog: v0.2.1...v0.3.0

v0.2.1

01 Mar 15:20
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Better handle remote storage for utils (178d95c)

📖 Documentation

  • Add content components and improve og image (bfa179e)
  • Update deps (fde3364)
  • Rename to db:generate (fc485b0)
  • Add prose-a in tip component (d1f0942)
  • Add template (156fd22)
  • Fixes (de43c76)
  • Fix wrangler installation snippets for npm & bun (#3)

🏡 Chore

  • Update social card to jpg (412911c)
  • Update ci (7c857e5)
  • Disable test in CI as they timeout for now (57386c3)
  • package: Add homepage (e9c371d)
  • Correct wording in readme (#5)
  • Rename local data to local storage (ab7e216)

❤️ Contributors

v0.2.0

27 Feb 21:19
Compare
Choose a tag to compare

compare changes

⚠️ Breaking Changes

  • Move to layer for better developer experience (5309e02)

❤️ Contributors

v0.1.15

26 Feb 23:20
Compare
Choose a tag to compare

compare changes

📖 Documentation

🏡 Chore

  • playground: Add whitelist route (49df540)
  • seo: Social image (998decf)
  • docs: Methods params (394a044)
  • Rename use to hub prefix to avoid collision with Nitro (ec7e13f)
  • Rename proxy and .hub to .data/hub (5d73b42)

❤️ Contributors