三咲智子 Kevin Deng
4a00fddfed
fix(compiler-sfc): check import source during binding analysation ( #6826 )
...
fix #6825
2022-11-08 04:07:28 -05:00
三咲智子 Kevin Deng
fdc5902cce
fix(types/reactivity-transform): fix type when initial value is not used ( #6821 )
...
fix #6820
2022-11-08 01:38:53 -05:00
Evan You
9906e3a82a
chore: remove blank line [ci skip]
2022-11-08 14:29:13 +08:00
花果山大圣
bdaf83aae7
fix(hmr): fix hmr for components managed by keep-alive ( #6809 )
...
fix #6222
2022-11-08 01:26:56 -05:00
Evan You
4c3203b9b7
chore: run prettier
2022-11-08 14:25:48 +08:00
三咲智子 Kevin Deng
e049772247
workflow(sfc-playground): set all scopes to production mode ( #6815 )
2022-11-08 01:10:56 -05:00
Rudy
e4de623ea7
fix(types): support inferring injected properties in options api ( #6804 )
...
close #3031
close #5931
2022-11-08 01:09:53 -05:00
Rudy
50e2253057
fix(compiler/runtime-dom): ignore comments in inline styles ( #6808 )
...
fix #6807
2022-11-07 22:42:32 -05:00
Evan You
1c292e19af
chore: fix snapshot
2022-11-08 11:36:16 +08:00
花果山大圣
a0c7f271a2
fix(compiler-sfc): require <template> or <script> in SFC ( #6781 )
...
fix #6676
2022-11-07 22:34:39 -05:00
三咲智子 Kevin Deng
9768949ce0
fix(shared): fix parsing of multi-line inline style ( #6777 )
2022-11-07 22:17:50 -05:00
花果山大圣
99b6697fb4
fix(compiler-sfc): fix macro usage in multi-variable declaration ( #6778 )
...
fix #6757
2022-11-07 22:16:21 -05:00
Travis
bcfe480d75
fix(compiler-core/v-on): support inline handler with return type annotation ( #6769 )
...
fix #6378
2022-11-07 22:09:15 -05:00
被雨水过滤的空气(Rairn)
640cfce4ff
fix(compiler-core): avoid duplicate keys in codegen with `v-if` ( #6689 )
...
fix #6641
2022-11-07 22:04:31 -05:00
Evan You
f55cfe6d3b
chore: prettier
2022-11-08 11:03:37 +08:00
littleboarx
168c857247
fix(sfc/types): improve the type inference using withDefaults ( #6764 )
...
fix #6552
2022-11-07 21:59:31 -05:00
btea
79e7c1ee43
fix(ssr): remove css number value check ( #6636 )
...
Previously this prevented custom properties and vendor-prefixed properties to be rendered correctly.
fix #6625
2022-11-07 21:53:44 -05:00
Cédric Exbrayat
04553786e4
fix(runtime-core): do not throw on unknown directives ( #6671 )
...
fix #6340
This commit improves the case when a directive is not found in a template.
As `resolveDirective` returns `undefined`, some code was failing with the following error:
```
TypeError: Cannot read properties of undefined (reading 'deep')
```
2022-11-07 21:49:49 -05:00
三咲智子 Kevin Deng
b72a4af38a
fix(compiler-sfc): add semicolon after `defineProps` statement ( #6461 )
...
fix #6428
2022-11-07 21:17:48 -05:00
三咲智子 Kevin Deng
97aadd8290
types: use actual type for script block ASTs ( #6457 )
2022-11-07 21:14:10 -05:00
三咲智子 Kevin Deng
e9172db68b
fix(types): export `Raw` type ( #6380 )
...
fix #7048
2022-11-07 21:03:49 -05:00
三咲智子 Kevin Deng
c4f213b425
fix(reactivity-transform): add semicolon after statements ( #6303 )
2022-11-07 20:38:47 -05:00
Thorsten Lünborg
f67bb500b6
fix(runtime-dom): ensure customElement handles empty props correctly. ( #6182 )
...
fix Scoped attribute in Vue file affects the use of web component #6163,#6895
2022-11-01 09:49:06 +01:00
HakimLu
3bed82be32
fix:spell checker ( #6982 )
...
Co-authored-by: hakim <hakim.lu@yunlsp.com>
2022-10-28 09:29:30 +02:00
三咲智子 (Kevin)
bbb66d7ac7
ci: check prettier format ( #6830 )
2022-10-28 09:39:34 +08:00
webfansplz
0e0976168f
fix(ssr/watch) flush: sync watchers should work in ssr ( #6139 )
...
fix #6013
2022-10-26 06:30:15 -04:00
Julian Meinking
32b51249bf
fix(runtime-core): `in` operator returning `false` for built-in instance properties in `exposeProxy` ( #6138 )
...
fix #6137
2022-10-26 05:54:10 -04:00
shadowings-zy
018b850399
fix(v-model): fix trim modifier on events with non-string args ( ( #5770 )
...
fix #5765
2022-10-26 05:47:05 -04:00
Evan You
bb06819d83
chore: fix snapshot
2022-10-26 17:46:17 +08:00
webfansplz
41d9c47300
fix(types): `$watch` callback parameters type ( #6136 )
...
fix #6135
2022-10-26 05:43:42 -04:00
ygj6
eab76046e3
fix(compiler-sfc): allow type annotation for defineEmits variable ( #5394 )
...
fix #5393
2022-10-26 05:12:55 -04:00
nandi95
506a42a9a5
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` ( #5389 )
2022-10-26 05:00:47 -04:00
edison
83f7e6f8a6
fix(compiler-sfc): support using extends interface with defineProps() ( #4512 )
...
fix #4498
2022-10-26 04:44:30 -04:00
webfansplz
183e4e6152
refactor(types): use template literal types insteads of any ( #4166 )
2022-10-26 04:31:09 -04:00
HeYunfei
e816812f10
fix(types): should unwrap tuple correctly ( #3820 )
...
fix #3819
2022-10-26 04:27:42 -04:00
Evan You
09bb3e996e
fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr ( #3326 )
...
squashed from fix by @tjk
2022-10-26 16:18:19 +08:00
Evan You
d9de6caecd
refactor: move toNumber call out of loop
2022-10-26 15:17:25 +08:00
Carlos Rodrigues
8e792d93a8
types(h): Support passing `props` to `Component` when using `h` ( #3219 )
2022-10-26 03:07:44 -04:00
引证
cbc3e67c37
types(shared): Improve LooseRequired<T> ( #6244 )
2022-10-26 03:01:37 -04:00
Thorsten Lünborg
b0b74a160c
fix(runtime-core): custom-element: ensure number casting of camelCase props. ( fix : #5374 ) ( #5377 )
2022-10-22 11:20:46 +02:00
Thorsten Lünborg
54b6ba32ca
fix(runtime-core): ensure props definition objects are not mutated during props normalization ( close : #6915 ) ( #6916 )
2022-10-22 11:20:02 +02:00
bcq028
e6224f4256
fix(reactivity): enable trigger when use str to set length of arr ( #6810 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-21 09:25:06 +02:00
Thorsten Lünborg
e5fc7dcc02
fix(types): ensure createBlock() helper accepts Teleport and Supsense types ( fix : #2855 ) ( #5458 )
...
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
2022-10-20 21:45:51 +02:00
Thorsten Lünborg
bc167b5c6c
fix(runtime-core): watching multiple values - handle `undefined` as initial values ( fix : #5032 ) ( #5033 )
2022-10-20 21:45:05 +02:00
Evan You
9617dd4b2a
release: v3.2.41
2022-10-14 18:41:15 +08:00
白雾三语
9ae796d156
fix(runtime-core): fix v-for ref reactivity behavior difference between prod and dev ( #6714 )
...
fix #6697
2022-10-14 05:23:01 -04:00
似水微寒
82a73da351
fix(runtime-core): ensure that errors in slot function execution do not affect block tracking ( #5670 )
...
fix #5657
2022-10-14 04:08:32 -04:00
Evan You
5ee40532a6
fix(runtime-dom): fix event timestamp check in iframes
...
fix #2513
fix #3933
close #5474
2022-10-14 16:00:03 +08:00
Evan You
a71f9ac41a
fix(effectScope): calling off() of a detached scope should not break currentScope
2022-10-14 10:53:23 +08:00
世新
82e3f2dc30
chore: symbols as helperNameMap index type ( #6622 )
2022-10-06 05:26:16 +08:00