Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit (source) 3.15.2 -> 3.15.3 age adoption passing confidence
nuxt (source) 3.15.2 -> 3.15.3 age adoption passing confidence

Release Notes

nuxt/nuxt (@​nuxt/kit)

v3.15.3

Compare Source

3.15.3 is the next regularly scheduled patch release.

👀 Highlights
CORS configuration for dev server

Alongside a range of improvements, we've also shipped a significant fix to impose CORS origin restrictions on the dev server. This applies to your Vite or Webpack/Rspack dev middleware only.

This is a significant/breaking change we would not normally ship in a patch but it is a security fix (see GHSA-4gf7-ff8x-hq99 and GHSA-2452-6xj8-jh47) and we urge you to update ASAP.

You can configure the allowed origins and other CORS options via the devServer.cors options in your nuxt.config, which may be relevant if you are developing with a custom hostname:

export default defineNuxtConfig({
  devServer: {
    cors: {
      origin: ['https://custom-origin.com'],
    },
  },
})
✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

👉 Changelog

compare changes

🔥 Performance
  • kit,nuxt: Don't resolve paths from local layers/modules (#​30650)
  • nuxt: Reduce number of mkdirSync calls (#​30651)
  • nuxt: Reduce unnecessary template updating (#​30684)
  • kit: Reduce duplication between findPath and resolvePath (#​30682)
  • kit: Run components compat check synchronously (#​30685)
  • nuxt: Early return from annotation for non-object syntax plugins (#​30683)
  • nuxt: Enable Transition component only on client side (#​30720)
🩹 Fixes
  • vite: Override previous #app-manifest alias (#​30618)
  • kit,nuxt,schema,vite: Improve watching behaviour (#​30620)
  • nuxt: Fall back to plugin.src for variable name generation (#​30649)
  • schema: Allow overriding dev/test environment value (#​30667)
  • vite: Drop unneeded call to invalidate module (d2a95c542)
  • vite: Add back invalidateModule call (9bd71e498)
  • nuxt: Do not warn about [[ optional dynamic params (#​30619)
  • vite: Inline shared folder in dev mode (#​30690)
  • nuxt: Deep clone extracted page meta (#​30717)
  • vite,webpack: Restrict access via cors to local origins + allow configuration via devServer.cors (406db5b4d)
💅 Refactors
  • vite: Drop externality and use vite internal config (#​30634)
📖 Documentation
  • Add link to custom useFetch example (#​30629)
  • Fix example command (#​30628)
  • Fix links to nuxi source code (4fabe0025)
  • Add description for prefetch and other details of NuxtLink (#​30614)
  • Update nuxt/content example (542987627)
  • Adjust examples, type and description for addRouteMiddleware (#​30656)
  • Explain how to use ClientOnly with onMounted hook (#​30670)
  • Update links to unhead source (eb5344b43)
  • Add more context about navigation mode in callOnce composable (#​30612)
  • Add example on how to disable default routes for ssg (#​30729)
📦 Build
  • schema: Use new inlineDependencies option (01adefcec)
🏡 Chore
🤖 CI
  • Run bundle size assertion outside of matrix (#​30688)
  • Reenable nuxt benchmarking (#​30711)
❤️ Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Jan 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
magic-regexp-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2025 2:45am

Copy link

Diagnostics Comparison:

Click to expand
Metric Previous New Status
Files 348 348 ± (0.00%)
Lines 143175 143175 ± (0.00%)
Identifiers 148116 148116 ± (0.00%)
Symbols 250521 250521 ± (0.00%)
Types 51231 51231 ± (0.00%)
Instantiations 612180 612180 ± (0.00%)
Memory used 287665K 287080K ▼ (-0.20%)
I/O read 0.02s 0.03s ▲ (+33.33%)
I/O write 0s 0s ± (0.00%)
Parse time 0.93s 0.98s ± (+5.10%)
Bind time 0.42s 0.4s ± (-5.00%)
Check time 2.05s 2.02s ± (-1.49%)
Emit time 0.1s 0.1s ± (0.00%)
Total time 3.49s 3.5s ± (+0.29%)

Copy link

codspeed-hq bot commented Jan 25, 2025

CodSpeed Performance Report

Merging #483 will not alter performance

Comparing renovate/nuxt (c39fa8c) with main (4d958d0)

Summary

✅ 6 untouched benchmarks

@danielroe danielroe merged commit 8cad062 into main Jan 25, 2025
12 checks passed
@danielroe danielroe deleted the renovate/nuxt branch January 25, 2025 13:36
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.

1 participant