Skip to content

dependabot: bump nuxt from 3.19.3 to 4.2.0#70

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nuxt-4.2.0
Open

dependabot: bump nuxt from 3.19.3 to 4.2.0#70
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nuxt-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2025

Copy link
Copy Markdown
Contributor

Bumps nuxt from 3.19.3 to 4.2.0.

Release notes

Sourced from nuxt's releases.

v4.2.0

4.2.0 is the next minor release.

👀 Highlights

We're excited to announce Nuxt 4.2, bringing new capabilities for better TypeScript DX, enhanced error handling, and improved control over data fetching! 🎉

🎯 Abort Control for Data Fetching

You can now use AbortController signals directly within useAsyncData, giving you fine-grained control over request cancellation (#32531).

This works by passing an internal signal to your useAsyncData handler to cancel any promise that can be canceled, such as $fetch.

<script setup lang="ts">
const controller = new AbortController()
const { data, error, clear, refresh } = await useAsyncData('users', (_nuxtApp, { signal }) => $fetch('/api/users', {
signal
}))
refresh() // will actually cancel the $fetch request (if dedupe: cancel)
refresh() // will actually cancel the $fetch request (if dedupe: cancel)
refresh()
clear() // will cancel the latest pending handler
</script>

You also pass an AbortController signal directly to refresh/execute, giving you fine-grained control over request cancellation. This is particularly useful when you need to abort requests based on user actions or component lifecycle events.

const { data, refresh } = await useAsyncData('posts', fetchPosts)
// Abort an ongoing refresh
const abortController = new AbortController()
refresh({ signal: abortController.signal })
// Later...
abortController.abort()

🎨 Better Error Pages in Development

When an error occurs during development, Nuxt will now display both your custom error page and a detailed technical error overlay (#33359). This gives you the best of both worlds – you can see what your users will experience while also having immediate access to stack traces and debugging information.

Screenshot of the new development error page

The technical overlay appears as a toggleable panel that doesn't interfere with your custom error page, making it easier to debug issues while maintaining a realistic preview of your error handling.

... (truncated)

Commits
  • 2f7957a v4.2.0
  • 7db30a6 fix(vite): unset optimizeDeps.include for server environment (#33550)
  • 451c817 fix(nuxt): handle arrays in app config correctly during HMR (#33555)
  • ddebec5 chore(deps): update all non-major dependencies (main) (#33469)
  • 56a257a fix(nuxt): add NuxtTime relative time relativeStyle prop (#33557)
  • b51cb30 refactor(nuxt): use RouteLocationNormalizedLoadedGeneric internally
  • c2e1998 fix(nuxt): add NuxtTime relative time numeric prop (#33552)
  • ba0dfeb chore(deps): update dependency vite to v7.1.11 [security] (main) (#33531)
  • b7ed1d3 chore: remove code comment (#33515)
  • 934dc00 fix(nuxt): support component auto-imports as arguments of h() (#33509)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Upgrade Nuxt to 4.2.0 in apps/cloud and apps/web to adopt new features and fixes. This includes request cancellation in useAsyncData and improved dev error pages.

  • Dependencies

    • apps/cloud: nuxt ^3.19.0 → ^4.2.0
    • apps/web: nuxt ^4.1.3 → ^4.2.0
    • Updated pnpm-lock.yaml
  • Migration

    • Ensure Node 18+.
    • Update Nuxt modules/plugins to versions compatible with Nuxt 4.
    • Run dev/build and fix any type or HMR issues.
    • Verify error page behavior and async data flows (including aborts).

Written for commit d89a020. Summary will update automatically on new commits.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.19.3 to 4.2.0.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v4.2.0/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 1, 2025

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants