Bump nuxt from 4.0.3 to 4.1.0
Type: Pull Request
State: Open
Association: Contributor
Comments: 2
(9 months ago)
(9 months ago)
dependencies javascript
Bumps nuxt from 4.0.3 to 4.1.0.
Release notes
Sourced from nuxt's releases.
v4.1.0
👀 Highlights
🔥 Build and Performance Improvements
🍫 Enhanced Chunk Stability
Build stability has been significantly improved with import maps (#33075). This prevents cascading hash changes that could invalidate large portions of your build when small changes are made:
<!-- Automatically injected import map --> <script type="importmap">{"imports":{"#entry":"/_nuxt/DC5HVSK5.js"}}</script>By default, JS chunks emitted in a Vite build are hashed, which means they can be cached immutably. However, this can cause a significant issue: a change to a single component can cause every hash to be invalidated, massively increasing the chance of 404s.
In short:
- a component is changed slightly - the hash of its JS chunk changes
- the page which uses the component has to be updated to reference the new file name
- the entry now has its hash changed because it dynamically imports the page
- every other file which imports the entry has its hash changed because the entry file name is changed
Obviously this wasn't optimal. With this new feature, the hash of (otherwise) unchanged files which import the entry won't be affected.
This feature is automatically enabled and helps maintain better cache efficiency in production. It does require native import map support, but Nuxt will automatically disable it if you have configured
vite.build.targetto include a browser that doesn't support import maps.And of course you can disable it if needed:
export default defineNuxtConfig({ experimental: { entryImportMap: false } })🦀 Experimental Rolldown Support
Nuxt now includes experimental support for
rolldown-vite(#31812), bringing Rust-powered bundling for potentially faster builds.To try Rolldown in your Nuxt project, you need to override Vite with the rolldown-powered version since Vite is a dependency of Nuxt. Add the following to your
package.json:npm:
{ "overrides": { "vite": "npm:rolldown-vite@latest" } </tr></table>
... (truncated)
Commits
e12125av4.1.07234ae6feat(kit,nuxt): addgetLayerDirectoriesutil and refactor to use it (#33098)f77da6cchore(deps): update all non-major dependencies (main) (#33100)a74035efeat(kit,nuxt,schema): allow modules to specify dependencies (#33063)7c5efacchore(deps): update all non-major dependencies (main) (#33094)2566d20fix(nuxt): add validation for nuxt island reviver key (#33069)35c5f9ffix(nuxt): deletenuxtApp._runningTransitionon resolve (#33025)b58c139fix(nuxt): search for colliding names in route childrendc427ferefactor(kit,nuxt,ui-templates,vite): address deprecations + improve regexp p...404424cfeat(nuxt): lazy hydration macros without auto-imports (#33037)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for nuxt since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
0
0
+0
-0
Package Dependencies
Technical Details
| ID: | 7954684 |
| UUID: | 3427753140 |
| Node ID: | PR_kwDOKL2nAM6pJ0E8 |
| Host: | GitHub |
| Repository: | allancoding/allancoding.dev |