chore(deps): update nuxt framework to ^3.15.3 #352
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.15.0
->^3.15.3
3.15.0
->3.15.3
^3.15.0
->^3.15.3
Release Notes
nuxt/nuxt (@nuxt/kit)
v3.15.3
Compare Source
👀 Highlights
CORS configuration for dev server
Alongside a range of improvements, we've also shipped a significant fix to impose CORS origin restrictions on the dev server. This applies to your Vite or Webpack/Rspack dev middleware only.
This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see GHSA-4gf7-ff8x-hq99 and GHSA-2452-6xj8-jh47) and we urge you to update ASAP.
You can configure the allowed origins and other CORS options via the
devServer.cors
options in yournuxt.config
, which may be relevant if you are developing with a custom hostname:✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
mkdirSync
calls (#30651)findPath
andresolvePath
(#30682)Transition
component only on client side (#30720)🩹 Fixes
#app-manifest
alias (#30618)plugin.src
for variable name generation (#30649)dev
/test
environment value (#30667)invalidateModule
call (9bd71e498)[[
optional dynamic params (#30619)devServer.cors
(406db5b4d)💅 Refactors
externality
and use vite internal config (#30634)📖 Documentation
useFetch
example (#30629)nuxi
source code (4fabe0025)NuxtLink
(#30614)addRouteMiddleware
(#30656)ClientOnly
withonMounted
hook (#30670)navigation
mode incallOnce
composable (#30612)📦 Build
inlineDependencies
option (01adefcec)🏡 Chore
lodash-es
(0c01273f5)🤖 CI
❤️ Contributors
v3.15.2
Compare Source
👀 Highlights
🔥 Startup performance improvements
It is worth noting that this release includes some pretty significant performance improvements which you should notice particularly in the startup time. In my tests in the nuxt monorepo,
There's more improvement to do here but hopefully these are good numbers!
📦 CLI refactor
To improve performance within Nuxt projects, we've published a new
@nuxt/cli
distribution ofnuxi
, which is used under-the-hood innuxt
(see issue). This should behave exactly the same and nothing needs to be updated in your projects (for example, you will continue to use thenuxi
ornuxt
commands). The only significant change is that it no longer inlines dependencies. Feedback is welcome 🙏✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
@nuxt/cli
dependency (#30526)🩹 Fixes
definePageMeta
when extracting page metadata (#30490)#build
to the end oftsConfig
paths (#30520)fullPath
instead of empty string in router hmr (#30500)@nuxt/cli
(618bbc6da)page:loading:end
only once with nested pages (#29009)#app-manifest
(#30587)shouldPrefetch
on the server side (#30591)💅 Refactors
📖 Documentation
--dev
option for the module command (#30477)url
inuseFetch
(#30531)@nuxt/module-builder
source (509cf4a5c)status
detail and enhancegetCachedData
readability (#30536)useNuxtData
(#30570)useAsyncData
side effects (#30479)🏡 Chore
nuxt/app
(1adf3e31f)🤖 CI
❤️ Contributors
v3.15.1
Compare Source
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
lodash-es
dependency (#30409)pathe
browser dep for deep server components (#30456)🩹 Fixes
nuxt
instance toresolvePagesRoutes
(e4a372e12)location
instead ofrange
for route meta property extraction (#30447)vueCompilerOptions.plugins
type (#30454)baseURL
when ignoring prerendered manifest (#30446)router.options
when hmring routes (#30455)💅 Refactors
consola
withnuxt
tag instead of console (#30408)📖 Documentation
lodash
and recommendes-toolkit
(8e2ca5bdc)🏡 Chore
❤️ Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.