-
Notifications
You must be signed in to change notification settings - Fork 0
Update nuxtjs monorepo to v3.18.1 #87
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/nuxtjs-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c68f6e6
to
f4d70c6
Compare
0b84448
to
d828f83
Compare
cf00e7d
to
bea8e43
Compare
bea8e43
to
0d8b318
Compare
a0aae59
to
b05091e
Compare
b05091e
to
7fade98
Compare
7fade98
to
3f4b05c
Compare
3f4b05c
to
7682f43
Compare
7682f43
to
e7b346c
Compare
e7b346c
to
7b23bfe
Compare
7b23bfe
to
9a59020
Compare
9a59020
to
5c6ab9b
Compare
3b31f5d
to
3d447ba
Compare
fb77f28
to
1764bdb
Compare
1764bdb
to
75ee5f1
Compare
75ee5f1
to
b7a217f
Compare
b7a217f
to
5036ba4
Compare
58fc402
to
93073e2
Compare
93073e2
to
96d8521
Compare
96d8521
to
11948d9
Compare
11948d9
to
83e2a6b
Compare
83e2a6b
to
30c0aa5
Compare
30c0aa5
to
7db4f3a
Compare
7db4f3a
to
ad16349
Compare
ad16349
to
8dac4ee
Compare
8dac4ee
to
cdea3e4
Compare
bad8285
to
04854d1
Compare
04854d1
to
ed8f4e2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.0.0
->3.18.1
3.0.0
->3.18.1
3.0.0
->3.18.1
Release Notes
nuxt/nuxt (@nuxt/kit)
v3.18.1
Compare Source
👉 Changelog
compare changes
🔥 Performance
tinyglobby
inresolveFiles
(#32846)🩹 Fixes
error
variable (#32807)typeCheck
(#32835)null
result from webpack call (65aa17158)reverseResolveAlias
for better errors (#32853)📖 Documentation
🏡 Chore
✅ Tests
defineNuxtComponent
out of e2e test (#32848)🤖 CI
❤️ Contributors
v3.18.0
Compare Source
👀 Highlights
A huge thank you to everyone who's been a part of this release, which is mostly about backporting features + bugfixes from Nuxt v4.
Over the next six months, we'll continue backporting compatible v4 features and bug fixes, so please keep the feedback coming! ❤️
🧪 Lazy Hydration Macros
Building on the delayed hydration support from v3.16, we now support lazy hydration macros (#31192)! These provide a more ergonomic way to control component hydration:
These macros make it possible to use Nuxt's lazy hydration utilities alongside explicit component imports.
♿️ Accessibility Improvements
We've enhanced accessibility by including
<NuxtRouteAnnouncer>
in the built-inapp.vue
(#32621). This means page changes will be announced to screen readers, making navigation more accessible for users with visual impairments. (This only applies if you do not have anapp.vue
in your project. If you do, please keep<NuxtRouteAnnouncer>
in yourapp.vue
!)🛠️ Enhanced Development Experience
Chrome DevTools Workspace Integration
We've added Chrome DevTools workspace integration (#32084), allowing you to edit your Nuxt source files directly from Chrome DevTools. This creates a better debugging experience where changes made in DevTools are reflected in your actual source files.
Better Component Type Safety
Component type safety has been improved with:
<ClientOnly>
and<DevOnly>
(#32707) - better IntelliSense and error checking<NuxtTime>
prop types (#32547) - easier to extend and customizeNew Auto-Import:
onWatcherCleanup
The
onWatcherCleanup
function fromvue
is now available as an auto-import (#32396), making it easier to clean up watchers and prevent memory leaks:📊 Observability Enhancements
Page routes are now exposed to Nitro for observability (#32617), enabling better monitoring and analytics integration with supported platforms. This allows observability tools to track page-level metrics more effectively.
🔧 Module Development Improvements
Module authors get several quality-of-life improvements:
Simplified Server Imports
The
addServerImports
kit utility now supports single imports (#32289), making it easier to add individual server utilities:TypeScript Configuration
Modules can now add to
typescript.hoist
(#32601), giving them more control over TypeScript configuration and type generation.⚡️ Performance Improvements
We've made several performance optimizations:
oxc-walker
(#32250) and oxc foronPrehydrate
transforms (#32045) for faster code transformations🐛 Bug Fixes
This release also includes several important fixes:
scrollBehaviorType
is now only used for hash scrolling (#32622)✅ Upgrading
As usual, our recommendation for upgrading is to run:
This refreshes your lockfile and pulls in all the latest dependencies that Nuxt relies on, especially from the unjs ecosystem.
👉 Changelog
compare changes
🚀 Enhancements
<NuxtTime>
prop types (#32547)addServerImports
(#32289)onWatcherCleanup
to imports presets (#32396)🔥 Performance
🩹 Fixes
typescript.hoist
(#32601)scrollBehaviorType
for hash scrolling (#32622)async
(fd312af03)<ClientOnly>
and<DevOnly>
(#32707)mlly
to parse module paths (#32386)💅 Refactors
oxc-walker
(#32250)onPrehydrate
transform (#32045)installNuxtModule
(228e3585e)📖 Documentation
v3
template to create nuxt examples (03182202f)useNuxtData
in data fetching composable pages (#32589)noUncheckedIndexedAccess
rule change in v4 guide (#32643)npm create nuxt@latest
(#32726).with()
(#32757)🏡 Chore
unbuild
and use absolute path in dev stubs (#32759)✅ Tests
module.exports
export (ac8b02d09)🤖 CI
pkg.pr.new
formain
/3.x
branches as well (ca4f0b1da)3x
tag to latest v3 release (5e8dfc150)❤️ Contributors
v3.17.7
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🩹 Fixes
extraPageMetaExtractionKeys
(#32510)loadBuilder
error cause (8f13ce3c2)null
values (c1b83eab5)semver.satisfies
returns true for pre-release versions (#32574)execute being passed to
watch` (#32591)📖 Documentation
NUXT_
(#32223)useAsyncData
anduseFetch
migration (#32560)undefined
tonull
in v3 docs (#32562)async
keyword (#32587)✅ Tests
generateTypes
(c0855439d)<NuxtTime>
test (#32558)❤️ Contributors
v3.17.6
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
🩹 Fixes
nuxt.config
(#32324)nuxt:chunk-reload-immediate
(#32382)set-cookie
headers in error handler (#32483)asyncData
runs if changing key while fetcher is running (#32466)navigateTo
(#32393)<NuxtLink>
's custom on click handler (#32499)inheritAttrs: false
increateClientOnly
fn (#32323)output.generatedCode.symbols
for nitro build (#32358)💅 Refactors
📖 Documentation
h3js
(#32243)clear
function description (#32287)defineNuxtPlugin
function documentation (#32328)<NuxtLink>
encodes query params (#32361)bun.lock
for lockfile (#32427)🏡 Chore
workspace
toprojects
(#32388)✅ Tests
immediate: false
(#32473)🤖 CI
❤️ Contributors
v3.17.5
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
globby
(#31688)🩹 Fixes
useScriptRybbitAnalytics
from script stubs (d275ae1a0)appConfig
sources are not duplicated (#32216)h()
in ClientOnly (#30664)asyncData
state from nuxt app instance (#32232)srcDir
inbuildCache
(#32260)asyncData
watcher (#32247)📖 Documentation
addRouteMiddleware
path in example (#32171)--env-file
(29f6392cd)nuxt
command consistently (#32237)alert
withwarning
in/guide/pages
(#32270)📦 Build
🏡 Chore
✅ Tests
❤️ Contributors
v3.17.4
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
shallowRef
for primitive values (#32152)Intl.Collator
instead oflocaleCompare
(#32167)🩹 Fixes
<ClientOnly>
(#32101)useLazyAsyncData
(#32092)ts-checker-rspack-plugin
(#32115)/
(#32129)DeepPartial
(#31990)<ClientOnly>
(#32131)global
withglobalThis
(#32130)<NuxtLayout>
first renders (#24673)srcDir
to parcel strategy (#32139)📖 Documentation
useNuxtData
default return toundefined
(#32054)imports.dirs
with alias (0dbf314d9)🏡 Chore
✅ Tests
setTimeout
mock (#32142)🤖 CI
❤️ Contributors
v3.17.3
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
🩹 Fixes
FormData
(#32013)ignore
patterns (#32020)useFetch
withwatch: false
(#32019)getCachedData
is provided (#32003)nuxtApp
for asyncData functions run on server (#32038)💅 Refactors
asyncData
(e779d6cd5)📖 Documentation
🤖 CI
bug
/enhancement
labels to issue types (3ff743fe0)❤️ Contributors
v3.17.2
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🔥 Performance
handleHotUpdate
in production (#31971)🩹 Fixes
transition
(#31945)useFetch
(#31963)scrollToTop
(#31914)vfs
even if a file exists inbuildDir
(#31969)useAsyncData
reactive tokey
changes whenimmediate: false
(#31987)WarningFilter
type (2a79dbd68)warningIgnoreFilters
(a62e808ac)📖 Documentation
@nuxt/kit
documentation (#31793)🏡 Chore
✅ Tests
asyncDataDefaults.value
(91568c5da)🤖 CI
❤️ Contributors
v3.17.1
Compare Source
✅ Upgrading
Our recommendation for upgrading is to run:
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🩹 Fixes
execute
when non-immediate fetch key changes (#31941)escapeHTML
from vue (8e4b8d62f)@vue/shared
dependency (7d445c963)📦 Build
🏡 Chore
✅ Tests
❤️ Contributors
v3.17.0
Compare Source
👀 Highlights
This release brings a major reworking of the async data layer, a new built-in component, better warnings, and performance improvements!
📊 Data Fetching Improvements
A major reorganization of Nuxt's data fetching layer brings significant improvements to
useAsyncData
anduseFetch
.Although we have aimed to maintain backward compatibility and put breaking changes behind the
experimental.granularCachedData
flag (disabled by default), we recommend testing your application thoroughly after upgrading. You can also disableexperimental.purgeCachedData
to revert to the previous behavior if you are relying on cached data being available indefinitely after components usinguseAsyncData
are unmounted.👉 Read the the original PR for full details (#31373), but here are a few highlights.
Consistent Data Across Components
All calls to
useAsyncData
oruseFetch
with the same key now share the underlying refs, ensuring consistency across your application:This solves various issues where components could have inconsistent data states.
Reactive Keys
You can now use computed refs, plain refs, or getter functions as keys:
Optimized Data Refetching
Multiple components watching the same data source will now trigger only a single data fetch when dependencies change:
🎭 Built-In Nuxt Components
<NuxtTime>
- A new component for safe time displayWe've added a new
<NuxtTime>
component for SSR-safe time display, which resolves hydration mismatches when working with dates (#31876):The component accepts multiple time formats and gracefully handles both client and server rendering.
Enhanced
<NuxtErrorBoundary>
The
<NuxtErrorBoundary>
component has been converted to a Single File Component and now exposeserror
andclearError
from the component - as well as in the error slot types, giving you greater ability to handle errors in your templates and viauseTemplateRef
(#31847):🔗 Router Improvements
<NuxtLink>
now accepts atrailingSlash
prop, giving you more control over URL formatting (#31820):🔄 Loading Indicator Customization
You can now customize the loading indicator with new props directly on the component (#31532):
hideDelay
: Controls how long to wait before hiding the loading barresetDelay
: Controls how long to wait before resetting loading indicator state📚 Documentation as a Package
The Nuxt documentation is now available as an npm package! You can install
@nuxt/docs
to access the raw markdown and YAML content used to build the documentation website (#31353).💻 Developer Experience Improvements
We've added several warnings to help catch common mistakes:
runtimeConfig.app
namespace #31774definePageMeta
is used more than once in a file #31634🔌 Enhanced Module Development
Module authors will be happy to know:
experimental.enforceModuleCompatibility
allows Nuxt to throw an error when a module is loaded that isn't compatible with it (#31657). It will be enabled by default in Nuxt v4.addComponentExports
#27155🔥 Performance Improvements
Several performance improvements have been made:
tinyglobby
for faster file globbing #31668.data
directory from type-checking for faster builds #31738purgeCachedData
check #31785✅ Upgrading
Our recommendation for upgrading is to run:
This refreshes your lockfile and pulls in all the latest dependencies that Nuxt relies on, especially from the unjs ecosystem.
👉 Changelog
compare changes
🚀 Enhancements
hideDelay
andresetDelay
props for loading indicator (#31532)@nuxt/docs
(#31353)loadNuxtConfig
to nitro (#31680)runtimeConfig.app
namespace (#31774)middleware
when scanning page metadata (#30708)addComponentExports
(#27155)<NuxtErrorBoundary>
to SFC + exposeerror
/clearError
(#31847)<NuxtTime>
component for ssr-safe time display ([#31876](https://redirect.github.com/nuxt/nuxt/pull/31876Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.