This PR contains the following updates:
Release Notes
vuejs/core (@vue/compiler-sfc)
Compare Source
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
- reactiivty: avoid unnecessary watcher effect removal from inactive scope (2193284), closes#5783#5806
- reactivity: release nested effects/scopes on effect scope stop (#12373) (bee2f5e), closes#12370
- runtime-dom: set css vars before user onMounted hooks (2d5c5e2), closes#11533
- runtime-dom: set css vars on update to handle child forcing reflow in onMount (#11561) (c4312f9)
- ssr: avoid updating subtree of async component if it is resolved (#12363) (da7ad5e), closes#12362
- ssr: ensure v-text updates correctly with custom directives in SSR output (#12311) (1f75d4e), closes#12309
- ssr: handle initial selected state for select with v-model + v-for option (#12399) (4f8d807), closes#12395
- teleport: handle deferred teleport update before mounted (#12168) (8bff142), closes#12161
- templateRef: set ref on cached async component which wrapped in KeepAlive (#12290) (983eb50), closes#4999#5004
- test: update snapshot (#12169) (828d4a4)
- Transition: fix transition memory leak edge case (#12182) (660132d), closes#12181
- transition: reflow before leave-active class after leave-from (#12288) (4b479db), closes#2593
- types: defineEmits w/ interface declaration (#12343) (1022eab), closes#8457
- v-once: setting hasOnce to current block only when in v-once (#12374) (37300fc), closes#12371
Performance Improvements
- reactivity: do not track inner key `__v_skip`` (#11690) (d637bd6)
- runtime-core: use feature flag for call to resolveMergedOptions (#12163) (1755ac0)
Compare Source
Bug Fixes
- compiler-dom: avoid stringify option with null value (#12096) (f6d9926), closes#12093
- compiler-sfc: do not skip TSInstantiationExpression when transforming props destructure (#12064) (d3ecde8)
- compiler-sfc: use sass modern api if available and avoid deprecation warning (#11992) (4474c11)
- compiler: clone loc to
ifNode
(#12131) (cde2c06), closesvuejs/language-tools#4911 - custom-element: properly remove hyphenated attribute (#12143) (e16e9a7), closes#12139
- defineModel: handle kebab-case model correctly (#12063) (c0418a3), closes#12060
- deps: update dependency monaco-editor to ^0.52.0 (#12119) (f7cbea2)
- hydration: provide compat fallback for idle callback hydration strategy (#11935) (1ae545a)
- reactivity: trigger reactivity for Map key
undefined
(#12055) (7ad289e), closes#12054 - runtime-core: allow symbol values for slot prop key (#12069) (d9d4d4e), closes#12068
- runtime-core: fix required prop check false positive for kebab-case edge cases (#12034) (9da1ac1), closes#12011
- runtime-dom: prevent unnecessary updates in v-model checkbox when value is unchanged (#12146) (ea943af), closes#12144
- teleport: handle disabled teleport with updateCssVars (#12113) (76a8223), closes#12112
- transition/ssr: make transition appear work with Suspense in SSR (#12047) (f1a4f67), closes#12046
- types: ensure
this.$props
type does not includestring
(#12123) (704173e), closes#12122 - types: retain union type narrowing with defaults applied (#12108) (05685a9), closes#12106
- useId: ensure useId consistency when using serverPrefetch (#12128) (b4d3534), closes#12102
- watch: watchEffect clean-up with SSR (#12097) (b094c72), closes#11956
Performance Improvements
- reactivity: avoid unnecessary recursion in removeSub (#12135) (ec917cf)
Compare Source
Bug Fixes
Compare Source
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
Compare Source
Bug Fixes
Compare Source
Bug Fixes
- reactivity: do not remove dep from depsMap when cleaning up deps of computed (#11995) (0267a58)
Compare Source
Bug Fixes
Performance Improvements
- hydration: avoid observer if element is in viewport (#11639) (e075dfa)
Compare Source
Bug Fixes
- compile-dom: should be able to stringify mathML (#11891) (85c138c)
- compiler-sfc: preserve old behavior when using withDefaults with desutructure (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
Compare Source
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
- hmr: reload async child wrapped in Suspense + KeepAlive (#11907) (10a2c60), closes#11868
- hydration: fix mismatch of leading newline in
<textarea>
and<pre>
(a5f3c2e), closes#11873#11874 - reactivity: properly clean up deps, fix memory leak (8ea5d6d), closes#11901
- runtime-core: properly update async component nested in KeepAlive (#11917) (7fe6c79), closes#11916
- TransitionGroup: not warn unkeyed text children with whitespece preserve (#11888) (7571f20), closes#11885
Compare Source
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
- reactivity: trigger deps directly instead of storing in an array first (#11695) (f80d447)
Compare Source
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
Compare Source
Bug Fixes
Features
- compiler-core: parse modifiers as expression to provide location data (#11819) (3f13203)
Compare Source
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
Compare Source
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 foronScopeDispose
(9a936aa) - reactivity/watch: base
watch
,getCurrentWatcher
, andonWatcherCleanup
(#9927) (205e5b5) - reactivity/watch: add pause/resume for ReactiveEffect, EffectScope, and WatchHandle (#9651) (267093c)
- watch: support passing number to
deep
option to control the watch depth (#9572) (22f7d96) - types: export
MultiWatchSources
type (#9563) (998dca5) - types: allow computed getter and setter types to be unrelated (#11472) (a01675e), closes#7271
SSR
- runtime-core:
useId()
andapp.config.idPrefix
(#11404) (73ef156) - hydration: lazy hydration strategies for async components (#11458) (d14a11c)
- hydration: support suppressing hydration mismatch via data-allow-mismatch (94fb2b8)
Custom Element
- custom-element:
useHost()
helper (775103a) - custom-element:
useShadowRoot()
helper (5a1a89b), closes#6113#8195 - custom-element: expose
this.$host
in Options API (1ef8f46) - custom-element: inject child components styles to custom element shadow root (#11517) (56c76a8), closes#4662#7941#7942
- custom-element: support configurable app instance in defineCustomElement (6758c3c), closes#4356#4635
- custom-element: support css
:host
selector by applying css vars on host element (#8830) (03a9ea2), closes#8826 - custom-element: support emit with options (e181bff), closes#7605
- custom-element: support expose on customElement (#6256) (af838c1), closes#5540
- custom-element: support
nonce
option for injected style tags (bb4a02a), closes#6530 - custom-element: support passing custom-element-specific options via 2nd argument of defineCustomElement (60a88a2)
- custom-element: support
shadowRoot: false
indefineCustomElement()
(37d2ce5), closes#4314#4404
Teleport
Misc
- runtime-core:
useTemplateRef()
(3ba70e4) - runtime-core: add
app.onUnmount()
for registering cleanup functions (#4619) (582a3a3), closes#4516 - runtime-core: add
app.config.throwUnhandledErrorInProduction
(f476b7f), closes#7876 - runtime-dom: Trusted Types compatibility (#10844) (6d4eb94)
- compiler-core: support
Symbol
global in template expressions (#9069) (a501a85) - types: export more emit related types (#11017) (189573d)
Internals
- reactivity: store value cache on CustomRefs impls (#11539) (e044b6e)
- types: provide internal options for directly using user types in language tools (#10801) (75c8cf6)
- types: provide internal options for using refs type in language tools (#11492) (5ffd1a8)
Bug Fixes
Compare Source
For stable releases, please refer toCHANGELOG.md for details.
For pre-releases, please refer toCHANGELOG.md of theminor
branch.
Compare Source
Bug Fixes
Compare Source
Compare Source
Bug Fixes
- teleport/ssr: fix Teleport hydration regression due to targetStart anchor addition (7b18cdb)
- teleport/ssr: ensure targetAnchor and targetStart not null during hydration (#11456) (12667da), closes#11400
- types/ref: allow getter and setter types to be unrelated (#11442) (e0b2975)
Performance Improvements
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Configuration
📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated byMend Renovate. View therepository job log.
This PR contains the following updates:
3.0.11
->3.5.13
3.0.11
->3.5.13
Release Notes
vuejs/core (@vue/compiler-sfc)
v3.5.13
Compare Source
Bug Fixes
Performance Improvements
v3.5.12
Compare Source
Bug Fixes
ifNode
(#12131) (cde2c06), closesvuejs/language-tools#4911undefined
(#12055) (7ad289e), closes#12054this.$props
type does not includestring
(#12123) (704173e), closes#12122Performance Improvements
v3.5.11
Compare Source
Bug Fixes
TSSatisfiesExpression
when transforming props destructure (#12062) (2328b05), closes#12061next
property during batch processing (#12075) (d3f5e6e), closes#12072TypeProps
when it isany
(#12073) (57315ab), closes#12058PublicProps
withProps
(#12077) (6f85894)Ref
correctly (#12094) (c97bb84)v3.5.10
Compare Source
Bug Fixes
v3.5.9
Compare Source
Bug Fixes
v3.5.8
Compare Source
Bug Fixes
v3.5.7
Compare Source
Bug Fixes
duration
setting even when it is0
(#11967) (f927a4a)Performance Improvements
v3.5.6
Compare Source
Bug Fixes
once
option should be ignored by watchEffect (#11884) (49fa673)v3.5.5
Compare Source
Bug Fixes
<textarea>
and<pre>
(a5f3c2e), closes#11873#11874v3.5.4
Compare Source
Bug Fixes
TypeEmits
with both tuple and function syntax (#11840) (dad6738), closes#11836Performance Improvements
v3.5.3
Compare Source
Bug Fixes
v3.5.2
Compare Source
Bug Fixes
Features
v3.5.1
Compare Source
Bug Fixes
concat
method (#11794) (475977a), closes#11792Readonly<...>
to fix JSDoc emit (#11799) (7518bc1)v3.5.0
Compare Source
Aggregated Features List for 3.5 (alpha to stable)
Reactivity
onEffectCleanup
API (2cc5615), closes#10173failSilently
argument foronScopeDispose
(9a936aa)watch
,getCurrentWatcher
, andonWatcherCleanup
(#9927) (205e5b5)deep
option to control the watch depth (#9572) (22f7d96)MultiWatchSources
type (#9563) (998dca5)SSR
useId()
andapp.config.idPrefix
(#11404) (73ef156)Custom Element
useHost()
helper (775103a)useShadowRoot()
helper (5a1a89b), closes#6113#8195this.$host
in Options API (1ef8f46):host
selector by applying css vars on host element (#8830) (03a9ea2), closes#8826nonce
option for injected style tags (bb4a02a), closes#6530shadowRoot: false
indefineCustomElement()
(37d2ce5), closes#4314#4404Teleport
Misc
useTemplateRef()
(3ba70e4)app.onUnmount()
for registering cleanup functions (#4619) (582a3a3), closes#4516app.config.throwUnhandledErrorInProduction
(f476b7f), closes#7876Symbol
global in template expressions (#9069) (a501a85)Internals
Bug Fixes
className
during SSR (#11722) (52cdb0f)v3.4.38
Compare Source
For stable releases, please refer toCHANGELOG.md for details.
For pre-releases, please refer toCHANGELOG.md of the
minor
branch.v3.4.37
Compare Source
Bug Fixes
isProp.arg.loc
instead ofisProp.loc
(#11547) (236fb7a)DirectiveArguments
third parameter to accept undefined (#11540) (1058ce8)v3.4.36
Compare Source
v3.4.35
Compare Source
Bug Fixes
Performance Improvements
v3.4.34
Compare Source
Bug Fixes
v3.4.33
Compare Source
Bug Fixes
v3.4.32
Compare Source
Bug Fixes
unref
correctly resolves type forShallowRef
(#11360) (a509e30), closes#11356Configuration
📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated byMend Renovate. View therepository job log.