Skip to content

Conversation

@renovate
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/schema (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.

@netlify
Copy link

netlify bot commented Jan 25, 2025

Deploy Preview for friendly-lamington-fb5690 ready!

Name Link
🔨 Latest commit 79a2eac
🔍 Latest deploy log https://app.netlify.com/sites/friendly-lamington-fb5690/deploys/6794ed3eac162300086843d6
😎 Deploy Preview https://deploy-preview-675--friendly-lamington-fb5690.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.32%. Comparing base (fecd0ba) to head (79a2eac).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #675   +/-   ##
=======================================
  Coverage   47.32%   47.32%           
=======================================
  Files          11       11           
  Lines         672      672           
  Branches       34       34           
=======================================
  Hits          318      318           
  Misses        354      354           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielroe danielroe merged commit 282108d into main Jan 25, 2025
9 checks passed
@danielroe danielroe deleted the renovate/nuxt branch January 25, 2025 13:58
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.

2 participants