Update vue monorepo
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vue/compiler-sfc (source) | devDependencies | patch | 3.2.41 -> 3.2.45 |
vue (source) | dependencies | patch | 3.2.41 -> 3.2.45 |
vue-template-compiler (source) | dependencies | patch | 2.7.13 -> 2.7.14 |
Release Notes
vuejs/core
v3.2.45
Bug Fixes
- compiler/v-model: catch incorrect v-model usage on prop bindings (001184e), closes #5584
- custom-elements: also dispatch hyphenated version of emitted events (#5378) (0b39e46), closes #5373
- custom-elements: custom element should re-instantiate when inserted again (#6966) (67890da), closes #6934
- custom-elements: define declared properties in constructor (#5328) (55382ae)
- custom-elements: ensure custom elements can inherit provides from ancestors (#5098) (192dcb6), closes #5096
- custom-elements: fix event emitting for async custom elements (#5601) (665f2ae), closes #5599
- custom-elements: fix number type props casting check (89f37ce), closes #5793 #5794
- custom-elements: properties set pre-upgrade should not show up in $attrs (afe8899)
- custom-elements: respect slot props in custom element mode (ffef822)
- custom-elements: should not reflect non-decalred properties set before upgrade (5e50909)
- hmr/keep-alive: fix error in reload component (#7049) (a54bff2), closes #7042
- runtime-core: fix move/removal of static fragments containing text nodes (#6858) (4049ffc), closes #6852
- sfc: also generate getter for import bindings during dev (0594400)
-
sfc: ensure
<script setup>
binding behavior consistency onthis
between prod and dev (f73925d), closes #6248 -
sfc: ensure consistent dev/prod behavior for non-reactive variables declared in
<script setup>
(5a3d45a), closes #5655 - teleport/css-v-bind: fix css v-bind for teleported content (42239cf), closes #4605 #4609
- teleport/css-v-bind: fix css v-bind in teleport in child component slot (11214ee)
- v-model: fix incorrect codegen for non-ref bindings (15e889a), closes #6241
v3.2.44
Bug Fixes
- watch: for immediate watch with single source, ensure cb is called with undefined as oldValue (#7075) (5dc593b), closes #7074
v3.2.43
Bug Fixes
v3.2.42
Bug Fixes
- compiler-core/v-on: only apply case preservation on native elements (#6902) (5bfe438), closes #6900
- compiler-core/v-on: support inline handler with return type annotation (#6769) (bcfe480), closes #6378
-
compiler-core: avoid duplicate keys in codegen with
v-if
(#6689) (640cfce), closes #6641 - compiler-core: fix parsing error on comments between v-if in prod (dd3354c), closes #6843
- compiler-core: keep whitespaces between interpolation and comment (#6828) (4887618), closes #6352
-
compiler-sfc: add semicolon after
defineProps
statement (#6461) (b72a4af), closes #6428 - compiler-sfc: allow type annotation for defineEmits variable (#5394) (eab7604), closes #5393
- compiler-sfc: check import source during binding analysation (#6826) (4a00fdd), closes #6825
- compiler-sfc: fix binding analysis for aliased late import (8d1f526)
- compiler-sfc: fix macro usage in multi-variable declaration (#6778) (99b6697), closes #6757
- compiler-sfc: handle method shorthand syntax in withDefaults (#6972) (8a882ce), closes #6971
- compiler-sfc: only escape parsing-breaking characters in v-bind css var names (#6816) (57c9013), closes #6803
- compiler-sfc: require <template> or <script> in SFC (#6781) (a0c7f27), closes #6676
- compiler-sfc: resolve computed object key (#6963) (910fa76)
- compiler-sfc: support using extends interface with defineProps() (#4512) (83f7e6f), closes #4498
- compiler-ssr: fix invalid codegen when v-slot name is explicit empty attr (#3326) (09bb3e9)
- compiler/runtime-dom: ignore comments in inline styles (#6808) (50e2253), closes #6807
- compiler: avoid namespace collisions when transforming template refs in inline mode (#6975) (2c27556), closes #6964
- hmr: fix hmr for components managed by keep-alive (#6809) (bdaf83a), closes #6222
- reactivity-transform: add semicolon after statements (#6303) (c4f213b)
- reactivity-transform: respect user defined symbols that conflict with macros (#6840) (7663a79), closes #6838
- reactivity: enable trigger when use str to set length of arr (#6810) (e6224f4)
-
runtime-core:
in
operator returningfalse
for built-in instance properties inexposeProxy
(#6138) (32b5124), closes #6137 - runtime-core: custom-element: ensure number casting of camelCase props. (fix: #5374) (#5377) (b0b74a1)
- runtime-core: do not throw on unknown directives (#6671) (0455378), closes #6340
- runtime-core: ensure props definition objects are not mutated during props normalization (close: #6915) (#6916) (54b6ba3)
-
runtime-core: watching multiple values - handle
undefined
as initial values (fix: #5032) (#5033) (bc167b5) - runtime-dom: ensure customElement handles empty props correctly. (#6182) (f67bb50), closes #6163 #6895
- sfc/types: improve the type inference using withDefaults (#6764) (168c857), closes #6552
- shared: fix parsing of multi-line inline style (#6777) (9768949)
- ssr: remove css number value check (#6636) (79e7c1e), closes #6625
- transition/keep-alive: fix unmount bug for component with out-in transition (#6839) (64e6d92), closes #6835
- types/reactivity-transform: fix type when initial value is not used (#6821) (fdc5902), closes #6820
-
types:
$watch
callback parameters type (#6136) (41d9c47), closes #6135 - types: ensure createBlock() helper accepts Teleport and Supsense types (fix: #2855) (#5458) (e5fc7dc)
-
types: export
Raw
type (#6380) (e9172db), closes #7048 - types: should unwrap tuple correctly (#3820) (e816812), closes #3819
-
types: stricter type condition for
EventHandlers
(#6855) (bad3f3c), closes #6899 - types: support inferring injected properties in options api (#6804) (e4de623), closes #3031 #5931
- v-model: fix trim modifier on events with non-string args ( (#5770) (018b850), closes #5765
vuejs/vue
v2.7.14
Bug Fixes
- compiler-sfc: fix template usage check edge case for v-slot destructured default value (#12842) (5e3d4e9), closes #12841
- provide/inject: do not mutate original provide options during merge (d1899ca), closes #12854
- reactivity: avoid using WeakMap for IE compatibility (29b5f58), closes #12837
- types: fix spreading VNodeData in tsx (#12789) (f7db7f3), closes #12778
-
types: stricter type condition for
EventHandlers
(#12840) (0b3cf7d), closes #12832
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.