This repository was archived by the owner on May 19, 2025. It is now read-only.
[Snyk] Upgrade nuxt from 2.15.8 to 3.0.0 #5
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.
Snyk has created this PR to upgrade nuxt from 2.15.8 to 3.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
SNYK-JS-UNSETVALUE-2400660
Why? CVSS 7.5
SNYK-JS-NTHCHECK-1586032
Why? CVSS 7.5
SNYK-JS-ANSIREGEX-1583908
Why? CVSS 7.5
SNYK-JS-HTMLMINIFIER-3091181
Why? CVSS 7.5
SNYK-JS-GLOBPARENT-1016905
Why? CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: nuxt
✨ Official Release Announcenment
💬 Release Discussion
📝 Changelog
Check out v3.0.0-rc.14 for other recent changes.
🩹 Fixes
runtimeConfig.public
with empty object (#9050)latest
tag (#9060)useAsyncData
(#9061)📖 Documentation
definePageMeta
issues with transitions andNuxtLoadingIndicator
(#9055)🏡 Chore
parse5
for renovate update (#9046)❤️ Contributors
Read more
Read more
Read more
🚀 How to Upgrade
npx nuxi@latest upgrade --force
nuxt
dependency to3.0.0-rc.11
and then usenpx nuxi@latest cleanup
to cleanup any local caches⭐ What is New?
Full Static Enhancements
We have introduced Full-Static mode payload extraction in RC.10. Many of the issues from the initial implementation are resolved with this release thanks to your amazing feedback! Notably for SPA routes and state that is now in the initial state.
🧪 We understand that there might be still issues with the new implementation. Please report if spotted any. You can use new
experimental.payloadExtraction: false
flag innuxt.config
to opt-out as well.IPv6 and HTTPS support for
nuxi dev
and viteNuxi CLI and unjs/listhen are improved and now support
--https
flag and ipv6 hosts out of the box with an auto-generated certificate. You can use--ssl-cert
and--ssl-key
to provide own generated SSL certificates with mkcert for example as well.Issues with vite HMR and vite-node should be resolved as well. If you were previously using
NODE_TLS_REJECT_UNAUTHORIZED
or customvite.server.hmr
options for a workaround, you can try to remove them.Note: If you see something like
http://[::]:3000/
when runningnuxi preview
, it is all normal! The New IPv6 URL works in all modern browsers and is also backward compatible with IPv4 interfaces. If for some reason encountered any issues, try settingHOST
to0.0.0.0
to disable IPv6 listener.Nitro Improvements
Nitro is the server engine for Nuxt 3. We had landed several fixes in 0.5.2 and 0.5.3 versions improving stability and bug fixes.
Full Changelog
compare changes
🚀 Enhancements
useNitro()
utility (#7557)🩹 Fixes
nuxi dev --https
(#7545)nuxi dev --https
working out of the box (#7547)cssSourceMap
with newsourcemap
format [bridge] (#7541)ssr:true
(#7553)nuxi dev
(#7560)state
in the initial state instead of extracting it (#7567)vite-node
fallback error handler (#7575)ctx.nuxt.options.modulesDir
for resolving externals withvite-node
(#7612)process.client
for early redirect innavigateTo
(#7625).vue
extensions from component types (#7673)<NuxtLink>
prefetching (#7679)📖 Documentation
addComponent
to modules and updateaddImports
(#7543)addImportsSources
to list of kit utils (#7636)defineNuxtComponent
page (#7618)❤️ Contributors
Read more
Read more
💬 Join the release discussion
🚀 How to upgrade
npx nuxi-edge@latest upgrade --force
nuxt
dependency to3.0.0-rc.8
and then usenpx nuxi-edge@latest cleanup
to cleanup any local caches🩹 Fixes
nuxi upgrade
(#6514)app:rendered
to modify ssr context and addrender:html
(#6521)/@ fs
from external ids (#6529)srcDir
rather thanrootDir
(#6546)📦 Build
📖 Documentation
info
todanger
for the pages root element (#6528)❤️ Contributors
Read more
Read more
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs