Skip to content

chore(deps): update nuxt #37

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
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(deps): update nuxt #37

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Confidence
@nuxt/eslint-config (source) ^1.5.2 -> ^1.8.0 age confidence
@nuxt/kit (source) ^3.17.7 -> ^3.18.1 age confidence
@nuxt/module-builder ^1.0.1 -> ^1.0.2 age confidence
@nuxt/schema (source) ^3.17.7 -> ^3.18.1 age confidence
nuxt (source) ^3.14.1592 -> ^3.18.1 age confidence
nuxt (source) ^3.17.7 -> ^3.18.1 age confidence

Release Notes

nuxt/eslint (@​nuxt/eslint-config)

v1.8.0

Compare Source

   🚀 Features
    View changes on GitHub

v1.7.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v1.7.0

Compare Source

   🚀 Features
    View changes on GitHub

v1.6.0

Compare Source

   🐞 Bug Fixes
    View changes on GitHub
nuxt/nuxt (@​nuxt/kit)

v3.18.1

Compare Source

3.18.1 is a regularly scheduled patch release.

👉 Changelog

compare changes

🔥 Performance
  • kit: Get absolute path from tinyglobby in resolveFiles (#​32846)
🩹 Fixes
  • nuxt: Do not throw undefined error variable (#​32807)
  • vite: Include tsconfig references during typeCheck (#​32835)
  • nuxt: Add sourcemap path transformation for client builds (#​32313)
  • nuxt: Add warning for lazy-hydration missing prefix (#​32832)
  • nuxt: Trigger call once navigation even when no suspense (#​32827)
  • webpack: Handle null result from webpack call (65aa17158)
  • kit,nuxt: Use reverseResolveAlias for better errors (#​32853)
📖 Documentation
  • Update nightly version references (#​32776)
  • Improve explanation of global middleware (#​32855)
🏡 Chore
✅ Tests
  • Move tests for defineNuxtComponent out of e2e test (#​32848)
🤖 CI
  • Move nightly releases into different concurrency group (26f9baa6a)
❤️ Contributors

v3.18.0

Compare Source

3.18.0 is the next minor release.

👀 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:

<script setup lang="ts">
const LazyHydrationMyComponent = defineLazyHydrationComponent(
  'visible',
  () => import('./components/MyComponent.vue')
)
</script>
<template>
  <div>
    <!-- 
      Hydration will be triggered when
      the element(s) is 100px away from entering the viewport.
    -->
    <LazyHydrationMyComponent :hydrate-on-visible="{ rootMargin: '100px' }" />
  </div>
</template>

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-in app.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 an app.vue in your project. If you do, please keep <NuxtRouteAnnouncer> in your app.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:

  • Typed slots for <ClientOnly> and <DevOnly> (#​32707) - better IntelliSense and error checking
  • Exported <NuxtTime> prop types (#​32547) - easier to extend and customize
New Auto-Import: onWatcherCleanup

The onWatcherCleanup function from vue is now available as an auto-import (#​32396), making it easier to clean up watchers and prevent memory leaks:

const { data } = useAsyncData('users', fetchUsers)

watch(data, (newData) => {
  const interval = setInterval(() => {
    // Some periodic task
  }, 1000)
  
  // Clean up when the watcher is stopped
  onWatcherCleanup(() => {
    clearInterval(interval)
  })
})
📊 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:

// Before: had to wrap in array
addServerImports([{ from: 'my-package', name: 'myUtility' }])

// Now: can pass directly
addServerImports({ from: 'my-package', name: 'myUtility' })
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:

  • Improved Vite-node communication via internal socket (#​32417) for faster development builds
  • Migration to oxc-walker (#​32250) and oxc for onPrehydrate transforms (#​32045) for faster code transformations
🐛 Bug Fixes

This release also includes several important fixes:

  • Improved data fetching: When computed keys change, old data is now properly retained (#​32616)
  • Better scroll behavior: scrollBehaviorType is now only used for hash scrolling (#​32622)
  • Fixed directory aliases: Added trailing slashes to some directory aliases for better consistency (#​32755)
✅ 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

compare changes

🚀 Enhancements
  • nuxt: Expose page routes to nitro for o11y (#​32617)
  • nuxt: Export <NuxtTime> prop types (#​32547)
  • nuxt: Add integration with chrome devtools workspaces (#​32084)
  • kit: Support single import in addServerImports (#​32289)
  • nuxt: Add onWatcherCleanup to imports presets (#​32396)
  • nuxt: Add route announcer to default app.vue (#​32621)
  • nuxt: Support lazy hydration macros (#​31192)
🔥 Performance
  • vite: Communicate with vite-node via internal socket (#​32417)
  • kit: Update env expansion regex to match nitro (#​30766)
🩹 Fixes
  • nuxt: Allow modules to add to typescript.hoist (#​32601)
  • nuxt: Retain old data when computed key changes (#​32616)
  • nuxt: Only use scrollBehaviorType for hash scrolling (#​32622)
  • nuxt: Add missing async (fd312af03)
  • nuxt: Fix transform/minify types + bump oxc-transform (d2ba19963)
  • nuxt: Provide typed slots for <ClientOnly> and <DevOnly> (#​32707)
  • kit,nuxt,schema: Add trailing slash to some dir aliases (#​32755)
  • nuxt: Include source base url for remote islands (#​32772)
  • vite: Use vite node server to transform requests (#​32791)
  • kit: Use mlly to parse module paths (#​32386)
  • nuxt: Execute all plugins after error rendering error.vue (#​32744)
💅 Refactors
  • nuxt: Migrate to oxc-walker (#​32250)
  • nuxt,schema: Use oxc for onPrehydrate transform (#​32045)
  • nuxt: Pass file language directly to parser options (#​32665)
  • nuxt: Use direct import of installNuxtModule (228e3585e)
📖 Documentation
  • Pass v3 template to create nuxt examples (03182202f)
  • Add reference to useNuxtData in data fetching composable pages (#​32589)
  • Document the --modules flag in the init command (#​32599)
  • Added new Shared folder to the example of v4 folder structure (#​32630)
  • Improve grammar (#​32640)
  • Typos (#​32567)
  • Fix abbreviation (#​32613)
  • Reference noUncheckedIndexedAccess rule change in v4 guide (#​32643)
  • Fix links to Nitro docs (#​32691)
  • Add best practices section (#​31609)
  • Correct alias for local fonts in styling guide (#​32680)
  • Update nuxt.new links to v4 (#​32639)
  • Set correct default value for deep option in usefetch (#​32724)
  • Fix link to issue (ca03f533f)
  • Add AI-assisted contribution guidelines (#​32725)
  • Update Nuxt installation command to use npm create nuxt@latest (#​32726)
  • Hydration best practice (#​32746)
  • Add example for module .with() (#​32757)
  • Replace dead Vue Router docs links (#​32779)
🏡 Chore
  • Handle missing commit details (0af98763d)
  • Update reproduction links for bug-report template (#​32722)
  • Update unbuild and use absolute path in dev stubs (#​32759)
✅ Tests
🤖 CI
  • Trigger website redeploy on main branch (#​32695)
  • Release pkg.pr.new for main/3.x branches as well (ca4f0b1da)
  • Apply 3x tag to latest v3 release (5e8dfc150)
❤️ Contributors
nuxt/module-builder (@​nuxt/module-builder)

v1.0.2

Compare Source

compare changes

🩹 Fixes
  • Use absolute path for jiti stub (#​648)
🏡 Chore
✅ Tests
  • Add snapshots for v3 + v4 wrapped fetch (270779b)
🤖 CI
  • Remove forced corepack installation (9be288b)
  • Run tests on node 20 (97e3f47)
❤️ Contributors

Configuration

📅 Schedule: Branch creation - "on Monday" (UTC), 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.

👻 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.

@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/eslint-config to ^0.7.2 chore(deps): update nuxt Dec 3, 2024
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from b77b8ae to b481fa1 Compare December 6, 2024 13:53
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 2f088f0 to 602ae5b Compare December 12, 2024 17:34
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from bbcb088 to 75e39a3 Compare December 26, 2024 13:45
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from ef695b8 to 3ed9015 Compare January 12, 2025 00:25
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 269a4f7 to 178dfa0 Compare January 15, 2025 18:33
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 8b05f61 to 59d0e27 Compare January 29, 2025 15:59
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 21b49a6 to 91985d4 Compare February 21, 2025 13:15
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 7e3c9e9 to 5841470 Compare March 8, 2025 16:56
@renovate renovate bot force-pushed the renovate/nuxt branch from 5841470 to 425645d Compare March 19, 2025 17:58
@renovate renovate bot force-pushed the renovate/nuxt branch from 425645d to e162289 Compare April 5, 2025 20:15
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 6f2ca43 to 7f590e1 Compare May 3, 2025 17:12
@renovate renovate bot changed the title chore(deps): update nuxt chore(deps): update dependency nuxt to ^3.17.1 May 5, 2025
@renovate renovate bot force-pushed the renovate/nuxt branch from 7f590e1 to 8357e14 Compare May 5, 2025 08:14
@renovate renovate bot force-pushed the renovate/nuxt branch 4 times, most recently from 125628d to 4270fdb Compare May 16, 2025 09:08
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from a7760ac to f930bdd Compare May 25, 2025 20:35
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 3574625 to 3cf33f4 Compare June 4, 2025 08:38
@renovate renovate bot force-pushed the renovate/nuxt branch 5 times, most recently from 003e7f5 to 3729d94 Compare July 3, 2025 15:14
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from a676381 to b2dcecf Compare July 16, 2025 13:34
@renovate renovate bot changed the title chore(deps): update nuxt chore(deps): update dependency nuxt to ^3.17.7 Jul 16, 2025
Copy link

pkg-pr-new bot commented Jul 16, 2025

Open in StackBlitz

npm i https://pkg.pr.new/Barbapapazes/nuxt-authorization@37

commit: 1611919

@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from db8e145 to 27f1163 Compare July 18, 2025 04:39
@renovate renovate bot changed the title chore(deps): update dependency nuxt to ^3.17.7 chore(deps): update nuxt Jul 18, 2025
@renovate renovate bot force-pushed the renovate/nuxt branch 4 times, most recently from 1132c34 to 1ad375e Compare July 29, 2025 03:42
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 9284783 to 5f6a021 Compare August 10, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants