Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(deps): update nuxt framework to ^3.15.4 #923

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit (source) ^3.15.1 -> ^3.15.4 age adoption passing confidence
nuxt (source) ^3.15.1 -> ^3.15.4 age adoption passing confidence

Release Notes

nuxt/nuxt (@​nuxt/kit)

v3.15.4

Compare Source

3.15.4 is the next patch release.

✅ 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

🩹 Fixes
  • nuxt: Improve error logging when parsing with acorn (#​30754)
  • nuxt: Clear island uid before saving into the payload (#​30767)
  • kit: Load @nuxt/schema from nuxt package dir (#​30774)
  • nuxt: Allow restarting nuxt on paths outside srcDir (#​30771)
  • nuxt: Don't warn about calling useRoute in SFC setup (#​30788)
  • webpack: Disallow cross-site requests in no-cors mode (#​30757)
  • vite: Restore externality for dev server externals (#​30802)
💅 Refactors
  • vite: Use new rollup chunk.names for asset names (#​30780)
❤️ Contributors

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

v3.15.2

Compare Source

3.15.2 is the next regularly scheduled patch release.

👀 Highlights
🔥 Startup performance improvements

It is worth noting that this release includes some pretty significant performance improvements which you should notice particularly in the startup time. In my tests in the nuxt monorepo,

fixture time to vite build complete (v3.15.1) time to vite build complete (v3.15.2)
minimal 850ms 710ms
everything bagel 3,021ms 1,690ms

There's more improvement to do here but hopefully these are good numbers!

📦 CLI refactor

To improve performance within Nuxt projects, we've published a new @nuxt/cli distribution of nuxi, which is used under-the-hood in nuxt (see issue). This should behave exactly the same and nothing needs to be updated in your projects (for example, you will continue to use the nuxi or nuxt commands). The only significant change is that it no longer inlines dependencies. Feedback is welcome 🙏

✅ 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
  • nuxt: Remove code duplication in client-only (#​30460)
  • nuxt: Use lighter @nuxt/cli dependency (#​30526)
  • kit: Remove iterations when resolving module path (#​30562)
  • nuxt: Avoid checking fs for existence of scanned pages (#​30581)
  • nuxt: Defer version/config warnings to after build (#​30567)
🩹 Fixes
  • nuxt: Collect all identifiers before extracting page metadata (#​30478)
  • nuxt: Don't hoist identifiers declared locally in definePageMeta when extracting page metadata (#​30490)
  • kit: Reorder #build to the end of tsConfig paths (#​30520)
  • nuxt: Use fullPath instead of empty string in router hmr (#​30500)
  • Relax nuxt version constraints to current (23b968289)
  • nuxt: Add import protection for @nuxt/cli (618bbc6da)
  • kit: Fully resolve plugin paths when normalising them (#​30540)
  • nuxt: Call page:loading:end only once with nested pages (#​29009)
  • nuxt: Warn about ignored char while parsing route segment (#​30396)
  • nuxt: Allow url-specific chars in vfs (#​30584)
  • nuxt: Do not warn about invalid characters in route groups/catchalls (0249c74bc)
  • vite: Provide fallback alias for #app-manifest (#​30587)
  • nuxt: Avoid invoking shouldPrefetch on the server side (#​30591)
  • nuxt: Decode id before resolving relative imports (#​30599)
💅 Refactors
  • kit,nuxt,webpack: Reduce reassignments (#​30589)
📖 Documentation
  • Document --dev option for the module command (#​30477)
  • Document the add layer command (#​30476)
  • Update v4 release date (#​30514)
  • Ensure correct type for url in useFetch (#​30531)
  • Update link to @nuxt/module-builder source (509cf4a5c)
  • Add status detail and enhance getCachedData readability (#​30536)
  • Update hash link to correct heading (#​30543)
  • Update links to unhead source (fef3a59bb)
  • Adjust example and additional instructions of useNuxtData (#​30570)
  • Resolve many twoslash errors (#​30573)
  • Add context for useAsyncData side effects (#​30479)
  • Update examples to use function declarations for clarity (#​30588)
🏡 Chore
  • Control dependency import into nuxt/app (1adf3e31f)
  • Ignore automated renovate node engines updates (6895993fb)
🤖 CI
  • Don't block release on fixtures + add pkg.pr.new (#​30548)
  • Remove concurrency group from release-pr job (8ac54ff10)
❤️ 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 is behind base branch, 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

netlify bot commented Dec 5, 2024

Deploy Preview for nuxt-tailwindcss failed. Why did it fail? →

Name Link
🔨 Latest commit d59088f
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-tailwindcss/deploys/679a12345e838100082517c2

Copy link

what-the-diff bot commented Dec 5, 2024

PR Summary

  • Updated versions for key packages
    The versions for several key packages were updated. This includes @nuxt/test-utils, @iconify-json/simple-icons, magic-string, and unplugin. The updated versions would bring improved features, stability, and potential bug fixes.

  • Modification of peer dependencies for @nuxt/test-utils
    The peer dependencies for the @nuxt/test-utils package were modified. The changes specify new Node.js version requirements and include additional dependencies such as @vitest/ui. Constraints on vite and nitropack have been removed, allowing greater compatibility and flexibility.

  • Addition of new transitive peer dependencies for vitest-environment-nuxt
    To ensure compatibility and proper functionality, new transitive peer dependencies for vitest-environment-nuxt were added. These include less, sass, sugarss and others. These dependencies should allow for a wider range of functionality and compatibility with other systems and libraries.

@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/test-utils to ^3.15.0 chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 Dec 6, 2024
@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/nuxt branch December 8, 2024 18:35
@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 - autoclosed chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 Dec 8, 2024
@renovate renovate bot reopened this Dec 8, 2024
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 78ea122 to a242e86 Compare December 16, 2024 18:03
@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 chore(deps): update nuxt framework Dec 25, 2024
@renovate renovate bot changed the title chore(deps): update nuxt framework chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 Dec 25, 2024
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 7b278c2 to 016ec5d Compare December 25, 2024 18:24
@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/test-utils to ^3.15.1 chore(deps): update nuxt framework to ^3.15.1 Jan 5, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.1 chore(deps): update nuxt framework Jan 12, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework chore(deps): update nuxt framework to ^3.15.1 Jan 12, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.1 chore(deps): update nuxt framework to ^3.15.1 - autoclosed Jan 13, 2025
@renovate renovate bot closed this Jan 13, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.1 - autoclosed chore(deps): update nuxt framework to ^3.15.1 Jan 15, 2025
@renovate renovate bot reopened this Jan 15, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.1 chore(deps): update nuxt framework to ^3.15.2 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 072f6bd to 4ccd80e Compare January 24, 2025 15:18
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.2 chore(deps): update nuxt framework to ^3.15.3 Jan 25, 2025
@renovate renovate bot changed the title chore(deps): update nuxt framework to ^3.15.3 chore(deps): update nuxt framework to ^3.15.4 Jan 29, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants