Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Update dependency vue to v3 #7198

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vue 2.6.14 -> 3.2.31 age adoption passing confidence

Release Notes

vuejs/core

v3.2.31

Compare Source

Bug Fixes
  • compiler-ssr: no need to inject resolveDirective calls for setup custom directives (436c500)
  • runtime-core: allow spying on proxy methods (#​4216) (8457d8b)
  • ssr: always hydrate children for HMR (#​5406) (0342fae), closes #​5405

v3.2.30

Compare Source

Features
  • ssr: support custom directive getSSRProps in optimized compilation (60cf175), closes #​5304
Performance Improvements
  • reactivity: optimize effect/effectScope active state tracking (2993a24)

v3.2.29

Compare Source

Bug Fixes

v3.2.28

Compare Source

v3.2.27

Compare Source

Bug Fixes
  • KeepAlive: remove cached VNode properly (#​5260) (2e3e183), closes #​5258
  • reactivity-transform: should not rewrite for...in / for...of scope variables (7007ffb)
  • sfc-playground: hide title to avoid overlap (#​5099) (44b9527)
  • ssr: make computed inactive during ssr, fix memory leak (f4f0966), closes #​5208
  • ssr: remove missing ssr directive transform error (55cc4af)
  • types/tsx: allow ref_for type on tsx elements (78df8c7)
  • types: fix shallowReadonly type (92f11d6)
  • types: handle ToRef (5ac7030), closes #​5188
  • types: KeepAlive match pattern should allow mixed array (3007d5b)
Features
  • types: simplify ExtractPropTypes to avoid props JSDocs being removed (#​5166) (a570b38)
Performance Improvements
  • improve memory usage for static vnodes (ed9eb62)

v3.2.26

Compare Source

v3.2.25

Compare Source

Bug Fixes
  • compiler-sfc: generate valid TS in script and script setup co-usage with TS (7e4f0a8), closes #​5094
  • compiler: force block for custom dirs and inline beforeUpdate hooks (1c9a481)
  • runtime-core: disallow recurse in vnode/directive beforeUpdate hooks (a1167c5)
Features
  • compiler-core: support aliasing vue: prefixed events to inline vnode hooks (4b0ca87)
  • experimental: allow const for ref sugar declarations (9823bd9)
  • reactivity-transform/types: restructure macro types + export types for all shorthand methods (db729ce)
  • reactivity-transform: $$() escape for destructured prop bindings (198ca14)
  • reactivity-transform: rename @​vue/ref-transform to @​vue/reactivity-transform (d70fd8d)
  • reactivity-transform: support $-shorthands for all ref-creating APIs (179fc05)
  • reactivity-transform: support optionally importing macros (fbd0fe9)
  • reactivity-transform: use toRef() for $() destructure codegen (93ba6b9)
  • reactivity: support default value in toRef() (2db9c90)
  • sfc-playground: add github link (#​5067) (9ac0dde)
  • sfc-playground: prevent ctrl+s default behavior (#​5066) (b027507)
  • support ref in v-for, remove compat deprecation warnings (41c18ef)

v3.2.24

Compare Source

Bug Fixes
  • compat: maintain compatConfig option in legacy functional comp (#​4974) (ee97cf5)
  • compiler-dom: avoid bailing stringification on setup const bindings (29beda7)
  • compiler-sfc: make asset url imports stringifiable (87c73e9)
  • package: ensure ref-macros export is recognized by vue-tsc (#​5003) (f855269)
  • runtime-core: handle initial undefined attrs (#​5017) (6d887aa), closes #​5016
  • types/reactivity: export ShallowRef type (#​5026) (523b4b7), closes #​5205
Features
  • types/script-setup: add generic type to defineExpose (#​5035) (34985fe)

v3.2.23

Compare Source

Bug Fixes
  • reactivity: retain readonly proxies when setting as reactive property (d145128), closes #​4986
  • runtime-core: fix component public instance has check for accessed non-existent properties (aac0466), closes #​4962
  • runtime-core: handle error in async KeepAlive hooks (#​4978) (820a143)
  • runtime-dom: fix option element value patching edge case (#​4959) (89b2f92), closes #​4956
  • runtime-dom: patchDOMProps should not set _value if element is custom element (#​4839) (1701bf3)
  • types: export ref-macros.d.ts (1245709)
  • types: fix propType type inference (#​4985) (3c449cd), closes #​4983
  • types: scrip-setup+ts: ensure proper handling of null as default prop value. (#​4979) (f2d2d7b), closes #​4868
Features

v3.2.22

Compare Source

Bug Fixes

v3.2.21

Compare Source

Bug Fixes
  • custom-element: fix custom element props access on initial render (4b7f76e), closes #​4792
  • custom-element: fix initial attr type casting for programmtically created elements (3ca8317), closes #​4772
  • devtools: avoid open handle in non-browser env (6916d72), closes #​4815
  • devtools: fix memory leak when devtools is not installed (#​4833) (6b32f0d), closes #​4829
  • runtime-core: add v-memo to built-in directives check (#​4787) (5eb7263)
  • runtime-dom: fix behavior regression for v-show + style display binding (3f38d59), closes #​4768
  • types: fix ref unwrapping type inference for nested shallowReactive & shallowRef (20a3615), closes #​4771

v3.2.20

Compare Source

Bug Fixes
Features
  • compiler-sfc: <script setup> defineProps destructure transform (#​4690) (467e113)

v3.2.19

Compare Source

Bug Fixes
  • compiler-core: should treat attribute key as expression (#​4658) (7aa0ea0)
  • server-renderer: respect compilerOptions during runtime template compilation (#​4631) (50d9d34)

v3.2.18

Compare Source

v3.2.17

Compare Source

Bug Fixes

v3.2.16

Compare Source

Bug Fixes
  • ssr: fix ssr runtime helper import in module mode (8e05b7f)

v3.2.15

Compare Source

Bug Fixes
  • compiler-ssr: import ssr helpers from updated path (d74f21a)

v3.2.14

Compare Source

Bug Fixes
  • compiler-core: generate TS-cast safe assignment code for v-model (686d014), closes #​4655
  • compiler-core: more robust member expression check in Node (6257ade)
  • compiler-sfc: fix local var access check for bindings in normal script (6d6cc90), closes #​4644
  • devtools: fix prod devtools detection + handle late devtools hook injection (#​4653) (2476eaa)

v3.2.13

Compare Source

Bug Fixes
  • compiler-core: add check when v-else-if is behind v-else (#​4603) (5addef8)
  • compiler-core: dedupe renderSlot's default props (#​4557) (0448125)
  • compiler-core: ensure hoisted scopeId code can be treeshaken (cb2d7c0)
  • compiler-core: more robust member expression check when running in node (d23fde3), closes #​4640
  • compiler-core: only merge true handlers (#​4577) (d8a36d0)
  • compiler-core: support ts syntax in expressions when isTS is true (0dc521b)
  • compiler-dom: fix transition children check for whitespace nodes (ed6470c), closes #​4637
  • hydration: ensure hydrated event listeners have bound instance (#​4529) (58b1fa5), closes #​4479
  • runtime-core: return the exposeProxy from mount (#​4606) (5aa4255)
  • types: incorrect type inference of array (#​4578) (140f089)
  • watch: remove redundant parameter default value (#​4565) (11a2098)
Features
  • compiler-sfc: allow disabling sourcemap when not needed (585615b)

v3.2.12

Compare Source

Bug Fixes

v3.2.11

Compare Source

Bug Fixes
  • hmr: handle possible duplicate component definitions with same id (aa8908a)

v3.2.10

Compare Source

Bug Fixes

v3.2.9

Compare Source

Bug Fixes

v3.2.8

Compare Source

Bug Fixes

v3.2.7

Compare Source

Bug Fixes
  • compiler-core: remove no longer necessary withScopeId import in generated code (935b4e2)
  • compiler-sfc: ensure script setup lang=ts output is tree-shakable (b89ff92)
  • compiler: only generate non-static ref for script setup if the binding exists (3628991), closes #​4431
  • ref-transform: should transform $ref when used with generic arguments (#​4446) (33cf6c8), closes #​4442
  • runtime-core: properly merge unmounted and beforeUnmount options (#​4447) (741d3b3)
  • suspense: misusing DOM Comment element constructor as a vnode type (#​4451) (ef5b731)

v3.2.6

Compare Source

Bug Fixes

v3.2.5

Compare Source

Bug Fixes
Features
  • experimental: expose ref macro types using separate d.ts file (b408451)
  • experimental: shouldTransform for ref-transform (e565831)
  • experimental: standalone ref transform (db8dc75)
  • experimental: support ref transform for sfc normal <script> (06051c4)
  • ref-transform: auto infer parser plugins (6453359)

v3.2.4

Compare Source

Bug Fixes
  • compiler-sfc: fix import usage check for lowercase imported components (57f1081), closes #​4358
  • runtime-core: ensure consistent arguments for tempalte and render funtion slot usage (644971e), closes #​4367
  • runtime-core: fix child component double update on props change (c1f564e), closes #​4365
Reverts

v3.2.3

Compare Source

Bug Fixes
  • compiler-ssr: no need to inject resolveDirective calls for setup custom directives (436c500)
  • runtime-core: allow spying on proxy methods (#​4216) (8457d8b)
  • ssr: always hydrate children for HMR (#​5406) (0342fae), closes #​5405

v3.2.2

Compare Source

Bug Fixes

v3.2.1

Compare Source

Bug Fixes
  • compiler-core: should treat attribute key as expression (#​4658) (7aa0ea0)
  • server-renderer: respect compilerOptions during runtime template compilation (#​4631) (50d9d34)

v3.2.0

Compare Source

Compatibility Notes

This release contains no public API breakage. However, there are a few compatibility related notes:

  • Due to usage of new runtime helpers, code generated by the template compiler in >= 3.2 will not be compatible with runtime < 3.2.

    This only affects cases where there is a version mismatch between the compiler and the runtime. The most common case is libraries that ship pre-compiled Vue components. If you are a library author and ship code pre-compiled by Vue >= 3.2, your library will be only compatible Vue >= 3.2.

  • This release ships TypeScript typings that rely on Template Literal Types and requires TS >= 4.1.

Features
SFC
  • remove experimental status of <script setup> (27104ea) (Docs) (RFC)
  • remove experimental status for sfc <style> v-bind (3b38c9a) (Docs) (RFC)
  • support non-explicit type imports in <script setup> by avoiding exposing unused imports to template during dev (5a3ccfd), closes #​3183
  • support namespaced component tags when using <script setup> (e5a4412)
  • (experimental) new ref sugar (562bddb) (RFC)
Custom Elements
Reactivity
SSR
Generic
Types
  • map declared emits to onXXX props in inferred prop types (#​3926) (69344ff)
Performance Improvements
  • reactivity: improve reactive effect memory usage (#​4001) (87f69fd), closes #​2345
  • reactivity: ref-specific track/trigger and miscellaneous optimizations (#​3995) (6431040)
  • reactivity: use bitwise dep markers to optimize re-tracking (#​4017) (6cf2377)
  • compiler-core/runtime-core: improve VNode creation performance with compiler hints (#​3334) (ceff899)
  • compiler-core: also hoist all-static children array (b7ea7c1)
  • compiler-core: hoist dynamic props lists (02339b6)
  • compiler-sfc: ignore empty blocks (#​3520) (b771fdb)
Bug Fixes

Please refer to changelogs of previous beta releases for bug fixes included in this release.

v3.1.5

Compare Source

Bug Fixes

Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label Apr 11, 2022
@renovate renovate bot force-pushed the renovate/major-vue-monorepo branch from 0535449 to fe03684 Compare April 11, 2022 17:07
@kaizumaki kaizumaki closed this Apr 11, 2022
@renovate
Copy link
Contributor Author

renovate bot commented Apr 11, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-vue-monorepo branch April 11, 2022 17:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants