This PR contains the following updates:
Release Notes
vuejs/core (vue)
Compare Source
Bug Fixes
Compare Source
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
- compiler-sfc: improved type resolution for function type aliases (#13452) (f3479aa), closes #13444
- custom-element: ensure configureApp is applied to async component (#12607) (5ba1afb), closes #12448
- custom-element: prevent injecting child styles if shadowRoot is false (#12769) (73055d8), closes #12630
- reactivity: add
__v_skip
flag to Dep
to prevent reactive conversion (#12804) (e8d8f5f), closes #12803
- runtime-core: unset old ref during patching when new ref is absent (#12900) (47ddf98), closes #12898
- slots: make cache indexes marker non-enumerable (#13469) (919c447), closes #13468
- ssr: handle initial selected state for select with v-model + v-for/v-if option (#13487) (1552095), closes #13486
- types: typo of
vOnce
and vSlot
(#13343) (762fae4)
Compare Source
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
Compare Source
Bug Fixes
- compat: ensure false value on input retains value attribute (#13216) (1a66474), closes #13205
- compat: should not warn COMPILER_V_BIND_OBJECT_ORDER when using v-bind together with v-for (#12993) (93949e6), closes #12992
- compile-sfc: handle inline template source map in prod build (#12701) (89edc6c), closes #12682 vitejs/vite-plugin-vue#500
- compiler-core: ensure mapping is added only if node source is available (#13285) (d37a2ac), closes #13261 vitejs/vite-plugin-vue#368
- compiler-dom: improve HTML nesting validation to allow any child element within template tag (#13320) (163b365), closes #13318
- compiler-sfc: add error handling for defineModel() without variable assignment (#13352) (00734af), closes #13280
- compiler-sfc: add scoping tag to trailing universal selector (#12918) (949df80), closes #12906
- compiler-sfc: improve type inference for TSTypeAliasDeclaration with better runtime type detection (#13245) (cf5a5e0), closes #13240
- compiler-sfc: simulate
allowArbitraryExtensions
on resolving type (#13301) (f7ce5ae), closes #13295
- custom-element: allow injecting values from app context in nested elements (#13219) (b991075), closes #13212
- custom-element: ensure proper remount and prevent redundant slot parsing with shadowRoot false (#13201) (1d41d4d), closes #13199
- custom-element: preserve appContext during update (#12455) (013749e), closes #12453
- custom-element: properly resolve props for sync component defs (#12855) (a683c80), closes #12854
- hydration: handle transition appear hydration edge case (#13339) (35aeae7), closes #13335
- hydration: skip lazy hydration for patched components (#13283) (80055fd), closes #13255
- suspense: handle edge case in patching list nodes within Suspense (#13306) (772b008), closes #13305
- teleport: handle deferred teleport updates before and after mount (#13350) (d15dce3), closes #13349
- types: avoid merging component instance into
$props
in ComponentInstance
(#12870) (f44feed), closes #12751
- types: exclude
undefined
from inferred prop types with default values (#13007) (5179d32), closes #13006
- watch: update
oldValue
before running cb
to prevent stale value (#12296) (c69c4bb), closes #12294
Compare Source
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)
- hmr/teleport: adjust static children traversal for HMR in dev mode (#12819) (5e37dd0), closes #12816
- hmr: avoid hydration for hmr root reload (#12450) (1f98a9c), closes vitejs/vite-plugin-vue#146 vitejs/vite-plugin-vue#477
- hmr: avoid hydration for hmr updating (#12262) (9c4dbbc), closes #7706 #8170
- reactivity: ensure markRaw objects are not reactive (#12824) (295b5ec), closes #12807
- reactivity: ensure multiple effectScope on() and off() calls maintains correct active scope (22dcbf3), closes #12631 #12632 #12641
- reactivity: should not recompute if computed does not track reactive data (#12341) (0b23fd2), closes #12337
- runtime-core: stop tracking deps in setRef during unmount (#13210) (016c472)
- runtime-core: update __vnode of static nodes when patching along the optimized path (#13223) (b3ecee3)
- runtime-core: inherit comment nodes during block patch in production build (#10748) (6264505), closes #10747 #12650
- runtime-core: prevent unmounted vnode from being inserted during transition leave (#12862) (d6a6ec1), closes #12860
- runtime-core: respect immutability for readonly reactive arrays in
v-for
(#13091) (3f27c58), closes #13087
- runtime-dom: always treat autocorrect as attribute (#13001) (1499135), closes #5705
- slots: properly warn if slot invoked in setup (#12195) (9196222), closes #12194
- ssr: properly init slots during ssr rendering (#12441) (2206cd2), closes #12438
- transition: fix KeepAlive with transition out-in mode behavior in production (#12468) (343c891), closes #12465
- TransitionGroup: reset prevChildren to prevent memory leak (#13183) (8b848cb), closes #13181
- types: allow return any for Options API lifecycle hooks (#5914) (06310e8)
- types: the directive's modifiers should be optional (#12605) (10e54dc)
- typos: fix comments referencing transformElement.ts (#12551)[ci-skip] (11c053a)
Features
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
- reactivity: 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), closes vuejs/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 include string
(#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
- 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)
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
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
^2.6.11
->^3.0.0
Release Notes
vuejs/core (vue)
v3.5.18
Compare Source
Bug Fixes
v-pre
(#12556) (21b685a)v-bind
dynamic argument content correctly (#12554) (d3af67e)v3.5.17
Compare Source
Bug Fixes
InEntity
state (#13362) (f05a8d6)__v_skip
flag toDep
to prevent reactive conversion (#12804) (e8d8f5f), closes #12803vOnce
andvSlot
(#13343) (762fae4)v3.5.16
Compare Source
Reverts
v3.5.15
Compare Source
Bug Fixes
allowArbitraryExtensions
on resolving type (#13301) (f7ce5ae), closes #13295$props
inComponentInstance
(#12870) (f44feed), closes #12751undefined
from inferred prop types with default values (#13007) (5179d32), closes #13006oldValue
before runningcb
to prevent stale value (#12296) (c69c4bb), closes #12294v3.5.14
Compare Source
Bug Fixes
useTemplateRef
as a definite ref (#13197) (8ae1122)v-for
(#13091) (3f27c58), closes #13087Features
v3.5.13
Compare Source
Bug Fixes
Performance Improvements
v3.5.12
Compare Source
Bug Fixes
ifNode
(#12131) (cde2c06), closes vuejs/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
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.