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 3.5.25

Behebt mehrere Fehler im Compiler, bei der Reaktivität und in der Laufzeit, darunter eine Warnung bei Nutzung von provide nach dem Mounten und Probleme mit readonly-Arrayelementen.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.23

Behebt Fehler im Compiler, unter anderem bei TypeScript-Typbehauptungen, v-bind-Kurzschreibweise in DOM-Templates, SSR für textarea mit v-text und statischen Eigenschaftsschlüsseln.

Bug Fixes

  • compiler-core: correctly handle ts type assertions in expressions (#13397) (e6544ac), closes #13395
  • compiler-core: fix v-bind shorthand handling for in-DOM templates (#13933) (b3cca26), closes #13930
  • compiler-sfc: resolve numeric literals and template literals without expressions as static property key (#13998) (75d44c7)
  • compiler-ssr: textarea with v-text directive SSR (#13975) (006a0c1)
  • compiler: using guard instead of non-nullish assertion (#13982) (dcc6f36) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.22

Behebt Fehler im Compiler, wie falsche Referenzinferenz in switch-case, v-once-Serialisierung und Typinferenz bei generischen Typen sowie CSS-Eigenschaftsnamen mit Ziffern.

Bug Fixes

  • compiler-core: identifiers in switch-case should not be inferred as references (#13923) (5953c9f)
  • compiler-dom: nodes with v-once shouldn't be stringified (#13878) (95c1975)
  • compiler-sfc: add support for @vue-ignore in runtime type resolution (#13906) (ba7f7f9)
  • compiler-sfc: enhance inferRuntimeType to support TSMappedType with indexed access (#13848) (e388f1a), closes #13847
  • compiler-sfc: ensure css custom properties do not start with a digit (#13870) (9c27951)
  • compiler-sfc: ensure props bindings register before compiling template (#13922) (abd5638), closes #13920 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.21

Behebt Fehler in Compiler und Custom Elements, darunter dynamische Slots, Typinferenz in SFCs, Unterstützung für TypeScript-Pfade und verhinderte Mutation von Optionsobjekten.

Bug Fixes

  • compiler-core: force dynamic slots when slot referencing scope vars (#9427) (99d54b2), closes #9380
  • compiler-sfc: check lang before attempt to compile script (#13508) (55922ff), closes #8368
  • compiler-sfc: support ${configDir} in paths for TypeScript 5.5+ (#13491) (8696e34), closes #13484
  • compiler-sfc: support global augments with named exports (#13789) (35da3c6)
  • custom-element: prevent defineCustomElement from mutating the options object (#13791) (e322436) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.19

Behebt Compiler-Fehler, darunter benachbarte v-else-Direktiven, Speicherlecks durch gecachte Knoten und verbesserte Typinferenz sowie Skript-Sprachprüfung.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.18

Behebt mehrere Compiler-Fehler, darunter das Beibehalten getrennter DOM-Knoten, v-pre-Selbstaktualisierungen und Probleme mit leeren v-bind-Ausdrücken.

Bug Fixes

  • compiler-core: avoid cached text vnodes retaining detached DOM nodes (#13662) (00695a5), closes #13661
  • compiler-core: avoid self updates of v-pre (#12556) (21b685a)
  • compiler-core: identifiers in function parameters should not be inferred as references (#13548) (9b02923)
  • compiler-core: recognize empty string as non-identifier (#12553) (ce93339)
  • compiler-core: transform empty v-bind dynamic argument content correctly (#12554) (d3af67e)
  • compiler-sfc: transform empty srcset w/ includeAbsolute: true (#13639) (d8e40ef), closes vitejs/vite-plugin-vue#631 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.17

Behebt Fehler im Kompatibilitätsmodus, der SFC-Kompilierung und im Compiler, unter anderem bei v-model-Modifikatoren, gemappten Typen und Kommentar-Hoisting.

Bug Fixes

  • compat: allow v-model built in modifiers on component (#12654) (cb14b86), closes #12652
  • compile-sfc: handle mapped types work with omit and pick (#12648) (4eb46e4), closes #12647
  • compiler-core: do not increase newlines in InEntity state (#13362) (f05a8d6)
  • compiler-core: ignore whitespace when matching adjacent v-if (#12321) (10ebcef), closes #9173
  • compiler-core: prevent comments from blocking static node hoisting (#13345) (55dad62), closes #13344 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue 3.5.16

Zwei frühere Korrekturen im Compiler wurden rückgängig gemacht, darunter eine zum Scoping von universellen Selektoren und eine zur Fehlerbehandlung von defineModel().

Reverts

  • Revert "fix(compiler-sfc): add scoping tag to trailing universal selector" (#13406) (19f23b1), closes #13406
  • Revert "fix(compiler-sfc): add error handling for defineModel() without variable" (#13390) (42f879f), closes #13390

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.15

Behebt einen Kompatibilitätsfehler bei Inputs mit false-Wert sowie eine fehlerhafte Warnung bei v-bind mit v-for, korrigiert Inline-Template-Quellkarten im Produktionsbuild und ergänzt fehlende Zuordnungen im Compiler.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.14

Korrigiert eine falsche Deprecation-Meldung für v-bind.sync, entfernt Slot-Cache beim Unmounting, verbessert die Scopebehandlung bei Props-Destrukturierung und behandelt useTemplateRef als definite ref.

Bug Fixes

  • compat: correct deprecation message for v-bind.sync usage (#13137) (466b30f), closes #13133
  • compiler-core: remove slot cache from parent renderCache during unmounting (#13215) (5d166f3)
  • compiler-sfc: fix scope handling for props destructure in function parameters and catch clauses (8e34357), closes #12790
  • compiler-sfc: treat the return value of useTemplateRef as a definite ref (#13197) (8ae1122)
  • compiler: fix spelling error in domTagConfig (#13043) (388295b)
  • customFormatter: properly accessing ref value during debugger (#12948) (fdbd026) …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.13

Behebt Probleme mit v-memo und v-for, korrigiert das Stringifizieren von Template-Strings, vermeidet unnötige MutationObserver-Auslösungen bei Custom Elements und aktualisiert die PostCSS-Abhängigkeit.

Bug Fixes

  • compiler-core: handle v-memo + v-for with functional key (#12014) (99009ee), closes #12013
  • compiler-dom: properly stringify template string style (#12392) (2d78539), closes #12391
  • custom-element: avoid triggering mutationObserver when relecting props (352bc88), closes #12214 #12215
  • deps: update dependency postcss to ^8.4.48 (#12356) (b5ff930)
  • hydration: the component vnode's el should be updated when a mismatch occurs. (#12255) (a20a4cb), closes #12253 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.12

Behebt Compiler-Fehler bei Nullwerten, TSInstantiationExpression, Sass-API-Warnungen und Loc-Klonen sowie entfernt falsche Bindestrich-Attribute bei Custom Elements.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.11

Korrigiert die Behandlung von TSSatisfiesExpression bei Props-Destrukturierung, verhindert das Überschreiben der next-Eigenschaft bei Batch-Verarbeitung und verbessert die Typinferenz für any und Ref.

Bug Fixes

  • compiler-sfc: do not skip TSSatisfiesExpression when transforming props destructure (#12062) (2328b05), closes #12061
  • reactivity: prevent overwriting next property during batch processing (#12075) (d3f5e6e), closes #12072
  • scheduler: job ordering when the post queue is flushing (#12090) (577edca)
  • types: correctly infer TypeProps when it is any (#12073) (57315ab), closes #12058
  • types: should not intersect PublicProps with Props (#12077) (6f85894)
  • types: infer the first generic type of Ref correctly (#12094) (c97bb84)

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.10

Setzt kebab-case-Props auf Vue Custom Elements korrekt, behebt einen Randfall bei verschachtelter Batch-Verarbeitung und verbessert die Typbehandlung verschachtelter Refs.

Bug Fixes

  • custom-element: properly set kebab-case props on Vue custom elements (ea3efa0), closes #12030 #12032
  • reactivity: fix nested batch edge case (93c95dd)
  • reactivity: only clear notified flags for computed in first batch iteration (aa9ef23), closes #12045
  • types/ref: handle nested refs in UnwrapRef (#12049) (e2c19c2), closes #12044

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.9

Behebt Regressionen bei der Entfernung von Property-Abhängigkeiten, rekursiven Sync-Watchern auf Computeds, vermeidet das Rendern von Objekten als VNodes und stellt sicher, dass useId() immer eine Zeichenkette zurückgibt.

Bug Fixes

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.7

Behebt Randfälle bei v-model mit Zeilenumbrüchen, vermeidet die Beobachtung von Nicht-Element-Knoten bei der Hydration und behebt Speicherlecks in der Reaktivität.

Bug Fixes

  • compile-core: fix v-model with newlines edge case (#11960) (6224288), closes #8306
  • compiler-sfc: initialize scope with null prototype object (#11963) (215e154)
  • hydration: avoid observing non-Element node (#11954) (7257e6a), closes #11952
  • reactivity: do not remove dep from depsMap when unsubbed by computed (960706e)
  • reactivity: fix dev-only memory leak by updating dep.subsHead on sub removal (5c8b76e), closes #11956
  • reactivity: fix memory leak from dep instances of garbage collected objects (235ea47), closes #11979 #11971 …

Originalquelle(öffnet in neuem Tab)Problem melden

Vue Core von Vue

Vue Core 3.5.6

Ermöglicht das Stringifizieren von MathML, erhält das alte Verhalten bei withDefaults mit Destrukturierung, verbessert die Performanz tief verschachtelter Computeds und behebt Watch-Probleme.

Bug Fixes

  • compile-dom: should be able to stringify mathML (#11891) (85c138c)
  • compiler-sfc: preserve old behavior when using withDefaults with destructure (8492c3c), closes #11930
  • reactivity: avoid exponential perf cost and reduce call stack depth for deeply chained computeds (#11944) (c74bb8c), closes #11928
  • reactivity: rely on dirty check only when computed has deps (#11931) (aa5dafd), closes #11929
  • watch: once option should be ignored by watchEffect (#11884) (49fa673)
  • watch: unwatch should be callable during SSR (#11925) (2d6adf7), closes #11924

Originalquelle(öffnet in neuem Tab)Problem melden