Zum Inhalt springen

Vue Core Updates & Release Notes

Einträge
55
Quellen
1
Zuletzt aktualisiert

Folge Vue Core, um die Release Notes in deinen Feed zu holen.

Vue Core von Vue

Vue Core 3.5.5 (2024-09-13)

Mehrere Fehlerbehebungen im Compiler, im Custom-Element-Handling und in anderen Bereichen.

Bug Fixes

  • compiler-core: fix handling of delimiterOpen in VPre (#11915) (706d4ac), closes #11913
  • compiler-dom: fix stringify static edge for partially eligible chunks in cached parent (1d99d61), closes #11879 #11890
  • compiler-dom: should ignore leading newline in <textarea> per spec (3c4bf76)
  • compiler-sfc: nested css supports atrule and comment (#11899) (0e7bc71), closes #11896
  • custom-element: handle nested customElement mount w/ shadowRoot false (#11861) (f2d8019), closes #11851 #11871 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.4 (2024-09-10)

Fehlerbehebungen für Scoped Injection, Reactivity und Typinferenz sowie Leistungsverbesserungen.

Bug Fixes

  • compiler-sfc: correct scoped injection for nesting selector (#11854) (b1de75e), closes #10567
  • reactivity: fix markRaw error on already marked object (#11864) (67d6596), closes #11862
  • Revert "fix: Revert "fix(reactivity): self-referencing computed should refresh"" (e596378)
  • runtime-core: handle shallow reactive arrays in renderList correctly (#11870) (ced59ab), closes #11869
  • types: correctly infer TypeEmits with both tuple and function syntax (#11840) (dad6738), closes #11836

Performance Improvements …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.3 (2024-09-06)

Fehlerbehebungen für Hydration, SSR und Transitionen, unter anderem für KeepAlive-Kinder.

Bug Fixes

  • hydration: check __asyncHydrate presence for vue3-lazy-hydration compat (#11825) (8e6c337), closes #11793
  • Revert "fix(reactivity): self-referencing computed should refresh" (35c760f)
  • ssr: respect app.config.warnHandler during ssr (bf3d9a2), closes #11830
  • Transition: handle KeepAlive child unmount in Transition out-in mode (#11833) (6b7901d), closes #11775
  • useId: make generated IDs selector compatible (babfb4c), closes #11828

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.2 (2024-09-05)

Korrekturen im Reactivity-System und im Scheduler, einschließlich Endlos-Rekursion bei Computed Properties.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.1 (2024-09-04)

Fehlerbehebungen für Built-in-Komponenten, Reactivity, Transitionen und Typdefinitionen.

Bug Fixes

  • build: improve built-in components treeshakability (4eee630)
  • reactivity: handle non-array arguments in reactive concat method (#11794) (475977a), closes #11792
  • Transition: avoid applying transition hooks on comment vnode (#11788) (51912f8), closes #11782
  • types: avoid using intersection type in Readonly<...> to fix JSDoc emit (#11799) (7518bc1)
  • useTemplateRef: fix readonly warning when useTemplateRef has same variable name as template ref (bc63df0), closes #11795 #11802 #11804

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.0

Vue 3.5.0 wurde veröffentlicht und bietet unter anderem ein überarbeitetes Reaktivitätssystem mit Versionszählung und doppelt verketteter Listen-Tracking sowie die Aktivierung des reaktiven Props-Destructuring.

Aggregated Features List for 3.5 (alpha to stable)

Reactivity

  • reactivity: Refactor reactivity system to use version counting and doubly-linked list tracking (#10397) (05eb4e0)
  • reactivity: Optimize array tracking (#9511) (70196a4)
  • compiler-sfc: enable reactive props destructure by default (d2dac0e)
  • reactivity: onEffectCleanup API (2cc5615), closes #10173
  • reactivity: add failSilently argument for onScopeDispose (9a936aa)
  • reactivity/watch: base watch, getCurrentWatcher, and onWatcherCleanup (#9927) (205e5b5)
  • reactivity/watch: add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#9651) (267093c) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.0-rc.1

Vue 3.5.0-rc.1 behebt Fehler und aktualisiert eine Abhängigkeit.

Bug Fixes

  • compiler-sfc: skip circular tsconfig project reference (#11680) (9c4c2e5), closes #11382
  • custom-element: handle keys set on custom elements (#11655) (f1d1831), closes #11641
  • deps: update dependency monaco-editor to ^0.51.0 (#11713) (434f8a9)
  • keep-alive: reset keep alive flag when the component is removed from include (#11718) (29c321b), closes #11717
  • reactivity: avoid infinite recursion when mutating ref wrapped in reactive (313e4bf), closes #11696 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.0-beta.3

Vue 3.5.0-beta.3 behebt mehrere Fehler, unter anderem in Reaktivität, Laufzeitkern und SSR.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.0-beta.2

Vue 3.5.0-beta.2 behebt Fehler und aktualisiert Abhängigkeiten.

Bug Fixes

  • build: revert entities to 4.5 to avoid runtime resolution errors (e9e0815), closes #11603
  • compiler-core: use ast-based check for function expressions when possible (5861229), closes #11615
  • compiler-sfc: fix prefixIdentifier default value (3d6f015)
  • compiler-sfc: handle keyof operator with index object (#11581) (fe00815)
  • custom-element: keep instance.isCE for backwards compat (e19fc27)
  • deps: update dependency postcss to ^8.4.41 (#11585) (4c4e12a)
  • keep-alive: ensure include/exclude regexp work with global flag (#11595) (3653bc0) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-beta.1 – Fehlerbehebungen für Custom Elements

In Version 3.5.0-beta.1 wurden mehrere Fehler bei Custom Elements behoben, darunter verzögertes Mounten, Prop-Löschung, Scoped-IDs, Standardwerte und frühe DOM-Props bei asynchronen Elementen.

Bug Fixes

  • custom-element: delay mounting of custom elements with async parent (37ccb9b), closes #8127 #9341 #9351 #9351
  • custom-element: delete prop on attribute removal (506c4c5), closes #11276
  • custom-element: ignore scoped id (7f2c505)
  • custom-element: reflect prop default value on custom element (63689ed), closes #9006 #10537
  • custom-element: support early-set domProps for async custom elements (a07e7bf), closes #11081 #11082 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-alpha.5 – Neuerungen bei Hydration und asynchronen Komponenten

Version 3.5.0-alpha.5 führt Unterstützung zum Unterdrücken von Hydrationsabweichungen per data-allow-mismatch und Lazy-Hydration-Strategien für asynchrone Komponenten ein.

Features

  • hydration: support suppressing hydration mismatch via data-allow-mismatch (94fb2b8)
  • lazy hydration strategies for async components (#11458) (d14a11c)

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-alpha.4 – Hydration und useId-Fehlerbehebungen

In dieser Vorabversion wurden das Hydration-Timing asynchroner Komponenten in Suspense und die Markierung asynchroner Grenzen für bereits aufgelöste asynchrone Komponenten bei useId korrigiert.

Bug Fixes

  • suspense/hydration: fix hydration timing of async component inside suspense (1b8e197), closes #6638
  • useId: properly mark async boundary for already resolved async component (cd28172)

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-alpha.3 – Fehlerbehebungen und neue APIs

Diese Version enthält mehrere Fehlerbehebungen für Builds, Compiler und Typen sowie die neuen APIs useTemplateRef() und useId() mit konfigurierbarem idPrefix.

Bug Fixes

  • build: enable SSR branches in esm-browser builds (b14cd9a)
  • compiler-core: change node hoisting to caching per instance (#11067) (cd0ea0d), closes #5256 #9219 #10959
  • compiler-sfc: should properly walk destructured props when reactive destructure is not enabled (0fd6193), closes #11325
  • types: respect props with default on instance type when using __typeProps (96e4738)

Features

  • runtime-core: useTemplateRef() (3ba70e4)
  • runtime-core: useId() and app.config.idPrefix (#11404) (73ef156) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-alpha.2 – Typkorrekturen und app.onUnmount

Version 3.5.0-alpha.2 behebt Typfehler bei app.component() und defineOptions und ergänzt die neue Methode app.onUnmount() zum Registrieren von Aufräumfunktionen.

Bug Fixes

  • types: fix app.component() typing with inline defineComponent (908f70a), closes #10843
  • types: fix compat with generated types that rely on CreateComponentPublicInstance (c146186), closes #10842
  • types: props in defineOptions type should be optional (124c4ca), closes #10841

Features

  • runtime-core: add app.onUnmount() for registering cleanup functions (#4619) (582a3a3), closes #4516

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.0-alpha.1 – Reaktivitäts- und Compiler-Neuerungen

Die erste Alpha von Vue 3.5 aktiviert reaktive Props-Destrukturierung standardmäßig, fügt onEffectCleanup hinzu, erweitert onScopeDispose und unterstützt Teleport direkt in Transition.

Bug Fixes

  • reactivity: fix call sequence of ontrigger in effect (#10501) (28841fe)

Features

  • compiler-sfc: enable reactive props destructure by default (d2dac0e)
  • reactivity: onEffectCleanup API (2cc5615), closes #10173
  • reactivity: add failSilently argument for onScopeDispose (9a936aa)
  • transition: support directly nesting Teleport inside Transition (#6548) (0e6e3c7), closes #5836
  • types: provide internal options for directly using user types in language tools (#10801) (75c8cf6)

Performance Improvements …

Originalquelle(öffnet in neuem Tab)Problem melden