3.2.44 (2022-11-09)
Bug Fixes
- watch: for immediate watch with single source, ensure cb is called with undefined as oldValue (#7075) (5dc593b), closes #7074
3.2.43 (2022-11-09)
Bug Fixes
- watch: ensure oldValue in multi-source watcher is always an array (23e85e2), closes #7070
3.2.42 (2022-11-09)
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 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 returning false
for built-in instance properties in exposeProxy
(#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