fix(deps): update all non-major dependencies
This PR contains the following updates:
Release Notes
nuxt/nuxt (@nuxt/kit)
v3.17.0
👀 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 and useFetch.
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 disable experimental.purgeCachedData to revert to the previous behavior if you are relying on cached data being available indefinitely after components using useAsyncData 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 or useFetch with the same key now share the underlying refs, ensuring consistency across your application:
<!-- ComponentA.vue -->
<script setup>
const { data: users, pending } = useAsyncData('users', fetchUsers)
</script>
<!-- ComponentB.vue -->
<script setup>
// This will reference the same data state as ComponentA
const { data: users, status } = useAsyncData('users', fetchUsers)
// When either component refreshes the data, both will update consistently
</script>
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:
const userId = ref('123')
const { data: user } = useAsyncData(
computed(() => `user-${userId.value}`),
() => fetchUser(userId.value)
)
// Changing the userId will automatically trigger a new data fetch
// and clean up the old data if no other components are using it
userId.value = '456'
Optimized Data Refetching
Multiple components watching the same data source will now trigger only a single data fetch when dependencies change:
// In multiple components:
const { data } = useAsyncData(
'users',
() => $fetch(`/api/users?page=${route.query.page}`),
{ watch: [() => route.query.page] }
)
// When route.query.page changes, only one fetch operation will occur
// All components using this key will update simultaneously
🎭 Built-In Nuxt Components
<NuxtTime> - A new component for safe time display
We've added a new <NuxtTime> component for SSR-safe time display, which resolves hydration mismatches when working with dates (#31876):
<NuxtTime :time="new Date()" format="YYYY-MM-DD" />
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 exposes error and clearError from the component - as well as in the error slot types, giving you greater ability to handle errors in your templates and via useTemplateRef (#31847):
<NuxtErrorBoundary @​error="handleError">
<template #error="{ error, clearError }">
<div>
<p>{{ error.message }}</p>
<button @​click="clearError">Try again</button>
</div>
</template>
<!-- Content that might error -->
<MyComponent />
</NuxtErrorBoundary>
🔗 Router Improvements
<NuxtLink> now accepts a trailingSlash prop, giving you more control over URL formatting (#31820):
<NuxtLink to="/about" trailing-slash>About</NuxtLink>
<!-- Will render <a href="/about/"> -->
🔄 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
<template>
<NuxtLoadingIndicator :hide-delay="500" :reset-delay="300" />
</template>
📚 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:
- Warning when server components don't have a root element #31365
- Warning when using the reserved
runtimeConfig.appnamespace #31774 - Warning when core auto-import presets are overridden #29971
- Error when
definePageMetais used more than once in a file #31634
🔌 Enhanced Module Development
Module authors will be happy to know:
- A new
experimental.enforceModuleCompatibilityallows 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. - You can now automatically register every component exported via named exports from a file with
addComponentExports#27155
🔥 Performance Improvements
Several performance improvements have been made:
- Switched to
tinyglobbyfor faster file globbing #31668 - Excluded
.datadirectory from type-checking for faster builds #31738 - Improved tree-shaking by hoisting the
purgeCachedDatacheck #31785
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxi@latest upgrade --dedupe
This refreshes your lockfile and pulls in all the latest dependencies that Nuxt relies on, especially from the unjs ecosystem.
👉 Changelog
🚀 Enhancements
- nuxt: Accept
hideDelayandresetDelayprops for loading indicator (#31532) - nuxt: Warn server components need root element (#31365)
- docs: Publish raw markdown/yaml docs as
@nuxt/docs(#31353) - kit,nuxt: Pass dotenv values from
loadNuxtConfigto nitro (#31680) - nuxt,vite: Support disabling scripts in dev mode (#31724)
- nuxt: Warn if user uses reserved
runtimeConfig.appnamespace (#31774) - kit,schema: Allow throwing error if modules aren't compatible (#31657)
- nuxt: Extract
middlewarewhen scanning page metadata (#30708) - nuxt: Warn if core auto-import presets are overridden (#29971)
- nuxt: Scan named exports with
addComponentExports(#27155) - nuxt: Convert
<NuxtErrorBoundary>to SFC + exposeerror/clearError(#31847) - nuxt: Add
<NuxtTime>component for ssr-safe time display (#31876) - nuxt: Add
trailingSlashprop to<NuxtLink>(#31820)
🔥 Performance
- kit,rspack,webpack: Switch to
tinyglobby(#31668) - kit: Exclude
.datadirectory from type-checking (#31738) - nuxt: Hoist
purgeCachedDatacheck to improve tree-shaking (#31785) - nuxt: Remove
oxc-parsermanual wasm fallback logic (#31484) - nuxt: Remove unecessary type check for useFetch (#31910)
🩹 Fixes
- kit,vite: Ensure all
modulesDirpaths are added tofs.allow(#31540) - nuxt: Pass slots through to lazy hydrated components (#31649)
- vite: Do not return 404 for dev server handlers which shadow
/_nuxt/(#31646) - nuxt: Sync error types for
useLazyAsyncData(#31676) - nuxt: Strip base url from
error.url(#31679) - nuxt: Render inline styles before
app:renderedis called (#31686) - nuxt: Update nitro imports (0bec0bd26)
- nuxt: Check for
fallbackattribute when stripping<DevOnly>(c1d735c27) - vite: Invalidate files not present in module graph (ecae2cd54)
- nuxt: Do not add manifest preload when
noScripts(c9572e953) - nuxt: Do not prompt to update
compatibilityDate(#31725) - nuxt: Show brotli size by default when analyzing bundle (#31784)
- nuxt: Always pass
statusMessagewhen rendering html error (#31761) - nuxt: Error when
definePageMetais used more than once (#31634) - nuxt: Parse
error.databefore renderingerror.vue(#31571) - nuxt: Use single synced asyncdata instance per key (#31373)
- nuxt: Use
useAsyncDatain console log (#31801) - nuxt: Wait for suspense to resolve before handling
NuxtErrorBoundaryerror (#31791) - vite: Disable
preserveModules(#31839) - nuxt: Align
pendingwithstatusvalue for v4 (#25864) - nuxt: Consider full path when de-duplicating routes (#31849)
- nuxt: Augment
nuxt/appin generated middleware and layouts declarations (#31808) - nuxt: Correct order of args passed to
withoutBase(f956407bb) - vite: Dedupe
vuein vite-node dev server (f3882e004) - ui-templates: Pass pointer events through spotlight div in error dev template (#31887)
- kit: Include user-defined types before internal ones in
tsconfig.json(#31882) - nuxt: Do not purge nuxt data if active
useNuxtData(#31893) - nuxt: Do not include components of key in
useFetchwatch sources (#31903) - nuxt: Use first existing
modulesDirto store build cache files (#31907)
💅 Refactors
- nuxt: Use
shallowReffor primitives as well (#31662) - nuxt: Move island renderer into its own event handler (#31386)
- nuxt: Remove unneeded import (#31750)
- nuxt: Use
_replaceAppConfigwhen applying hmr (#31786) - nuxt: Use new unplugin filter options (#31868)
- schema: Do not generate types for
ConfigSchema(#31894)
📖 Documentation
- Add note on extending auto-imports (#31640)
- Improve description of
app.vue(#31645) - Use video-accordion video and add more videos (#31655)
- Add description of
templateParamsto seo docs (#31583) - Refine auto-imports documentation (#31700)
- Fix nuxt logo on website badge (#31704)
- Update tailwindcss link (b5741cb5a)
- Adjust description of
useHydration(#31712) - Remove trailing slash (#31751)
- Remove comment about
callOncereturning value (#31747) - Use
vs.consistently (#31760) - Update nitro
addServerHandlerexample (#31769) - Add supporting shared folder video (#31651)
- Update example for component auto-import in nuxt modules (#31757)
- Refine nuxt kit components documentation (#31714)
- Use trailing slash for vitest link (82de8bcf8)
- Fix casing (#31805)
- Add discord and nuxters links (#31888)
- Fix typos (#31898)
📦 Build
- nuxt: Use
vue-sfc-transformerto process sfcs (#31691)
🏡 Chore
- Update renovate config (565c0b98e)
- Upgrade webpack separately (e1f5db34f)
- Update internal ui-templates licence to MIT (f8059fb8b)
- Sort package.json (a6cbd71f8)
✅ Tests
- nuxt: Add customizable test api for pages tests (#31619)
- kit: Fix tests when running on Windows (#31694)
- Update page metadata snapshot (89a596075)
- Add basic runtime tests for
<NuxtErrorBoundary>(4df92c45f) - Add version to mock nuxt (915fae2fd)
- Update assertion for
pendingWhenIdle(08f2224c8) - Remove incorrect assertions (fdc4b5343)
- Update tests for purgeCachedData (c6411eb17)
🤖 CI
- Add notify-nuxt-website workflow (#31726)
❤️ Contributors
- @beer (@iiio2)
- Julien Huang (@huang-julien)
- Daniel Roe (@danielroe)
- Saeid Zareie (@Saeid-Za)
- Bobbie Goede (@BobbieGoede)
- Damian Głowala (@DamianGlowala)
- Maxime Pauvert (@maximepvrt)
- Leonid (@john-psina)
- Wind (@productdevbook)
- Arkadiusz Sygulski (@Aareksio)
- Rohan Dhimal (@drowhannn)
- xjccc (@xjccc)
- Robin (@OrbisK)
- Alex Liu (@Mini-ghost)
- Daniel Kelly (@danielkellyio)
- Jeffrey van den Hondel (@jeffreyvdhondel)
- Alexander Lichter (@TheAlexLichter)
- Sébastien Chopin (@atinux)
- Yizack Rangel (@Yizack)
- Joaquín Sánchez (@userquin)
- IlyaL (@ilyaliao)
- Ben McCann (@benmccann)
- Anthony Fu (@antfu)
- Alexandru Ungureanu (@unguul)
v3.16.2
3.16.2 is the next patch release.
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxi@latest upgrade --dedupe
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
🔥 Performance
- nuxt: Improve tree-shaking of
useRequestEventon client (#31586)
🩹 Fixes
- nuxt: Pass down attrs to
<Body>and<Html>(#31513) - nuxt: Use greedy catchall when
/indexis the last segment (#31528) - nuxt: Reset
page:loading:endhook before navigation (#31504) - nuxt: Write initial cookie value if different from
document.cookie(#31517) - nuxt: Support template string quotes in
resolveComponent(#31526) - nuxt: Show fatal errors thrown in middleware (#31518)
- nuxt: Use name to index route providers in dev (#31544)
- nuxt: Improve default scroll behaviour (#31545)
- vite: Return 404 for non-existent
_nuxt/paths in development (#31543) - nuxt: Pass error data to
error.vue(#31573) - nuxt: Use
unheadv2 api in default welcome + error pages (#31584) - nuxt: Improve consistency of page metadata extraction (#31306)
- nuxt: Do not remove meta when
scanPageMetais disabled (0ba454b21)
💅 Refactors
- nuxt: Simplify conditional branches of
<NuxtPage>(#31561) - Replace
useServerHeadinonPrehydratewithuseHead(#31585)
📖 Documentation
- Move custom directories note to the correct place (#29100)
- Update example to
useTemplateRef(#31458) - Provide async function for
$fetch(#31459) - Mention the possibility to scan pages based on a pattern (#31462)
- Add
dedupeflag (#31467) - Improve
refreshNuxtDatadocs (#31448) - Add missing
--before--template(#31469) - Migrate to @nuxt/content v3 (#31150)
- Fix icon for main docs (e7828d9c6)
- Save selected package manager (#31520)
- Improve refresh nuxt data example (#31487)
- Note that middleware runs on error pages as well (df14c0263)
- Replace all 'Nuxt 3' with 'Nuxt' in documentation (#31519)
resolveComponentonly auto-imports components with literal strings (#31511)- Add ticks around
tsconfig.json(#31473) - Capitalize heading (#31523)
- Update links to unhead.unjs.io (1913febbb)
- Document that props are passed via server components via query (db7688219)
- Improve description of
page:startandpage:finishhooks (#31570)
🏡 Chore
- Ignore builds (e34ae380d)
✅ Tests
- Avoid invalid nested font face (#31524)
- Add test for loading indicator with custom key (25ca9b819)
- Add test for custom prop + loading indicator (94bfed031)
- Update snapshot (55134fc2a)
❤️ Contributors
- Daniel Roe (@danielroe)
- Julien Huang (@huang-julien)
- Bobbie Goede (@BobbieGoede)
- Alex Liu (@Mini-ghost)
- Dennis Adriaansen (@dennisadriaans)
- Guillaume Chau (@Akryum)
- @beer (@iiio2)
- 翠 / green (@sapphi-red)
- xjccc (@xjccc)
- Hugo Richard (@HugoRCD)
- Sébastien Chopin (@atinux)
- Johannes Buchholz (@jhony1104)
- Alexander Lichter (@TheAlexLichter)
- Matej Černý (@cernymatej)
- Claudiu (@sofuxro)
v3.16.1
🔥 Performance
- nuxt: Use browser cache for payloads (#31379)
🩹 Fixes
- nuxt: Restore nuxt aliases to nitro compilerOptions.paths (#31278)
- nuxt: Use new
mocked-exports(#31295) - nuxt: Check resolved options for polyfills (#31307)
- nuxt: Render style component html (#31337)
- nuxt: Add missing lazy hydration prop in regex (#31359)
- nuxt: Fully resolve nuxt dependencies (#31436)
- vite: Don't show interim vite build output files (#31439)
- nuxt: Ignore prerendering unprefixed public assets (151912ec3)
- nuxt: Use more performant router catchall pattern (#31450)
- nuxt: Prevent param duplication in
typedPagesimplementation (#31331) - nuxt: Sort route paths before creating route tree (#31454)
📖 Documentation
- Update link to vercel edge network (ec20802a5)
- Improve HMR performance note for Windows users (#31301)
- Correct WSL note phrasing (#31322)
- Fix typo (#31341)
- Adjust
app.headexample (#31350) - Include package manager options in update script (#31346)
- Add missing comma (#31362)
- Add mention of
addServerTemplateto modules guide (#31369) - Add
rspackand removetest-utilsfor monorepo guide (#31371) - Adjust example (#31372)
- Update experimental docs (#31388)
- Use
inisyntax block highlighting for.envfiles (f79fabe46) - Improve
useHydrationdocs (#31427) - Update broken docs links (#31430)
- Mention possibility of prerendering api routes (#31234)
🏡 Chore
- Fix gitignore (6fe9dff7e)
- Bump axios dependency in lockfile (c3352e80b)
- Lint repo (2ab20bfdc)
- Add scorecard badge (#31302)
- Dedupe (be5d85f2b)
✅ Tests
- Migrate runtime compiler test to playwright (+ add test cases) (#31405)
- Migrate spa preloader tests to playwright (#31273)
- Use
srvxand random port for remote provider (#31432)
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- Anoesj Sadraee (@Anoesj)
- Peter Radko (@Gwynerva)
- Adam DeHaven (@adamdehaven)
- Alex Liu (@Mini-ghost)
- Julien Huang (@huang-julien)
- Francesco Agnoletto (@Kornil)
- Guillaume Chau (@Akryum)
- imreegall (@imreegall)
- xjccc (@xjccc)
- Sam Blowes (@blowsie)
- Nimit012 (@Nimit012)
- Camille Coutens (@Kamsou)
v3.16.0
👀 Highlights
There's a lot in this one!
⚡️ A New New Nuxt
Say hello to create-nuxt, a new tool for starting Nuxt projects (big thanks to @devgar for donating the package name)!
It's a streamlined version of nuxi init - just a sixth of the size and bundled as a single file with all dependencies inlined, to get you going as fast as possible.
Starting a new project is as simple as:
npm create nuxt
Special thanks to @cmang for the beautiful ASCII-art. ❤️
Want to learn more about where we're headed with the Nuxt CLI? Check out our roadmap here, including our plans for an interactive modules selector.
🚀 Unhead v2
We've upgraded to unhead v2, the engine behind Nuxt's <head> management. This major version removes deprecations and improves how context works:
- For Nuxt 3 users, we're shipping a legacy compatibility build so nothing breaks
- The context implementation is now more direct via Nuxt itself
// Nuxt now re-exports composables while properly resolving the context
export function useHead(input, options = {}) {
const unhead = injectHead(options.nuxt)
return head(input, { head: unhead, ...options })
}
If you're using Unhead directly in your app, keep in mind:
- Import from Nuxt's auto-imports or
#app/composables/headinstead of@unhead/vue - Importing directly from
@unhead/vuemight lose async context
Don't worry though - we've maintained backward compatibility in Nuxt 3, so most users won't need to change anything!
If you've opted into compatibilityVersion: 4, check out our upgrade guide for additional changes.
🔧 Devtools v2 Upgrade
Nuxt Devtools has leveled up to v2 (#30889)!
You'll love the new features like custom editor selection, Discovery.js for inspecting resolved configs (perfect for debugging), the return of the schema generator, and slimmer dependencies.
One of our favorite improvements is the ability to track how modules modify your Nuxt configuration - giving you X-ray vision into what's happening under the hood.
👉 Discover all the details in the Nuxt DevTools release notes.
⚡️ Performance Improvements
We're continuing to make Nuxt faster, and there are a number of improvements in v3.16:
- Using
exsolvefor module resolution (#31124) along with the rest of the unjs ecosystem (nitro, c12, pkg-types, and more) - which dramatically speeds up module resolution - Smarter module resolution paths (#31037) - prioritizes direct imports for better efficiency
- Eliminated duplicated Nitro alias resolution (#31088) - leaner file handling
- Streamlined
loadNuxtby skipping unnecessary resolution steps (#31176) - faster startups - Adopt
oxc-parserfor parsing in Nuxt plugins (#30066)
All these speed boosts happen automatically - no configuration needed!
Shout out to CodSpeed with Vitest benchmarking to measure these improvements in CI - it has been really helpful.
To add some anecdotal evidence, my personal site at roe.dev loads 32% faster with v3.16, and nuxt.com is 28% faster. I hope you see similar results! ⚡️
🕰️ Delayed Hydration Support
We're very pleased to bring you native delayed/lazy hydration support (#26468)! This lets you control exactly when components hydrate, which can improve initial load performance and time-to-interactive. We're leveraging Vue's built-in hydration strategies - check them out in the Vue docs.
<template>
<!-- Hydrate when component becomes visible in viewport -->
<LazyExpensiveComponent hydrate-on-visible />
<!-- Hydrate when browser is idle -->
<LazyHeavyComponent hydrate-on-idle />
<!-- Hydrate on interaction (mouseover in this case) -->
<LazyDropdown hydrate-on-interaction="mouseover" />
<!-- Hydrate when media query matches -->
<LazyMobileMenu hydrate-on-media-query="(max-width: 768px)" />
<!-- Hydrate after a specific delay in milliseconds -->
<LazyFooter :hydrate-after="2000" />
</template>
You can also listen for when hydration happens with the @hydrated event:
<LazyComponent hydrate-on-visible @​hydrated="onComponentHydrated" />
Learn more about lazy hydration in our components documentation.
🧩 Advanced Pages Configuration
You can now fine-tune which files Nuxt scans for pages (#31090), giving you more control over your project structure:
export default defineNuxtConfig({
pages: {
// Filter specific files or directories
pattern: ['**/*.vue'],
}
})
🔍 Enhanced Debugging
We've made debugging with the debug option more flexible! Now you can enable just the debug logs you need (#30578):
export default defineNuxtConfig({
debug: {
// Enable specific debugging features
templates: true,
modules: true,
watchers: true,
hooks: {
client: true,
server: true,
},
nitro: true,
router: true,
hydration: true,
}
})
Or keep it simple with debug: true to enable all these debugging features.
🎨 Decorators Support
For the decorator fans out there (whoever you are!), we've added experimental support (#27672). As with all experimental features, feedback is much appreciated.
export default defineNuxtConfig({
experimental: {
decorators: true
}
})
function something (_method: () => unknown) {
return () => 'decorated'
}
class SomeClass {
@​something
public someMethod () {
return 'initial'
}
}
const value = new SomeClass().someMethod()
// returns 'decorated'
📛 Named Layer Aliases
It's been much requested, and it's here! Auto-scanned local layers (from your ~~/layers directory) now automatically create aliases. You can access your ~~/layers/test layer via #layers/test (#30948) - no configuration needed.
If you want named aliases for other layers, you can add a name to your layer configuration:
export default defineNuxtConfig({
$meta: {
name: 'example-layer',
},
})
This creates the alias #layers/example-layer pointing to your layer - making imports cleaner and more intuitive.
🧪 Error Handling Improvements
We've greatly improved error messages and source tracking (#31144):
- Better warnings for undefined
useAsyncDatacalls with precise file location information - Error pages now appear correctly on island page errors (#31081)
Plus, we're now using Nitro's beautiful error handling (powered by youch) to provide more helpful error messages in the terminal, complete with stacktrace support.
Nitro now also automatically applies source maps without requiring extra Node options, and we set appropriate security headers when rendering error pages.
📦 Module Development Improvements
For module authors, we've added the ability to augment Nitro types with addTypeTemplate (#31079):
// Inside your Nuxt module
export default defineNuxtModule({
setup(options, nuxt) {
addTypeTemplate({
filename: 'types/my-module.d.ts',
getContents: () => `
declare module 'nitropack' {
interface NitroRouteConfig {
myCustomOption?: boolean
}
}
`
}, { nitro: true })
}
})
⚙️ Nitro v2.11 Upgrade
We've upgraded to Nitro v2.11. There are so many improvements - more than I can cover in these brief release notes.
👉 Check out all the details in the Nitro v2.11.0 release notes.
📦 New unjs Major Versions
This release includes several major version upgrades from the unjs ecosystem, focused on performance and smaller bundle sizes through ESM-only distributions:
- unenv upgraded to v2 (full rewrite)
- db0 upgraded to v0.3 (ESM-only, native node:sql, improvements)
- ohash upgraded to v2 (ESM-only, native node:crypto support, much faster)
- untyped upgraded to v2 (ESM-only, smaller install size)
- unimport upgraded to v4 (improvements)
- c12 upgraded to v3 (ESM-only)
- pathe upgraded to v2 (ESM-only)
- cookie-es upgraded to v2 (ESM-only)
- esbuild upgraded to v0.25
- chokidar upgraded to v4
✅ Upgrading
As usual, our recommendation for upgrading is to run:
npx nuxi@latest upgrade --dedupe
This refreshes your lockfile and pulls in all the latest dependencies that Nuxt relies on, especially from the unjs ecosystem.
👉 Changelog
🚀 Enhancements
- nuxt: Upgrade
@nuxt/devtoolsto v2 (#30889) - nuxt: Granular debug options (#30578)
- nuxt: Add type hints for
NuxtPage(#30704) - nuxt: Support tracking changes to nuxt options by modules (#30555)
- nuxt: Allow disabling auto-imported polyfills (#30332)
- schema: Add runtime + internal type validation (#30844)
- kit,nuxt,schema: Support experimental decorators syntax (#27672)
- kit,nuxt: Allow multiple nuxts to run in one process (#30510)
- kit: Add named layer aliases (#30948)
- kit,nuxt,vite:
directoryToURLto normalise paths (#30986) - nuxt: Allow forcing
start/setin loading indicator (#30989) - nuxt: Allow specifying glob patterns for scanning
pages/(#31090) - nuxt: Add types for default
NuxtLinkslot (#31104) - nuxt: Delayed/lazy hydration support (#26468)
- vite: Add vite's modulepreload polyfill (#31164)
- nuxt: Show source file when warning about undefined useAsyncData (#31144)
- kit,nuxt: Augment nitro types with
addTypeTemplate(#31079) - kit,nuxt: Resolve template imports from originating module (#31175)
- nuxt: Use
oxc-parserinstead of esbuild + acorn (#30066) - nuxt: Upgrade to unhead v2 (#31169)
- nuxt: Align nuxt error handling with nitro (#31230)
🔥 Performance
- nuxt: Remove duplicated nit
Configuration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Run & review this pull request in StackBlitz Codeflow.
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Walkthrough
The recent updates involve minor version increments in the package.json files across two packages. The pnpm package manager was updated from 8.15.6 to 8.15.9, addressing bug fixes and enhancements. Additionally, the language package saw updates to its dependencies, @volar/typescript and @vue/language-core, which now feature improved versions, enhancing functionality while maintaining the core logic.
Changes
| Files | Change Summary |
|---|---|
package.json |
Updated pnpm version from 8.15.6 to 8.15.9. |
packages/language/package.json |
Updated @volar/typescript from ~2.1.6 to ~2.4.0 and @vue/language-core from 2.0.7 to 2.1.4. |
Poem
🐇 In the garden of code, we frolic and play,
Withpnpmupdated, it brightens our day!
Dependencies bloom, like flowers in spring,
Bugs are now banished, oh, what joy they bring!
Hop, hop, hooray, for changes so fine,
Together we'll code, our futures will shine! 🌼
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
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)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaianywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
@coderabbitai review
Actions performed
Review triggered.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.