Skip to content

chore(deps): bump nuxt from 2.15.8 to 3.2.0 in /frontend

24-bot requested to merge dependabot/npm_and_yarn/frontend/nuxt-3.2.0 into main

Bumps nuxt from 2.15.8 to 3.2.0.

Release notes

Sourced from nuxt's releases.

v3.2.0

3.2.0 is the first minor release since we've started our new release schedule. We've brought it forward by a couple of weeks to include some goodies we want you to be able to play with soon.

👀 Highlights

  • Nuxt DevTools

    You can opt-in to Nuxt DevTools per-project by going to the project root and running:

    npx nuxi@latest devtools enable

    Restart your Nuxt server and open your app in browser. Click the Nuxt icon on the bottom (or press Alt+D) to toggle the DevTools.

    More information in the docs!

  • Better DX for overriding runtimeConfig, including inline type helpers

  • 🪄 Automatically inferred return type for useFetch and $fetch based on method.

    It'll be a type error to use the wrong method when hitting an endpoint.

    Plus, if you have multiple methods served by a single endpoint (like ~/server/api/test.get.ts and ~/server/api/test.post.ts then the response type will match the kind of response you make.

  • 🍪 useFetch is now integrated with event.$fetch, meaning cookies and context are now passed to api requests automagically within internal requests.

  • 🔥 We now treeshake client-only components out of the server build more effectively using the experimental treeshakeClientOnly feature

    This is turned on by default but if you experience any issues, you can turn this off via:

    export default defineNuxtConfig({
      experimental: {
        treeshakeClientOnly: false
      }
    })
  • 🛠️ New addRouteMiddleware kit utility for module authors

  • 💪 Nitropack v2.2 has been released

    Lots of features, including runtime proxy support using route rules, nested fetch calls, binary and raw storage operations, exposed event.context.cf (cloudflare) and built-in session support.

    For full details see release notes

Changelog

compare changes

🚀 Enhancements

  • kit: Add addRouteMiddleware method (#18553)
  • cli: Warn when prerendering routes with ssr: false (#18783)
  • schema: Add type hints for runtime config (#18652)

... (truncated)

Commits
  • 5855c1e v3.2.0 (#18843)
  • 5426e56 test: decrease vite logging during tests
  • 71d67ad chore: combine import statements
  • a89e2fa chore(deps): update all non-major dependencies (main) (#18890)
  • 9a035a1 refactor(nuxt): within nuxt app, import directly from source file (#18902)
  • 0b2bce4 docs: add explanation with augmented meta for new routes (#18901)
  • 9845467 feat(nuxt): upgrade to nitropack 2.2 (#18889)
  • 2e62246 fix: reorder the types field in package.json (#18880)
  • 9f3b38c chore(deps): update dependency esbuild-loader to v3 (main) (#18883)
  • c936bc7 feat(nuxi): add initial support for enabling/disabling devtools (#18864)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by danielroe, a new releaser for nuxt since your current version.


Merge request reports