Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

v4.0.0 #27716

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

v4.0.0 #27716

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 19, 2024

4.0.0 is the next major release.

Timetable: to be announced.

👉 Changelog

compare changes

🚀 Enhancements

  • nuxt: Await custom routes function in router.options (#27644)
  • kit: Add new isNuxtMajorVersion compatibility util (#27579)
  • kit,schema: Add .with for better module options types (#27520)
  • kit,nuxt,schema,vite,webpack: Nitropack v3 nightly (#27702)
  • nuxt: Warn when user components' names begin with Lazy (#27838)
  • ui-templates: Update template branding for v4 (#27843)

🔥 Performance

  • nuxt,vite: Use native fs utils rather than fs-extra (#27787)
  • schema: Use chokidar when a custom srcDir is provided (#27871)

🩹 Fixes

  • nuxt: Flag async data promise as cancelled only if defined (#27690)
  • schema,vite: ⚠️ Do not allow configuring vite dev bundler (#27707)
  • schema: Handle backwards compat for dir.app (a0d514509)
  • schema: ⚠️ Default to compatibilityVersion: 4 (#27710)
  • nuxt: ⚠️ Emit absolute paths in builder:watch hook (#27709)
  • nuxt: ⚠️ Improve default asyncData value behaviour (#27718)
  • nuxt: Support hoisting types of subpath imports (#27720)
  • nuxt: Resolve routes when navigateTo called with open (#27742)
  • nuxt: Handle subpaths more correctly (b27984963)
  • nuxt: Delay navigation until user input is acknowledged (#27743)
  • nuxt: Resolve aliases used in nitro plugin paths (#27741)
  • schema: Do not use full path assets/public aliases (ae12d72a4)
  • nuxt: ⚠️ Remove old experimental options (#27749)
  • nuxt: Defer registering inp handler until nuxt is mounted (c87ca8607)
  • nuxt: Add refresh type in server component refs (#27778)
  • nuxt: Extract all-literal page meta (#27821)
  • kit: ⚠️ Support loading nuxt 4 and drop support for <=2 (#27837)
  • nuxt: Handle external links to named route objects (#27829)
  • nuxt: Use URL to encode redirected URLs (#27822)
  • nuxt: ⚠️ Remove __NUXT__ after hydration (#27745)
  • nuxt: Don't use app version when verifying nuxt deps (#27864)
  • ui-templates: Add default title back (3415241a6)

💅 Refactors

  • kit,nuxt: ⚠️ Drop nuxt 2 + ejs template compile support (#27706)
  • nuxt: ⚠️ Move #app/components/layout -> #app/components/nuxt-layout (209e81b60)

📖 Documentation

  • Add referral query variable to Vue School Links (#27670)
  • Fix variable name (#27675)
  • Clarify how transitions are configured globally (#27679)
  • Remove outdated recommendation (#27691)
  • Add refreshCookie on useCookie doc page (#27744)
  • Remove outdated tip (#27773)
  • Warn about awaiting useFetch/AsyncData in wrappers (#27785)
  • Update some code groups with package manager examples (#27791)
  • Hint to use runtime config (#27859)

🏡 Chore

  • Use absolute urls for sources to assets in readme (5ef305cec)
  • Use relative links and update in build script (7dd15186e)
  • Use backup file extension (a42a3869b)
  • Allow changelogs with breaking changes (73fd46a4d)
  • Allow major bumps (6dcbf7e3f)
  • Add 4x tag for v4 nightly releases (3a304874d)
  • Remove nitro/h3 from renovate, and reenable vitejs/vue (74e847bd9)
  • Improve type safety with indexed access (#27626)

✅ Tests

  • schema: Normalize snapshot paths for windows (#27654)
  • nuxt: Normalize paths for windows (#27653)
  • Bump timeout for node-compat test (228b8b889)
  • Remove unused experimental options (6d971ddc9)
  • Slightly improve test reliability (#27811)

🤖 CI

  • Update changelog from 3.x branch updates (2b6967fbb)
  • Add 3x tag instead (de06660e0)
  • Run workflows against 3.x branch as well (bbcab053b)
  • Use correct SHA calculation for release-pr action (#27604)
  • Resolve bash syntax error (#27789)
  • Only run scorecards against main branch (51bc41542)

⚠️ Breaking Changes

  • schema,vite: ⚠️ Do not allow configuring vite dev bundler (#27707)
  • schema: ⚠️ Default to compatibilityVersion: 4 (#27710)
  • nuxt: ⚠️ Emit absolute paths in builder:watch hook (#27709)
  • nuxt: ⚠️ Improve default asyncData value behaviour (#27718)
  • nuxt: ⚠️ Remove old experimental options (#27749)
  • kit: ⚠️ Support loading nuxt 4 and drop support for <=2 (#27837)
  • nuxt: ⚠️ Remove __NUXT__ after hydration (#27745)
  • kit,nuxt: ⚠️ Drop nuxt 2 + ejs template compile support (#27706)
  • nuxt: ⚠️ Move #app/components/layout -> #app/components/nuxt-layout (209e81b60)

❤️ Contributors

Copy link

stackblitz bot commented Jun 19, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@nuxt/[email protected] None 0 0 B
npm/@nuxt/[email protected] None 0 0 B
npm/@nuxt/[email protected] None 0 0 B
npm/@nuxt/[email protected] None 0 0 B
npm/[email protected] None 0 2.04 kB bahamas10
npm/[email protected] None 0 0 B
npm/[email protected] environment, filesystem +3 367 kB ai
npm/[email protected] environment, filesystem, unsafe 0 8.25 MB prettier-bot
npm/[email protected] environment, filesystem +17 47 MB lukastaegert

🚮 Removed packages: npm/@nuxt/[email protected], npm/@nuxt/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant