vue-link
vue-link copied to clipboard
chore(deps): update dependency vue to v3
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| vue (source) | ^2.6.9 -> ^3.4.31 |
Release Notes
vuejs/core (vue)
v3.4.31
Bug Fixes
- compiler-core: handle inline comments with undefined bindings (#​11217) (746352a), closes #​11216
- shared: unwrap refs in toDisplayString (#​7306) (0126cff), closes #​5578 #​5593 #​11199 #​11201
Reverts
- Revert "fix(reactivity): avoid infinite loop when render access a side effect computed (#​11135)" (e0df985)
- Revert "fix(reactivity): fix side effect computed dirty level (#​11183)" (6c303ea), closes #​11183
v3.4.30
Bug Fixes
- compiler-core: should not remove slot node with
v-else(#​11150) (e102670) - hydration: fix css vars hydration mismatch false positive on attr-fallthrough (#​11190) (7ad67ce), closes #​11188
- hydration: skip prop mismatch check for directives that mutate DOM in created (3169c91), closes #​11189
- reactivity: fix side effect computed dirty level (#​11183) (3bd79e3), closes #​11181 #​11169
- runtime-core: ensure unmount dynamic components in optimized mode (#​11171) (220fe24), closes #​11168
- runtime-core: update devtool __vnode on patch, avoid memory leak during dev (a959781), closes #​11192
- runtime-dom: ensure only symbols are explicitly stringified during attribute patching (#​11182) (a2e35d6), closes #​11177
- runtime-dom: prevent setting state as attribute for custom elements (#​11165) (8ae4c29), closes #​11163
Performance Improvements
v3.4.29
Bug Fixes
- build: fix accidental inclusion of runtime-core in server-renderer cjs build (11cc12b), closes #​11137
- compiler-sfc: fix missing scope for extends error message (4ec387b)
- compiler-sfc: fix parsing of mts, d.mts, and mtsx files (a476692)
- compiler-sfc: support @​vue-ignore comment on more type sources (a23e99b)
- custom-element: support same direct setup function signature in defineCustomElement (7c8b126), closes #​11116
- reactivity: avoid infinite loop when render access a side effect computed (#​11135) (8296e19), closes #​11121
v3.4.28
Bug Fixes
- compat: correctly transform non-identifier expressions in legacy filter syntax (#​10896) (07b3c4b), closes #​10852
- compat: ensure proper handling of render fuction from SFC using Vue.extend (#​7781) (c73847f), closes #​7766
- compat: only warn ATTR_FALSE_VALUE when enabled (04729ba), closes #​11126
- compile-sfc: register props destructure rest id as setup bindings (#​10888) (b2b5f57), closes #​10885
- compile-sfc: Support project reference with folder, (#​10908) (bdeac37), closes #​10907
- compiler-core: allow unicode to appear in simple identifiers (#​6765) (3ea9644), closes #​6367
- compiler-core: change v-for key type to match Object.keys (#​10963) (9fead52), closes #​8819
- compiler-core: emit TS-compatible function declaration when requested (#​9363) (5d25850)
- compiler-core: fix :key shorthand on v-for (#​10942) (29425df), closes #​10882 #​10939
- compiler-core: make
ForIteratorExpression'sreturnsproperty optional (#​11011) (5b8c1af) - compiler-core: should set
<math>tag as block to retain MathML namespace after patching (#​10891) (87c5443) - compiler-core: v-for expression missing source with spaces should emit error (#​5821) (b9ca202), closes #​5819
- compiler-sfc: improve type resolving for the keyof operator (#​10921) (293cf4e), closes #​10920 #​11002
- compiler-sfc: support as keyword with template literal types (#​11100) (2594b1d), closes #​10962
- compiler-sfc: support type resolve for keyof for intersection & union types (#​11132) (495263a), closes #​11129
- compiler-sfc: throw error when import macro as alias (#​11041) (34a97ed)
- correct the type of
<details>'sonToggleevent handler (#​10938) (fd18ce7), closes #​10928 - custom-element: disconnect MutationObserver in nextTick in case that custom elements are moved (#​10613) (bbb5be2), closes #​10610
- custom-elements: compatibility of createElement in older versions of Chrome (#​9615) (a88295d), closes #​9614
- hmr: avoid infinite recursion when reloading hmr components (#​6936) (36bd9b0), closes #​6930
- hydration: log hydration error even when using async components (#​9403) (5afc76c), closes #​9369
- KeepAlive: properly cache nested Suspense subtree (#​10912) (07764fe)
- npm: explicitly add
@vue/reactivityas dependency of@vue/runtime-dom(#​10468) (ec424f6) - reactivity: pass oldValue in debug info when triggering refs (#​8210) (3b0a56a), closes vuejs/pinia#2061
- runtime-core: avoid traversing static children for vnodes w/ PatchFlags.BAIL (#​11115) (b557d3f), closes #​10547
- runtime-core: do not fire mount/activated hooks if unmounted before mounted (#​9370) (aa156ed), closes #​8898 #​9264 #​9617
- runtime-core: ensure suspense creates dep component's render effect with correct optimized flag (#​7689) (c521f95), closes #​7688
- runtime-core: fix missed updates when passing text vnode to
<component :is>(#​8304) (b310ec3), closes #​8298 - runtime-core: fix stale v-memo after v-if toggle (#​6606) (edf2638), closes #​6593
- runtime-core: fix Transition for components with root-level v-if (#​7678) (ef2e737), closes #​7649
- runtime-dom: also set attribute for form element state (537a571), closes #​6007 #​6012
- runtime-dom: support Symbol for input value bindings (#​10608) (188f3ae), closes #​10597
- shared: ensure invokeArrayFns handles undefined arguments (#​10869) (9b40d0f), closes #​10863
- ssr: directive binding.instance should respect exposed during ssr (df686ab), closes #​7499 #​7502
- ssr: fix hydration for node with empty text node (#​7216) (d1011c0)
- ssr: fix the bug that multi slot scope id does not work on component (#​6100) (4c74302), closes #​6093
- teleport: do not throw target warning when teleport is disabled (#​9818) (15ee43f)
- transition: ensure Transition enterHooks are updated after clone (#​11066) (671cf29), closes #​11061
- types/apiWatch: correct type inference for reactive array (#​11036) (aae2d78), closes #​9416
- types: improve
app.providetype checking (#​10603) (612bbf0), closes #​10602 - types: support generic argument in setup context expose method (#​8507) (635a59b)
- v-model: fix the lazy modifier is not reset by other modifications (#​8547) (a52a02f), closes #​8546 #​6564 #​6773
- watch: support traversing symbol properties in deep watcher (#​10969) (a3e8aaf), closes #​402
v3.4.27
Bug Fixes
- compat: include legacy scoped slots (#​10868) (8366126), closes #​8869
- compiler-core: add support for arrow aysnc function with unbracketed (#​5789) (ca7d421), closes #​5788
- compiler-dom: restrict createStaticVNode usage with option elements (#​10846) (0e3d617), closes #​6568 #​7434
- compiler-sfc: handle keyof operator (#​10874) (10d34a5), closes #​10871
- hydration: handle edge case of style mismatch without style attribute (f2c1412), closes #​10786
v3.4.26
Bug Fixes
- compiler-core: fix bail constant for globals (fefce06)
- compiler-core: remove unnecessary constant bail check (09b4df8), closes #​10807
- runtime-core: attrs should be readonly in functional components (#​10767) (e8fd644)
- runtime-core: ensure slot compiler marker writable (#​10825) (9c2de62), closes #​10818
- runtime-core: properly handle inherit transition during clone VNode (#​10809) (638a79f), closes #​3716 #​10497 #​4091
- Transition: re-fix #​10620 (#​10832) (accf839), closes #​10632 #​10827
v3.4.25
Bug Fixes
- defineModel: align prod mode runtime type generation with defineProps (4253a57), closes #​10769
- runtime-core: properly get keepAlive child (#​10772) (3724693), closes #​10771
- runtime-core: use normal object as internal prototype for attrs and slots (064e82f), closes /github.com/vuejs/core/commit/6df53d85a207986128159d88565e6e7045db2add#r141304923
v3.4.24
Bug Fixes
- compiler-core: handle template ref bound via v-bind object on v-for (#​10706) (da7adef), closes #​10696
- compiler-core: properly parse await expressions in edge cases (b92c25f), closes #​10754
- compiler-sfc: handle readonly operator and ReadonlyArray/Map/Set types (5cef52a), closes #​10726
- compiler-ssr: fix hydration mismatch for conditional slot in transition (f12c81e), closes #​10743
- compiler-ssr: fix v-html SSR for nullish values (1ff4076), closes #​10725
- deps: update compiler (#​10760) (15df5c1)
- runtime-core: fix edge case of KeepAlive inside Transition with slot children (#​10719) (e51ca61), closes #​10708
- runtime-core: further fix slots _ctx check (cde7f05), closes #​10724
- runtime-core: props should be readonly via direct template access (b93f264), closes #​8216 #​10736
- transition: transition is breaking/flickering when enter is canceled (#​10688) (65109a7)
v3.4.23
Bug Fixes
- runtime-core: fix regression for $attrs tracking in slots (6930e60), closes #​10710
- runtime-core: use same internal object mechanism for slots (6df53d8), closes #​10709
v3.4.22
Bug Fixes
- compat: fix $options mutation + adjust private API initialization (d58d133), closes #​10626 #​10636
- compile-sfc: analyze v-bind shorthand usage in template (#​10518) (e5919d4), closes #​10515
- compiler-core: fix loc.source for end tags with whitespace before > (16174da), closes #​10694 #​10695
- compiler-core: fix v-bind shorthand for component :is (04af950), closes #​10469 #​10471
- compiler-sfc: :is() and :where() in compound selectors (#​10522) (660cadc), closes #​10511
- compiler-sfc: also search for
.tsxwhen type import's extension is omitted (#​10637) (34106bc), closes #​10635 - compiler-sfc: fix defineModel coercion for boolean + string union types (#​9603) (0cef65c), closes #​9587 #​10676
- compiler-sfc: fix universal selector scope (#​10551) (54a6afa), closes #​10548
- compiler-sfc: use options module name if options provide runtimeModuleName options (#​10457) (e76d743), closes #​10454
- custom-element: avoid setting attr to null if it is removed (#​9012) (b49306a), closes #​9006 #​10324
- hydration: properly handle optimized mode during hydrate node (#​10638) (2ec06fd), closes #​10607
- reactivity: computed should not be detected as true by isProxy (#​10401) (9da34d7)
- reactivity: fix hasOwnProperty key coercion edge cases (969c5fb)
- reactivity: fix tracking when hasOwnProperty is called with non-string value (c3c5dc9), closes #​10455 #​10464
- runtime-core: fix errorHandler causes an infinite loop during execution (#​9575) (ab59bed)
- runtime-core: handle invalid values in callWithAsyncErrorHandling (53d15d3)
- runtime-core: show hydration mismatch details for non-rectified mismatches too when PROD_HYDRATION_MISMATCH_DETAILS is set (#​10599) (0dea7f9)
- runtime-dom:
v-modelstring/number coercion for multiselect options (#​10576) (db374e5) - runtime-dom: fix css v-bind for suspensed components (#​8523) (67722ba), closes #​8520
- runtime-dom: force update v-model number with leading 0 (#​10506) (15ffe8f), closes #​10503 #​10615
- runtime-dom: sanitize wrongly passed string value as event handler (#​8953) (7ccd453), closes #​8818
- ssr: don't render v-if comments in TransitionGroup (#​6732) (5a96267), closes #​6715
- Transition: ensure the KeepAlive children unmount w/ out-in mode (#​10632) (fc99e4d), closes #​10620
- TransitionGroup: avoid set transition hooks for comment nodes and text nodes (#​9421) (140a768), closes #​4621 #​4622 #​5153 #​5168 #​7898 #​9067
- types: avoid merging object union types when using withDefaults (#​10596) (37ba93c), closes #​10594
Performance Improvements
- add
__NO_SIDE_EFFECTS__comments (#​9053) (d46df6b) - optimize component props/slots internal object checks (6af733d)
- ssr: avoid calling markRaw on component instance proxy (4bc9f39)
- ssr: optimize setup context creation for ssr in v8 (ca84316)
v3.4.21
Bug Fixes
- runtime-dom: avoid unset option's value (#​10416) (b3f8b5a), closes #​10412 #​10396
- suspense: ensure nested suspense patching if in fallback state (#​10417) (7c97778), closes #​10415
- warning: stringify args in warn handler (#​10414) (bc37258), closes #​10409
v3.4.20
Bug Fixes
- parser: should not treat uppercase components as special tags (e0e0253), closes #​10395
- runtime-dom: avoid always resetting nullish option value (ff130c4), closes #​10396
- runtime-dom: fix nested v-show priority regression (364f890), closes #​10338
- runtime-dom: v-bind style should clear previous css string value (#​10373) (e2d3235), closes #​10352
- suspense: handle suspense switching with nested suspense (#​10184) (0f3da05), closes #​10098
- types: better typing for direct setup signature of defineComponent (#​10357) (eadce5b), closes #​8604 #​8855
v3.4.19
Bug Fixes
- deps: pin lru-cache to avoid hashing error (b8be990), closes #​10300
- hydration: fix css vars hydration mismatch false positive on non-root nodes (995d2fd), closes #​10317 #​10325
- runtime-dom: should not trigger transition when v-show value is falsy (#​10311) (e509639)
Features
Note: this warning is categorized as a feature but released in a patch because it does not affect public APIs.
Performance Improvements
v3.4.18
Bug Fixes
- dx: warn against reserved keys as prop name (77a804b), closes #​10281
- runtime-dom: ensure v-show respects display value set via v-bind (#​10297) (c224897), closes #​10151
v3.4.17
Reverts
- fix(runtime-dom): ensure v-show respects display value set via v-bind (#​10161) (2cd5b05), closes #​10294 #​10151
v3.4.16
Bug Fixes
- compiler-core: handle same-name shorthand edge case for in-DOM templates (cb87b62), closes #​10280
- compiler-core: support v-bind shorthand syntax for dynamic slot name (#​10218) (91f058a), closes #​10213
- deps: update compiler (#​10269) (336bb65)
- hydration: fix SFC style v-bind hydration mismatch warnings (#​10250) (f0b5f7e), closes #​10215
- reactivity: avoid infinite recursion from side effects in computed getter (#​10232) (0bced13), closes #​10214
- reactivity: handle
MaybeDirtyrecurse (#​10187) (6c7e0bd), closes #​10185 - reactivity: skip non-extensible objects when using
markRaw(#​10289) (2312184), closes #​10288 - runtime-core: avoid inlining isShallow (#​10238) (53eee72)
- runtime-core: support for nested calls to runWithContext (#​10261) (75e02b5), closes #​10260
- runtime-dom: ensure v-show respects display value set via v-bind (#​10161) (9b19f09), closes #​10151
- runtime-dom: fix option selected update failed (#​10200) (f31d782), closes #​10194 #​10267
Reverts
- perf(templateRef): avoid double render when using template ref on v-for (eb1b911), closes #​9908 #​10210 #​10234
v3.4.15
Bug Fixes
- compiler-sfc: fix type resolution for symlinked node_modules structure w/ pnpm (75e866b), closes #​10121
- correct url for production error reference links (c3087ff)
- hydration: fix incorect mismatch warning for option with non-string value and inner text (d16a213)
- reactivity: re-fix #​10114 (#​10123) (c2b274a)
- runtime-core: should not warn out-of-render slot fn usage when mounting another app in setup (#​10125) (6fa33e6), closes #​10124
Performance Improvements
- templateRef: avoid double render when using template ref on v-for (de4d2e2), closes #​9908
- v-model: optimize v-model multiple select w/ large lists (2ffb956), closes #​10014
v3.4.14
Bug Fixes
- compiler-sfc: enable prefixIdentifiers by default when reparsing on consumed AST (#​10105) (48bf8e4)
- deps: update dependency postcss to ^8.4.33 (#​10110) (a557006)
- reactivity: fix regression for computed with mutation (#​10119) (20f62af), closes #​10114
v3.4.13
Bug Fixes
v3.4.12
Reverts
- fix(reactivity): correct dirty assign in render function (#​10091) (8b18481), closes #​10098 #​10100
v3.4.11
Bug Fixes
- hydration: improve mismatch when client valut is null or undefined (#​10086) (08b60f5)
- reactivity: correct dirty assign in render function (#​10091) (8d04205), closes #​10082
- runtime-core: filter single root for nested DEV_ROOT_FRAGMENT (#​8593) (d35b877), closes #​5203 #​8581 #​10087
v3.4.10
Bug Fixes
- hydration: should not warn on falsy bindings of non-property keys (3907c87)
v3.4.9
Bug Fixes
- build: avoid accessing FEATURE_PROD_DEVTOOLS flag in root scope (dfd9654)
- hydration: do not warn against bindings w/ object values (dcc68ef)
- runtime-dom: unify behavior for v-show + style display binding (#​10075) (cd419ae), closes #​10074
- suspense: avoid double-patching nested suspense when parent suspense is not resolved (#​10055) (bcda96b), closes #​8678
v3.4.8
Bug Fixes
- hydration: fix class and style hydration mismatch message (5af3987), closes #​10067
- hydration: improve attr hydration mismatch check for boolean attrs (972face), closes #​10057 #​10060
- suspense: fix more suspense patch before resolve edge cases (70ad4ca), closes #​10017
v3.4.7
Bug Fixes
- parser: skip compat mode check for SFC root
<template>tags (#​10034) (923d560) - types: fix functional component for
h(#​9991) (438a74a)
Reverts
- "dx(computed): warn incorrect use of getCurrentInstance inside computed" (2fd3905)
v3.4.6
Bug Fixes
- build: revert "build: add production/development export conditions (#​9977)" (7bd4e90), closes #​10012 #​10020
- fix post watcher fire timing on nested app mounts (3c3561e), closes #​10005
- hydration: avoid hydration mismatch warning for styles with different order (#​10011) (2701355), closes #​10000 #​10006
- runtime-core: handle fragment with null children (#​10010) (3bf34b7), closes #​10007
- scheduler: sort nested postFlushCbs (d9162df), closes #​10003
- suspense: fix anchor for suspense with transition out-in (#​9999) (a3fbf21), closes #​9996
- types: allow
nulltype for textarea value (#​9997) (c379bc2), closes #​9904
v3.4.5
Bug Fixes
- compiler-sfc: fix co-usage of defineModel transform options and props destructure (b20350d), closes #​9972
- compiler-sfc: fix sfc template unref rewrite for class instantiation (ae60a91), closes #​6483 #​6491
- compiler-ssr: fix node clone edge case caused by AST reuse (#​9983) (7dbdb3e), closes #​9981
- watch: cleanup watcher effect from scope when manually stopped (#​9978) (d2d8955)
v3.4.4
Bug Fixes
- compiler-sfc: fix scss source map regression (71d3121), closes #​9970 #​9969
- compiler-sfc: use compilerOptions when re-parsing consumed AST (d94d8d4)
- defineModel: support kebab-case/camelCase mismatches (#​9950) (10ccb9b)
- runtime-core: correctly assign suspenseId to avoid conflicts with the default id (#​9966) (0648804), closes #​9944
- ssr: avoid rendering transition-group slot content as a fragment (#​9961) (0160264), closes #​9933
- watch: remove instance unmounted short circuit in getter of
watchEffect(#​9948) (f300a40) - watch: revert watch behavior when watching shallow reactive objects (a9f781a), closes #​9965
Performance Improvements
- watch: avoid double traverse for reactive source (24d77c2)
v3.4.3
Bug Fixes
- compiler-sfc: respect sfc parse options in cache key (b8d58ec)
v3.4.2
Bug Fixes
- compiler-sfc: fix dev regression for dot / namespace component usage ([dce99c
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.