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

  • kit,nuxt,schema,vite,webpack: Nitropack v3 nightly (#27702)
  • ui-templates: Update template branding for v4 (#27843)
  • deps: Upgrade to latest versions of c12, jiti and unbuild (#27995)
  • kit: Reimplement cjs utils using mlly (#28012)
  • nuxt: Generate basic jsdoc for module config entry (#27689)
  • schema: Split dev/prod build directories (#28594)
  • nuxt: Cache vue app build outputs (#28726)

🔥 Performance

  • nuxt: ⚠️ Don't call render:html for server islands (#27889)
  • vite: Don't write stub manifest for legacy bundler (#27957)

🩹 Fixes

  • 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)
  • ui-templates: Add default title back (3415241a6)
  • kit: ⚠️ Drop support for building nuxt 2 projects (1beddba6a)
  • nuxt: ⚠️ Bump internal majorVersion to 4 (7aae4033b)
  • kit: Mark resolvePath utils as sync (655e1473d)
  • kit: Revert change to tryResolveModule (2d136e04c)
  • kit: Add back requireModule and tryRequireModule (#28013)
  • nuxt: Hide unhandled error messages in prod (#28156)
  • nuxt: Add useScriptCrisp scripts stub (0c3cc4cf3)
  • nuxt: ⚠️ Remove unused globalName property (#28391)
  • nuxt: Use static import for updateAppConfig in HMR (#28349)
  • vite: Write dev manifest when ssr: false (#28488)
  • kit,nuxt,schema: ⚠️ Remove other support for nuxt2/bridge (#28936)
  • nuxt: Simplify plugin InjectionType template conditional (#29023)
  • nuxt: Access server build from webpack memfs (#29027)
  • nuxt: Do not resolve non-absolute component paths (#29036)
  • nuxt: Defer unsetting error handler until suspense resolves (#29037)
  • nuxt: Pass DOMException as fetch abort exception (#29058)
  • vite: Don't force protocol if disabled devServer.https (#29049)

💅 Refactors

  • kit,nuxt: ⚠️ Drop nuxt 2 + ejs template compile support (#27706)
  • nuxt: ⚠️ Move #app/components/layout -> #app/components/nuxt-layout (209e81b60)
  • kit,nuxt,vite,webpack: ⚠️ Remove legacy require utils (#28008)
  • nuxt: Simplify check of dedupe option (#28151)

📖 Documentation

  • Indicate what useAsyncData must return (#28259)
  • Update deep default for useAsyncData & useFetch (#28564)
  • Use defineNuxtComponent instead of defineComponent (#29011)
  • Fix typo (#29045)

🏡 Chore

  • Manage update to vite-plugin-checker separately (02d46dd3d)
  • Update docs typecheck command (#28433)
  • Improve accuracy of 4.x changelog (#28706)
  • Add more checks around indexed access (#29060)

✅ Tests

  • Remove unused experimental options (6d971ddc9)
  • Add basic assertions for unctx transform (4976df6f6)

⚠️ Breaking Changes

  • nuxt: ⚠️ Don't call render:html for server islands (#27889)
  • 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: ⚠️ Drop support for building nuxt 2 projects (1beddba6a)
  • nuxt: ⚠️ Bump internal majorVersion to 4 (7aae4033b)
  • nuxt: ⚠️ Remove unused globalName property (#28391)
  • kit,nuxt,schema: ⚠️ Remove other support for nuxt2/bridge (#28936)
  • kit,nuxt: ⚠️ Drop nuxt 2 + ejs template compile support (#27706)
  • nuxt: ⚠️ Move #app/components/layout -> #app/components/nuxt-layout (209e81b60)
  • kit,nuxt,vite,webpack: ⚠️ Remove legacy require utils (#28008)

❤️ 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/kit@4.0.0 None 0 0 B
npm/@nuxt/schema@4.0.0 None 0 0 B
npm/@nuxt/vite-builder@4.0.0 None 0 0 B
npm/@nuxt/webpack-builder@4.0.0 None 0 0 B
npm/clear@0.1.0 None 0 2.04 kB bahamas10
npm/nuxt@4.0.0 None 0 0 B
npm/postcss@8.4.38 environment, filesystem +3 367 kB ai
npm/prettier@3.3.2 environment, filesystem, unsafe 0 8.25 MB prettier-bot
npm/rollup@4.18.0 environment, filesystem +17 47 MB lukastaegert

🚮 Removed packages: npm/@nuxt/vite-builder@3.12.2, npm/@nuxt/webpack-builder@3.12.2, npm/c12@1.11.1, npm/case-police@0.6.1, npm/changelogen@0.5.5, npm/chokidar@3.6.0, npm/compatx@0.1.8, npm/consola@3.2.3, npm/defu@6.1.4, npm/destr@2.0.3, npm/devalue@5.0.0, npm/eslint-plugin-perfectionist@2.11.0, npm/eslint-typegen@0.2.4, npm/eslint@9.5.0, npm/estree-walker@3.0.3, npm/execa@9.2.0, npm/fs-extra@11.2.0, npm/get-port-please@3.1.2, npm/globby@14.0.1, npm/h3@1.11.1, npm/happy-dom@14.12.0, npm/hash-sum@2.0.0, npm/hookable@5.5.3, npm/jiti@1.21.6, npm/klona@2.0.6, npm/knitwork@1.1.0, npm/magic-string@0.30.10, npm/markdownlint-cli@0.41.0, npm/mlly@1.7.1, npm/nitropack@2.9.6, npm/nuxi@3.12.0, npm/nuxt-content-twoslash@0.0.10, npm/nuxt@3.12.2, npm/ofetch@1.3.4, npm/ohash@1.1.3, npm/perfect-debounce@1.0.0, npm/pkg-types@1.1.1, npm/playwright-core@1.44.1, npm/radix3@1.1.2, npm/rimraf@5.0.7, npm/scule@1.3.0, npm/std-env@3.7.0, npm/strip-literal@2.1.0, npm/uncrypto@0.1.3, npm/unctx@2.3.1, npm/unenv@1.9.0, npm/unimport@3.7.2, npm/unplugin@1.10.1, npm/untyped@1.4.2, npm/vite@5.3.1, npm/vitest-environment-nuxt@1.0.0, npm/vitest@1.6.0, npm/vue-router@4.3.3, npm/vue-tsc@2.0.21, npm/vue@3.4.29

View full report↗︎

@Nyantekyi
Copy link

Hello.. Please leave the debounce feature on useFetch and useAsyncData...

@danielroe
Copy link
Member

@Nyantekyi we are not removing it, just you now need to set a more explicit name rather than true/false.

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.

2 participants