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)
  • deps: Update dependency vite to v6 (main) (#30042)

🔥 Performance

  • nuxt: ⚠️ Don't call render:html for server islands (#27889)
  • vite: Don't write stub manifest for legacy bundler (#27957)
  • nuxt: Remove code duplication in client-only (#30460)
  • nuxt: Use lighter @nuxt/cli dependency (#30526)

🩹 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)
  • webpack: Only insert dynamic require plugin when building (b619b35e9)
  • nuxt: Guard window access (d874726ff)
  • nuxt: Remove unneeded subpath import (18a6ef1ca)
  • webpack: Handle new webpack chunk format (d293c06d2)
  • 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)

💅 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)
  • nuxt: Use direct import of installNuxtModule (501ccc375)

📖 Documentation

  • Indicate what useAsyncData must return (#28259)
  • Update deep default for useAsyncData & useFetch (#28564)
  • Move custom directories note to the correct place (#29100)
  • Add props to special metadata (#29708)
  • Fix link to issue (4d13f1027)
  • Fix typos (#30413)
  • 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)

🏡 Chore

  • Manage update to vite-plugin-checker separately (02d46dd3d)
  • Update docs typecheck command (#28433)
  • Improve accuracy of 4.x changelog (#28706)
  • Bump package versions internally to v4 (16fab7778)
  • kit: Fix regressed version v4 (a1c052057)
  • Dedupe lockfile (f14ef6bc9)
  • Update once more (4d22f4d5a)
  • Specify workspace engines.node compatibility (a26322f5f)
  • Remove special treatment for typescript (08766a0cd)
  • Reenable quarantine for webpack/memfs (for 3.x benefit) (9cb94e55e)
  • Add additional dummy url to ignore (3a37c74e1)
  • Control dependency import into nuxt/app (4c66a7994)

✅ Tests

  • Remove unused experimental options (6d971ddc9)
  • Add additional attw test for built packages (#30206)
  • Add minimal pages fixture (#30457)

🤖 CI

⚠️ 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

  • Alex Liu (@Mini-ghost)
  • Daniel Roe (@danielroe)
  • Saeid Zareie (@Saeid-Za)
  • Matej Černý (@cernymatej)
  • Clément Ollivier (@clemcode)
  • Julien Huang (@huang-julien)
  • Anders Bootsmann Larsen (@bootsmann1995)
  • Alexander Lichter (@TheAlexLichter)
  • Connor Roberts (@murshex)
  • Horu (@HigherOrderLogic)
  • Mehmet (@productdevbook)
  • @beer (@iiio2)
  • Nishant Aanjaney Jalan (@cybercoder-naj)
  • David Nahodyl (@Smef)
  • Vuk Marjanovic (@vmrjnvc)
  • Bobbie Goede (@BobbieGoede)
  • derHodrig (@derHodrig)
  • Martins Zeltins (@martinszeltins)
  • Matt (@matt-clegg)
  • Nikolay (@RokeAlvo)
  • Joaquín Sánchez (@userquin)
  • bjoaquinc (@bjoaquinc)
  • wzc520pyfm (@wzc520pyfm)
  • Kraig Burrows (@zync09)
  • Harlan Wilton (@harlan-zw)
  • 一纸忘忧 (@ikxin)
  • Sébastien LeBlanc (@mrleblanc101)
  • Teena (@franklin-tina)
  • skmedix (@skmedix)
  • Daniel Rentz (@danielrentz)
  • Inesh Bose (@ineshbose)
  • Felix Gabler (@felixgabler)
  • mianlang (@mianlang)
  • Tamás H. (@Tamas-hi)
  • xjccc (@xjccc)
  • Guillaume Chau (@Akryum)
  • Farnabaz (@farnabaz)
  • Jan-Niklas W. (@niklas-wortmann)
  • Gustavo Aquino Torres Teixeira (@guska8)
  • Stephanie Smith (@stephiescastle)
  • Maxime Pauvert (@maximepvrt)
  • crisarji (@crisarji)
  • RBV1 (@RBV1)
  • Adrien Foulon (@Tofandel)
  • Efraim (@EfraimGENC)
  • Aurion SARL (@TonyFresneau)
  • Erik Lilja (@Lilja)
  • Markus Oberlehner (@maoberlehner)
  • Lukas Bauer (@luxterful)
  • Damian Głowala (@DamianGlowala)
  • Till Sanders (@tillsanders)
  • Nils (@BracketJohn)
  • Estéban (@Barbapapazes)
  • John Tanzer (@moshetanzer)
  • Cruz (@SparK-Cruz)
  • Anthony Fu (@antfu)
  • 翠 / green (@sapphi-red)
  • Taras Batenkov (@enkot)
  • Michael Brevard (@GalacticHypernova)
  • Panopoulos Andreas (@b0ul17)
  • Dawit (@oneminch)
  • Ryota Watanabe (@wattanx)
  • Alexander (@hywax)
  • Ryoya (@harunari0928)
  • Jelmer (@jelmerdemaat)
  • Christoph Heike (@cheike569)
  • Sébastien Chopin (@atinux)
  • Jeremy Graziani (@AcelisWeaven)
  • Domenik Reitzner (@dreitzner)
  • Jeel Rupapara (@zeelrupapara)
  • Pooya Parsa (@pi0)
  • Leopold Kristjansson (@leopoldkristjansson)
  • Horváth Bálint (@horvbalint)
  • Bochkarev Ivan (@Ibochkarev)
  • Joschua (@selfire1)
  • Indrek Ardel (@Ingramz)
  • DarkVen0m (@DarkVen0m)
  • Ezra Ashenafi (@Eazash)
  • Artem Maslov (@Twocram)
  • Paulo Ricardo Severo (@prsevero)
  • Liran Tal (@lirantal)
  • Osama Abdallah Essa Haikal (@OsamaHaikal)
  • Gianluca Di Francesco (@gianlucadifrancesco)
  • Heb (@Hebilicious)
  • Eckhardt (Kaizen) Dreyer (@Eckhardt-D)
  • Ismail Sabet (@ismailsabet)
  • Max (@onmax)
  • riskrole (@riskrole)
  • Thimo Sietsma (@th1m0)
  • felix-dolderer (@felix-dolderer)
  • Nicolas Payot (@nicolaspayot)
  • Kewin Szlezingier (@kewinzaq1)
  • Vasily Kuzin (@ExEr7um)
  • Gustav Odinger (@gustavwilliam)
  • Martin André (@Martichou)
  • Mike Laumann Bellika (@MikeBellika)
  • Typed SIGTERM (@typed-sigterm)
  • Son Tran (@trandaison)
  • rubyisrust (@rubyisrust)
  • Riley Ho (@rileychh)
  • Adam DeHaven (@adamdehaven)
  • Potter (@yxw007)
  • Martin Masevski (@Archetipo95)
  • BoogieBen. (@boogie-ben)
  • Tobias Diez (@tobiasdiez)
  • Yasser Lahbibi (@yassilah)
  • pan93412 (@pan93412)
  • AuroraTea (@AuroraTea)
  • nuxt-studio[bot] (@nuxt-studio[bot])
  • Vaci (@vacijj)
  • FELIPE COSTA DE OLIVEIRA (@FelipeO16)
  • Aleksei Nagovitsyn (@nag5000)
  • Meo (@miaobuao)
  • Mohab Sameh (@mohab-sameh)
  • Quentin Macq (@quentinmcq)
  • Johan Krijt (@johankrijt)
  • arshcodemod (@arshcodemod)
  • Santiago A (@santiagoaloi)
  • Thomas (@ThomasWT)
  • Dominic (@rexhent)
  • Florian Metz (@Timeraa)
  • Daniel Kelly (@danielkellyio)
  • Daniel Flanagan (@FlantasticDan)
  • 山吹色御守 (@KazariEX)
  • izzy goldman (@izzygld)
  • Seno (@s-en-o)
  • Aviv Keller (@avivkeller)
  • Lucie (@lihbr)
  • Idorenyin Udoh (@idorenyinudoh)

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.

selfire1 added a commit to selfire1/nuxt that referenced this pull request Sep 25, 2024
selfire1 added a commit to selfire1/nuxt that referenced this pull request Sep 25, 2024
updates the timeline according to nuxt#27716
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