-
Couldn't load subscription status.
- Fork 11
chore(deps): update dependency nuxt to v3.15.4 #1114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
0bbb1ff to
03c8c44
Compare
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
03c8c44 to
e155128
Compare
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
e155128 to
3d0e963
Compare
3d0e963 to
587e1dc
Compare
587e1dc to
f3178db
Compare
f3178db to
3b09d39
Compare
3b09d39 to
a22d852
Compare
a22d852 to
151e7d2
Compare
151e7d2 to
99b1b26
Compare
99b1b26 to
eaa7a0b
Compare
eaa7a0b to
25920ee
Compare
25920ee to
69d9d33
Compare
69d9d33 to
f2c2f1f
Compare
f2c2f1f to
b0bc57d
Compare
b0bc57d to
72d0588
Compare
72d0588 to
bf0a968
Compare
bf0a968 to
38ae191
Compare
38ae191 to
17fd665
Compare
17fd665 to
9bd3306
Compare
9bd3306 to
c411499
Compare
c411499 to
9a02121
Compare
9a02121 to
d3dce8f
Compare
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
This PR contains the following updates:
3.14.1592->3.15.4Release Notes
nuxt/nuxt (nuxt)
v3.15.4Compare 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
🩹 Fixes
acorn(#30754)@nuxt/schemafromnuxtpackage dir (#30774)srcDir(#30771)useRoutein SFC setup (#30788)externalityfor dev server externals (#30802)💅 Refactors
chunk.namesfor asset names (#30780)❤️ Contributors
v3.15.3Compare 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.corsoptions 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
mkdirSynccalls (#30651)findPathandresolvePath(#30682)Transitioncomponent only on client side (#30720)🩹 Fixes
#app-manifestalias (#30618)plugin.srcfor variable name generation (#30649)dev/testenvironment value (#30667)invalidateModulecall (9bd71e498)[[optional dynamic params (#30619)devServer.cors(406db5b4d)💅 Refactors
externalityand use vite internal config (#30634)📖 Documentation
useFetchexample (#30629)nuxisource code (4fabe0025)NuxtLink(#30614)addRouteMiddleware(#30656)ClientOnlywithonMountedhook (#30670)navigationmode incallOncecomposable (#30612)📦 Build
inlineDependenciesoption (01adefcec)🏡 Chore
lodash-es(0c01273f5)🤖 CI
❤️ Contributors
v3.15.2Compare 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/clidistribution 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 thenuxiornuxtcommands). 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/clidependency (#30526)🩹 Fixes
definePageMetawhen extracting page metadata (#30490)#buildto the end oftsConfigpaths (#30520)fullPathinstead of empty string in router hmr (#30500)@nuxt/cli(618bbc6da)page:loading:endonly once with nested pages (#29009)#app-manifest(#30587)shouldPrefetchon the server side (#30591)💅 Refactors
📖 Documentation
--devoption for the module command (#30477)urlinuseFetch(#30531)@nuxt/module-buildersource (509cf4a5c)statusdetail and enhancegetCachedDatareadability (#30536)useNuxtData(#30570)useAsyncDataside effects (#30479)🏡 Chore
nuxt/app(1adf3e31f)🤖 CI
❤️ Contributors
v3.15.1Compare 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-esdependency (#30409)pathebrowser dep for deep server components (#30456)🩹 Fixes
nuxtinstance toresolvePagesRoutes(e4a372e12)locationinstead ofrangefor route meta property extraction (#30447)vueCompilerOptions.pluginstype (#30454)baseURLwhen ignoring prerendered manifest (#30446)router.optionswhen hmring routes (#30455)💅 Refactors
consolawithnuxttag instead of console (#30408)📖 Documentation
lodashand recommendes-toolkit(8e2ca5bdc)🏡 Chore
❤️ Contributors
v3.15.0Compare Source
👀 Highlights
❄️ Snowfall!
Happy holidays! You'll notice when you start Nuxt that (if you're in the Northern Hemisphere) there's some snow on the loading screen (#29871).
⚡️ Vite 6 included
Nuxt v3.15 includes Vite 6 for the first time. Although this is a major version, we expect that this won't be a breaking change for Nuxt users (see full migration guide). However, please take care if you have dependencies that rely on a particular Vite version.
One of the most significant changes with Vite 6 is the new Environment API, which we hope to use in conjunction with Nitro to improve the server dev environment. Watch this space!
You can read the full list of changes in the Vite 6 changelog.
🪵 Chromium devtools improvements
We talk a lot about the Nuxt DevTools, but v3.15 ships with better integration in dev mode for Chromium-based browser devtools.
We now use the Chrome DevTools extensibility API to add support for printing nuxt hook timings in the browser devtools performance panel.
🗺️ Navigation mode for
callOncecallOnce` is a built-in Nuxt composable for running code only once. For example, if the code runs on the server it won't run again on the client. But sometimes you do want code to run on _every navigation_ - just avoid the initial server/client double load. For this, there's a newmode: 'navigation'` option that will run the code only once _per navigation_. (See #30260 for more info.)🥵 HMR for templates, pages + page metadata
We now implement hot module reloading for Nuxt's virtual files (like routes, plugins, generated files) as well as for the content of page metadata (within a
definePageMetamacro) (#30113).This should mean you have a faster experience in development, as well as not needing to reload the page when making changes to your routes.
📋 Page meta enhancements
We now support extracting extra page meta keys (likely used by module authors) via
experimental.extraPageMetaExtractionKeys(#30015). This enables module authors to use this information at build time, in thepages:resolvedhook.We also now support local functions in
definePageMeta(#30241). This means you can do something like this:🔥 Performance improvements
We now preload the app manifest in the browser if it will be used when hydrating the app (#30017).
We'll also tree shake vue-router's hash mode history out of your bundle if we can - specifically, if you haven't customised your
app/router.options.ts(#30297).🐣 v4 updates
If A few more changes shipped for the new defaults for v4, including only inlining styles by default for Vue components (#30305).
✅ 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
🚀 Enhancements
extraPageMetaExtractionKeys(#30015)definePageMeta(#30241)mode: 'navigation'tocallOnce(#30260)🔥 Performance
hashModeoption (#30297)🩹 Fixes
addServerTemplate(a02af2348)extraExtractionKeyson runtimeroute.meta(ae9f42f4a)stylevalue for head components (#29999)useIdimplementation (40f437d25)buildDirtonormalizeTemplate(#30115)useRequestFetch(#30117)nitropackrather thannitroimport (2d5b53b23)engines.nodeto match dependencies (#30139)routerOptions.historyto return null (#30192)useIdfor island client component teleport id (#30151)nuxtandnuxt/app(#30148)getRouteRulesworks with nitro signature (#30277)replacein middleware withnavigateTo(#30283)nitropack(f220314a5)<RouterLink>for links starting with#(#30190)#app-manifest(ec613e533)useIdforclient-fallbackcomponent uid (#30314)@vitest/(4171a1076)addTemplateif undefined (#30348)import.meta.hot.data(b1cf5781d)💅 Refactors
composable-keysplugin into nuxt core (#30029)nuxt:(#30028)📖 Documentation
event.waitUntil(#29583)vite.dev(#30111)nuxi upgradechannel flag (#30184)useLazyFetch(#30171)vite.css.preprocessorMaxWorkers(eb1ba017c)compatibilityVersionfeature flag (#30274)nuxicommand pages (#30199)inlineStyles(2660bffbc)🏡 Chore
unimport(7ee455969)installed-checkdependency (0e84cb9a4)engines.nodeto reflect only deps (d3d276919)rimraf(cf9d82c5a)divwrapper in client-only page (#30359)✅ Tests
🤖 CI
❤️ 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.