routing
routing copied to clipboard
chore(deps): update vue monorepo
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@vue/runtime-dom (source) | 3.2.31 -> 3.5.12 |
||||
vue (source) | 3.2.31 -> 3.5.12 |
||||
vue (source) | 2.6.14 -> 2.7.16 |
||||
vue2 (source) | 2.6.14 -> 2.7.16 |
Release Notes
vuejs/core (@vue/runtime-dom)
v3.5.12
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 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
v3.5.11
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 isany
(#12073) (57315ab), closes #12058 -
types: should not intersect
PublicProps
withProps
(#12077) (6f85894) -
types: infer the first generic type of
Ref
correctly (#12094) (c97bb84)
v3.5.10
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
v3.5.9
Bug Fixes
- reactivity: fix property dep removal regression (6001e5c), closes #12020 #12021
- reactivity: fix recursive sync watcher on computed edge case (10ff159), closes #12033 #12037
- runtime-core: avoid rendering plain object as VNode (#12038) (cb34b28), closes #12035 vitejs/vite-plugin-vue#353
- runtime-core: make useId() always return a string (a177092)
- types: correct type inference of union event names (#12022) (4da6881)
- vue: properly cache runtime compilation (#12019) (fa0ba24)
v3.5.8
Bug Fixes
v3.5.7
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
- reactivity: fix triggerRef call on ObjectRefImpl returned by toRef (#11986) (b030c8b), closes #11982
- scheduler: ensure recursive jobs can't be queued twice (#11955) (d18d6aa)
- ssr: don't render comments in TransitionGroup (#11961) (a2f6ede), closes #11958
-
transition: respect
duration
setting even when it is0
(#11967) (f927a4a) - types: correct type inference of all-optional props (#11644) (9eca65e), closes #11733 vuejs/language-tools#4704
Performance Improvements
v3.5.6
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
v3.5.5
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
- 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
v3.5.4
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
v3.5.3
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
v3.5.2
Bug Fixes
- reactivity: make toRaw work on proxies created by proxyRef (46c3ab1)
- reactivity: pass oldValue to computed getter (#11813) (98864a7), closes #11812
- reactivity: prevent endless recursion in computed getters (#11797) (716275d)
- reactivity: self-referencing computed should refresh (e84c4a6), closes /github.com/vuejs/core/pull/11797#issuecomment-2330738633
- scheduler: prevent duplicate jobs being queued (#11826) (df56cc5), closes #11712 #11807
- suspense: avoid updating anchor if activeBranch has not been rendered to the actual container (#11818) (3c0d531), closes #11806
- Transition: handle KeepAlive child unmount in Transition out-in mode (#11778) (3116553), closes #11775
- types: add HTMLDialogElement missing close event (#11811) (3634f7a)
- types: added name attribute support to details tag (#11823) (c74176e), closes #11821
- types: fix defineComponent props inference when setup() has explicit annotation (fca20a3), closes #11803
- useTemplateRef: properly fix readonly warning in dev and ensure prod behavior consistency (9b7797d), closes #11808 #11816 #11810
Features
v3.5.1
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
v3.5.0
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
- teleport: support deferred Teleport (#11387) (59a3e88), closes #2015 #11386
- teleport/transition: support directly nesting Teleport inside Transition (#6548) (0e6e3c7), closes #5836
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
- compiler-sfc: fix import usage check for kebab-case same name shorthand binding (0f7c0e5), closes #11745 #11754
- cssVars: correctly escape double quotes in SSR (#11784) (7b5b6e0), closes #11779
- deps: update dependency postcss to ^8.4.44 (#11774) (cb843e0)
- hydration: escape css var name to avoid mismatch (#11739) (ca12e77), closes #11735
- hydration: handle text nodes with 0 during hydration (#11772) (c756da2), closes #11771
- reactivity: correctly handle method calls on user-extended arrays (#11760) (9817c80), closes #11759
- runtime-dom: avoid unnecessary prop patch for checkbox (#11657) (c3ce9fe), closes #11647
- runtime-dom: prevent unnecessary DOM update from v-model (#11656) (b1be9bd), closes #11647
- server-renderer: Fix call to serverPrefetch in server renderer with an async setup (#10893) (6039e25)
-
server-renderer: render
className
during SSR (#11722) (52cdb0f) - types/defineModel: allow getter and setter types to be unrelated (#11699) (fe07f70), closes #11697
v3.4.38
For stable releases, please refer to CHANGELOG.md for details.
For pre-releases, please refer to CHANGELOG.md of the minor
branch.
v3.4.37
For stable releases, please refer to CHANGELOG.md for details.
For pre-releases, please refer to CHANGELOG.md of the minor
branch.
v3.4.36
For stable releases, please refer to CHANGELOG.md for details.
For pre-releases, please refer to CHANGELOG.md of the minor
branch.
v3.4.35
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
v3.4.34
Bug Fixes
v3.4.33
Bug Fixes
v3.4.32
Bug Fixes
- build: use consistent minify options from previous terser config (789675f)
- compiler-sfc: correctly resolve type annotation for declared function (#11279) (b287aee), closes #11266
- defineModel: force local update when setter results in same emitted value (de174e1), closes #10279 #10301
- hmr: hmr reload should work with async component (#11248) (c8b9794)
- hydration: fix tracking of reactive style objects in production (c10e40a), closes #11372
- hydration: handle consectuvie text nodes during hydration (f44c3b3), closes #7285 #7301
-
reactivity: ensure
unref
correctly resolves type forShallowRef
(#11360) (a509e30), closes #11356 - reactivity: shallowReactive map "unwraps" the nested refs (#8503) (50ddafe), closes #8501 #11249
- runtime-core: avoid recursive warning (3ee7b4c), closes #8074
- runtime-core: bail manually rendered compiler slot fragments in all cases (3d34f40), closes #10870
- runtime-core: do not emit when defineModel ref is set with same value (#11162) (f1bb0ae), closes #11125
- runtime-core: errors during component patch should be caught by error handlers (ee0248a)
- runtime-core: force diff slot fallback content and provided content (d76dd9c), closes #7256 #9200 #9308 #7266 #9213
- runtime-core: more edge case fix for manually rendered compiled slot (685e3f3), closes #11336
- runtime-core: use separate prop caches for components and mixins (#11350) (b0aa234), closes #7998
- runtime-dom: properly handle innerHTML unmount into new children (#11159) (3e9e32e), closes #9135
- teleport: skip teleported nodes when locating patch anchor (8655ced), closes #9071 #9134 #9313 #9313
- v-model: component v-model modifiers trim and number when cases don't match (#9609) (7fb6eb8), closes #4848 #4850 #4850
- v-once: properly unmount v-once cached trees (d343a0d), closes #5154 #8809
Performance Improvements
-
server-renderer: avoid unnecessary checks in
createBuffer
(#11364) (fc205bf) -
server-renderer: optimize
unrollBuffer
by avoiding promises (#11340) (05779a7)
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
Note: this release contains a fix (#11150) that requires vue-tsc
to also be updated in sync to ^2.0.22. See #11196
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:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.