Bumps nuxt from 4.1.2 to 4.1.3.
Release notes
Sourced from nuxt's releases.
v4.1.3
4.1.3 is a regularly scheduled patch release.
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxt 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
compare changes
🔥 Performance
- vite: Use rolldown's replace plugin when applicable (#33258)
🩹 Fixes
- kit: Add default values when adding type references in
prepare:types hook (#33239)
- nuxt: Augment app config in server context (#33287)
- nuxt: Make lazy component types compatible with
h (#33046)
- vite: Deduplicate inlined server style chunks (#33308)
- nuxt: Support
head option on useHead (#33318)
- nuxt: Do not relativise importmap if
cdnURL is set (#33333)
- nuxt: Resolve aliases in
imports.dirs (#33334)
- nuxt: Add missing element/vnode props for
<NuxtLink> (#33335)
- nuxt: Do not generate server placeholder components (#33345)
- nuxt: Dedupe generated component names (#33346)
- webpack: Test watch instance before closing it (0e5a0a5a0)
- nuxt: Correctly handle island rendering error (#33302)
- nuxt: Support
v-slot:fallback longform syntax in <DevOnly> (#33368)
- nuxt: Support
typeFrom when generating auto-import type templates (#33373)
- nuxt: Don't trigger scroll when changing trailing slash (#33358)
- nuxt: Add stubs for new scripts from
@nuxt/scripts (bed410d60)
- nuxt: Prevent duplicate execution on key change in
useAsyncData (#33325)
- nuxt: Make middleware
_path property configurable for HMR (#33379)
- nuxt: Handle non-immediate
useAsyncData with different key on ssr (#33341)
💅 Refactors
- nuxt: Improve implementation of error composables (#33234)
- nuxt: Resolve path of
typed-router.d.ts early for consistency (#33285)
- nuxt: Move server references to
nitro:prepare:types hook (#33286)
- nuxt: Place
filename into componentsIslandsTemplate definition (#33394)
- nuxt,vite: Use environment-api compatible plugins (#33403)
📖 Documentation
- Add
4.x prefix to all internal links (#33264)
- Fix more links (#33265)
... (truncated)
Commits
2311b27 v4.1.3
ca76b89 chore(deps): update all non-major dependencies (main) (#33402)
5eb356e refactor(nuxt,vite): use environment-api compatible plugins (#33403)
c704151 fix(nuxt): handle non-immediate useAsyncData with different key on ssr (#33...
ce0fe6f chore(deps): update all non-major dependencies (main) (#33290)
13452a2 refactor(nuxt): place filename into componentsIslandsTemplate definition ...
d6df732 fix(nuxt): make middleware _path property configurable for HMR (#33379)
011c13e fix(nuxt): prevent duplicate execution on key change in useAsyncData (#33325)
bed410d fix(nuxt): add stubs for new scripts from @nuxt/scripts
7c97901 fix(nuxt): don't trigger scroll when changing trailing slash (#33358)
- Additional commits viewable in compare view
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 4.1.2 to 4.1.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nuxt/nuxt/releases">nuxt's releases</a>.</em></p>
<blockquote>
<h2>v4.1.3</h2>
<blockquote>
<p><strong>4.1.3</strong> is a regularly scheduled patch release.</p>
</blockquote>
<h2>✅ Upgrading</h2>
<p>Our recommendation for upgrading is to run:</p>
<pre lang="sh"><code>npx nuxt upgrade --dedupe
</code></pre>
<p>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.</p>
<h2>👉 Changelog</h2>
<p><a href="https://github.com/nuxt/nuxt/compare/v4.1.2...v4.1.3">compare changes</a></p>
<h3>🔥 Performance</h3>
<ul>
<li><strong>vite:</strong> Use rolldown's replace plugin when applicable (<a href="https://redirect.github.com/nuxt/nuxt/pull/33258">#33258</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>kit:</strong> Add default values when adding type references in <code>prepare:types</code> hook (<a href="https://redirect.github.com/nuxt/nuxt/pull/33239">#33239</a>)</li>
<li><strong>nuxt:</strong> Augment app config in server context (<a href="https://redirect.github.com/nuxt/nuxt/pull/33287">#33287</a>)</li>
<li><strong>nuxt:</strong> Make lazy component types compatible with <code>h</code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33046">#33046</a>)</li>
<li><strong>vite:</strong> Deduplicate inlined server style chunks (<a href="https://redirect.github.com/nuxt/nuxt/pull/33308">#33308</a>)</li>
<li><strong>nuxt:</strong> Support <code>head</code> option on <code>useHead</code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33318">#33318</a>)</li>
<li><strong>nuxt:</strong> Do not relativise importmap if <code>cdnURL</code> is set (<a href="https://redirect.github.com/nuxt/nuxt/pull/33333">#33333</a>)</li>
<li><strong>nuxt:</strong> Resolve aliases in <code>imports.dirs</code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33334">#33334</a>)</li>
<li><strong>nuxt:</strong> Add missing element/vnode props for <code><NuxtLink></code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33335">#33335</a>)</li>
<li><strong>nuxt:</strong> Do not generate server placeholder components (<a href="https://redirect.github.com/nuxt/nuxt/pull/33345">#33345</a>)</li>
<li><strong>nuxt:</strong> Dedupe generated component names (<a href="https://redirect.github.com/nuxt/nuxt/pull/33346">#33346</a>)</li>
<li><strong>webpack:</strong> Test watch instance before closing it (<a href="https://github.com/nuxt/nuxt/commit/0e5a0a5a0">0e5a0a5a0</a>)</li>
<li><strong>nuxt:</strong> Correctly handle island rendering error (<a href="https://redirect.github.com/nuxt/nuxt/pull/33302">#33302</a>)</li>
<li><strong>nuxt:</strong> Support <code>v-slot:fallback</code> longform syntax in <code><DevOnly></code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33368">#33368</a>)</li>
<li><strong>nuxt:</strong> Support <code>typeFrom</code> when generating auto-import type templates (<a href="https://redirect.github.com/nuxt/nuxt/pull/33373">#33373</a>)</li>
<li><strong>nuxt:</strong> Don't trigger scroll when changing trailing slash (<a href="https://redirect.github.com/nuxt/nuxt/pull/33358">#33358</a>)</li>
<li><strong>nuxt:</strong> Add stubs for new scripts from <code>@nuxt/scripts</code> (<a href="https://github.com/nuxt/nuxt/commit/bed410d60">bed410d60</a>)</li>
<li><strong>nuxt:</strong> Prevent duplicate execution on key change in <code>useAsyncData</code> (<a href="https://redirect.github.com/nuxt/nuxt/pull/33325">#33325</a>)</li>
<li><strong>nuxt:</strong> Make middleware <code>_path</code> property configurable for HMR (<a href="https://redirect.github.com/nuxt/nuxt/pull/33379">#33379</a>)</li>
<li><strong>nuxt:</strong> Handle non-immediate <code>useAsyncData</code> with different key on ssr (<a href="https://redirect.github.com/nuxt/nuxt/pull/33341">#33341</a>)</li>
</ul>
<h3>💅 Refactors</h3>
<ul>
<li><strong>nuxt:</strong> Improve implementation of error composables (<a href="https://redirect.github.com/nuxt/nuxt/pull/33234">#33234</a>)</li>
<li><strong>nuxt:</strong> Resolve path of <code>typed-router.d.ts</code> early for consistency (<a href="https://redirect.github.com/nuxt/nuxt/pull/33285">#33285</a>)</li>
<li><strong>nuxt:</strong> Move server references to <code>nitro:prepare:types</code> hook (<a href="https://redirect.github.com/nuxt/nuxt/pull/33286">#33286</a>)</li>
<li><strong>nuxt:</strong> Place <code>filename</code> into <code>componentsIslandsTemplate</code> definition (<a href="https://redirect.github.com/nuxt/nuxt/pull/33394">#33394</a>)</li>
<li><strong>nuxt,vite:</strong> Use environment-api compatible plugins (<a href="https://redirect.github.com/nuxt/nuxt/pull/33403">#33403</a>)</li>
</ul>
<h3>📖 Documentation</h3>
<ul>
<li>Add <code>4.x</code> prefix to all internal links (<a href="https://redirect.github.com/nuxt/nuxt/pull/33264">#33264</a>)</li>
<li>Fix more links (<a href="https://redirect.github.com/nuxt/nuxt/pull/33265">#33265</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/nuxt/nuxt/commit/2311b272f5935b82766dd9365fb7d81f72310ec2"><code>2311b27</code></a> v4.1.3</li>
<li><a href="https://github.com/nuxt/nuxt/commit/ca76b894d8bed0196114f68e0bfe44eb77ad24c6"><code>ca76b89</code></a> chore(deps): update all non-major dependencies (main) (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33402">#33402</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/5eb356e7d1fff03a59bb8c45b3e1f2de4ad796fd"><code>5eb356e</code></a> refactor(nuxt,vite): use environment-api compatible plugins (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33403">#33403</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/c704151692fc13a89815db63fa34e96377338652"><code>c704151</code></a> fix(nuxt): handle non-immediate <code>useAsyncData</code> with different key on ssr (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33">#33</a>...</li>
<li><a href="https://github.com/nuxt/nuxt/commit/ce0fe6f63fc52be3fd2535d291b83316ce644537"><code>ce0fe6f</code></a> chore(deps): update all non-major dependencies (main) (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33290">#33290</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/13452a23bbefc8ffb1ce5521b25b574f6c21a236"><code>13452a2</code></a> refactor(nuxt): place <code>filename</code> into <code>componentsIslandsTemplate</code> definition ...</li>
<li><a href="https://github.com/nuxt/nuxt/commit/d6df732eec1a3bd442bdb325b0335beb7e10cd64"><code>d6df732</code></a> fix(nuxt): make middleware <code>_path</code> property configurable for HMR (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33379">#33379</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/011c13eb7967b2d0031c1bca282a37c98c914c26"><code>011c13e</code></a> fix(nuxt): prevent duplicate execution on key change in <code>useAsyncData</code> (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33325">#33325</a>)</li>
<li><a href="https://github.com/nuxt/nuxt/commit/bed410d60818562082b300c3e053b2d3bb8f2131"><code>bed410d</code></a> fix(nuxt): add stubs for new scripts from <code>@nuxt/scripts</code></li>
<li><a href="https://github.com/nuxt/nuxt/commit/7c979010d2d527beb88e0c643a3205c68aaad946"><code>7c97901</code></a> fix(nuxt): don't trigger scroll when changing trailing slash (<a href="https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt/issues/33358">#33358</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/nuxt/nuxt/commits/v4.1.3/packages/nuxt">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>