python-cheatsheet
python-cheatsheet copied to clipboard
Update vue monorepo to v3.5.16
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vue/compiler-dom (source) | 3.4.35 -> 3.5.16 |
||||
| vue (source) | 3.5.13 -> 3.5.16 |
Release Notes
vuejs/core (@vue/compiler-dom)
v3.5.16
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
v3.5.15
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
allowArbitraryExtensionson 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
$propsinComponentInstance(#12870) (f44feed), closes #12751 - types: exclude
undefinedfrom inferred prop types with default values (#13007) (5179d32), closes #13006 - watch: update
oldValuebefore runningcbto prevent stale value (#12296) (c69c4bb), closes #12294
v3.5.14
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
useTemplateRefas 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
v3.5.13
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)
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.$propstype 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
TSSatisfiesExpressionwhen transforming props destructure (#12062) (2328b05), closes #12061 - reactivity: prevent overwriting
nextproperty during batch processing (#12075) (d3f5e6e), closes #12072 - scheduler: job ordering when the post queue is flushing (#12090) (577edca)
- types: correctly infer
TypePropswhen it isany(#12073) (57315ab), closes #12058 - types: should not intersect
PublicPropswithProps(#12077) (6f85894) - types: infer the first generic type of
Refcorrectly (#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
durationsetting 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:
onceoption 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
TypeEmitswith 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
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
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:
onEffectCleanupAPI (2cc5615), closes #10173 - reactivity: add
failSilentlyargument 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
deepoption to control the watch depth (#9572) (22f7d96) - types: export
MultiWatchSourcestype (#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.$hostin 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
:hostselector 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
nonceoption 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: falseindefineCustomElement()(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](https://redirect.github.com/vuejs
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Deploy Preview for pythoncheatsheet ready!
| Name | Link |
|---|---|
| Latest commit | c6d7ba178e38924ab206ad87544402bff5621fee |
| Latest deploy log | https://app.netlify.com/projects/pythoncheatsheet/deploys/691c7ad617bceb00086d38fc |
| Deploy Preview | https://deploy-preview-431--pythoncheatsheet.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.