Evan You
71977ec972
release: v3.2.43
2022-11-09 21:00:57 +08:00
Evan You
23e85e21a5
fix(watch): ensure oldValue in multi-source watcher is always an array
...
fix #7070
2022-11-09 20:50:02 +08:00
Evan You
d33292dd47
chore: return early in warn() in prod
2022-11-09 11:48:35 +08:00
Evan You
8dbf083133
build: put ssrContext warning behind __DEV__ flag
2022-11-09 11:41:26 +08:00
Evan You
f023d49a49
release: v3.2.42
2022-11-09 11:36:09 +08:00
三咲智子 Kevin Deng
57c9013837
fix(compiler-sfc): only escape parsing-breaking characters in v-bind css var names ( #6816 )
...
close #6803
2022-11-08 22:30:05 -05:00
白雾三语
2c27556fe5
fix(compiler): avoid namespace collisions when transforming template refs in inline mode ( #6975 )
...
fix #6964
2022-11-08 22:22:29 -05:00
三咲智子 Kevin Deng
8a882ce0a1
fix(compiler-sfc): handle method shorthand syntax in withDefaults ( #6972 )
...
fix #6971
2022-11-08 22:12:54 -05:00
白雾三语
5bfe438ef3
fix(compiler-core/v-on): only apply case preservation on native elements ( #6902 )
...
fix #6900
2022-11-08 21:58:22 -05:00
三咲智子 Kevin Deng
910fa7677f
fix(compiler-sfc): resolve computed object key ( #6963 )
2022-11-08 21:57:40 -05:00
三咲智子 Kevin Deng
7663a79a29
fix(reactivity-transform): respect user defined symbols that conflict with macros ( #6840 )
...
closes #6838
2022-11-08 20:26:43 -05:00
Johnson Chu
bad3f3ce46
fix(types): stricter type condition for `EventHandlers` ( #6855 )
...
fix #6899
2022-11-08 10:37:37 -05:00
Evan You
dd3354c4c7
fix(compiler-core): fix parsing error on comments between v-if in prod
...
close #6843
2022-11-08 23:35:35 +08:00
被雨水过滤的空气(Rairn)
64e6d9221d
fix(transition/keep-alive): fix unmount bug for component with out-in transition ( #6839 )
...
fix #6835
2022-11-08 10:01:43 -05:00
Rudy
48876182db
fix(compiler-core): keep whitespaces between interpolation and comment ( #6828 )
...
fix #6352
2022-11-08 09:50:43 -05:00
Evan You
6861d2380b
refactor(compiler-sfc): optimize import alias check for binding analysis
2022-11-08 17:47:47 +08:00
Evan You
8d1f526174
fix(compiler-sfc): fix binding analysis for aliased late import
2022-11-08 17:19:45 +08:00
三咲智子 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
Eduardo San Martin Morote
35a113eda4
fix(devtools): use cleanupBuffer instead of modifying _buffer ( #6812 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-03 11:29:34 +02:00
edison
824174915f
types: creating Teleport with h and RawSlots #2613 ( #2614 )
2022-10-03 16:40:37 +08:00
webfansplz
a9e3fa4e21
refactor(types): improve of type assertion ( #4177 )
...
Co-authored-by: webfansplz <>
2022-10-03 16:37:54 +08:00
Anthony Fu
534593cfa8
chore: format
2022-10-03 15:30:43 +08:00
Evan You
24f4c479d6
fix(devtools): avoid memory leak caused by devtools event buffer
...
fix #6591
2022-09-28 18:19:19 +08:00
Evan You
551f606d98
release: v3.2.40
2022-09-28 11:40:24 +08:00
Evan You
96cd924e44
fix(compat): list cjs dependencies for compat build
...
Previously the cjs build implicitly relies on hoisted versions of the
deps, causing it to resolve to newer versions of estree-walker when
present.
fix #6602
2022-09-28 11:05:09 +08:00
Evan You
f402d416b8
refactor(compiler-core): extract props merging helper
2022-09-28 10:59:13 +08:00
Dunqing
f9d43b99f8
fix(compilre-core): dynamic v-on and static v-on should be merged ( #6747 )
...
fix #6742
2022-09-27 22:46:55 -04:00
Evan You
cae1aa82cc
chore: use stricter slots type in createSlots
2022-09-28 10:38:27 +08:00
Shigma
3cc8e024e6
test(slots): ensure createSlots helper work with ssr slots ( #6660 )
2022-09-27 22:36:11 -04:00
Evan You
8963c5508c
fix(ssr): fix dynamic slot regression in ssr
...
fix #6651
2022-09-28 10:25:01 +08:00
Evan You
9698dd3cf1
fix(ssr): fix hydration mismatch when entire multi-root template is stringified
...
fix #6637
2022-09-28 09:33:17 +08:00
Evan You
03820193a8
fix(ssr): fix pre tag windows newline hydration mismatch
...
fix #6410
2022-09-28 08:45:32 +08:00
Evan You
121eb32fb0
fix(ssr): respect case when rendering dynamic attrs on svg
...
fix #6755
2022-09-27 17:40:22 +08:00
Travis
6958ec1b37
fix(compiler-sfc): fix expression check for v-on with object literal value ( #6652 )
...
fix #6650
fix #6674
2022-09-27 05:30:10 -04:00
某时橙
6c6fe2c0cd
fix(compiler-dom): remove v-bind boolean attribute with literal false value when stringifying ( #6635 )
...
fix #6617
2022-09-27 17:18:49 +08:00
Anthony Fu
57ffc3e546
fix(ssr): avoid ast.helpers duplication ( #6664 )
2022-09-27 05:06:24 -04:00
Evan You
b1817fe9ee
fix(runtime-dom): fix unnecessary warning when setting coerced dom property value
...
fix #6616
2022-09-27 16:39:15 +08:00
Evan You
fc5bdb36ed
fix(runtime-core): avoid hoisted vnodes retaining detached DOM nodes
...
fix #6591
2022-09-27 16:20:52 +08:00
Evan You
ab8bfac0a1
chore: remove no longer used cloneNode implementation in nodeOps
2022-09-27 16:17:14 +08:00
Evan You
aa70188c41
fix(runtime-core): remove prod-only hoisted clone behavior for manual DOM manipulation compat
...
fix #6727
fix #6739
2022-09-27 15:24:46 +08:00
Evan You
c0d8db81a6
fix(runtime-core): unset removed props first in full diff mode
...
fix #6571
2022-09-27 10:24:13 +08:00
Thorsten Lünborg
c71a08e6fd
fix(runtime-core): Lifecycle hooks should support callbacks shared by reference ( #6687 )
...
fix #6686
2022-09-26 22:18:22 -04:00
Kid
96ba71d0cf
chore: fix typos ( #6708 )
2022-09-24 15:13:39 +08:00
Evan You
fbd697a4b6
chore: allow sfc playground in iframes
2022-09-21 17:36:15 +08:00
Evan You
8772a01a92
chore: add headers for sfc playground
2022-09-13 16:27:44 +08:00
Evan You
f79c423621
release: v3.2.39
2022-09-08 10:12:39 +08:00
Evan You
c1375da45f
chore: fix sfc playground deps
2022-09-08 10:02:17 +08:00
Evan You
6aaf8efeff
fix(runtime-core): avoid double firing when mounting inside a watcher callback
...
fix #6614
2022-09-08 09:59:51 +08:00
似水微寒
6493da5bfa
fix(ssr): reset current instance ( #6184 )
...
fix #6110
2022-09-07 05:08:52 -04:00
Evan You
5381abc057
fix(types): support TypeScript 4.8
...
fix #6554
2022-08-31 14:03:08 +08:00
edison
9875ecd762
fix(runtime-core): support extends template for runtime compiler ( #6250 )
...
fix #6249
2022-08-31 01:44:21 -04:00
Evan You
6624ead663
release: v3.2.38
2022-08-30 16:02:01 +08:00
Evan You
00036bb52c
fix(slots): ensure different branches of dynamic slots have different keys
...
fix #6202
2022-08-30 15:55:09 +08:00
Yaroslav Sych
96eb745254
fix(hmr): fix HMR for nested non-SFC components ( #4077 )
2022-08-30 02:42:22 -04:00
Evan You
0739f8909a
fix(custom-element): fix event listeners with capital letter event names on custom elements
...
close https://github.com/vuejs/docs/issues/1708
close https://github.com/vuejs/docs/pull/1890
2022-08-30 14:07:35 +08:00
Evan You
9f8f07ed38
feat(custom-elements): automatically respect custom elements when compiling in browser
2022-08-30 11:30:52 +08:00
Daniel Roe
c3465c1e88
fix(runtime-core): only set cache for object keys ( #6266 )
2022-08-28 23:10:16 -04:00
Anthony Fu
2024d11db0
fix(ssr): forward helpers provided by CSS `v-bind` ( #6489 )
...
fix #6201
2022-08-28 23:09:21 -04:00
林烁壕
81a7819535
fix(compiler-sfc): rewriteDefault for class with decorators ( #6320 )
...
fix #6318
2022-08-18 04:07:55 -04:00
Evan You
c1ee6caa82
fix(types): add types field for sub package exports
...
Add types field for vue/server-renderer and vue/compiler-sfc deep imports
which are necessary when using "moduleResolution": "nodenext"
2022-08-17 07:13:25 +08:00
Evan You
78c199d6db
fix(watch): flush:pre watchers should not fire if state change causes
...
owner component to unmount
fix #2291
2022-08-15 19:00:55 +08:00
Evan You
a95554d35c
fix(reactivity): fix shallow/readonly edge cases
2022-07-22 11:16:06 +08:00
Carlos Rodrigues
8dcb6c7bbd
fix(types): fix on* props incorrect type for TS 4.7 ( #6216 )
...
fix #6052
2022-07-06 04:28:25 -04:00
Carlos Rodrigues
17c50ce18d
build(deps-dev): bump typescript to 4.7.4 ( #6215 )
2022-07-06 04:27:30 -04:00
Evan You
769e5555f9
fix(compiler-sfc): fix template usage check edge case for v-on statements
...
ref: https://github.com/vuejs/vue/issues/12591
2022-07-04 11:49:47 +08:00
Evan You
fb3bfde264
chore: fix wrong condition in 3ff83694
2022-07-01 12:18:21 +08:00
Evan You
3ff83694f5
fix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugin is not used
2022-06-30 10:39:14 +08:00
Evan You
8edf4b3441
workflow(playground-sfc): bump @vue/repl
2022-06-26 11:03:32 +08:00
Hitesh Khandelwal
25f7a16a6e
perf(ssr): improve isComment check ( #6078 )
2022-06-12 23:06:15 -04:00
Stewart Haines
19236d2c90
chore: add LICENSE file in reactivity-transform ( #6072 )
2022-06-12 23:00:24 -04:00
木杉
b4e1dfe3f8
chore(sfc-playground): hide versions when click iframe & set color-scheme to dark ( #6003 )
2022-06-12 22:58:27 -04:00
Evan You
bdffc143ef
release: v3.2.37
2022-06-06 20:08:19 +08:00
Evan You
e60244bcdf
fix(compiler-sfc): improve css v-bind parsing
...
fix #6022
2022-06-06 20:02:08 +08:00
Evan You
9734b31c31
fix(sfc): avoid auto name inference leading to unwanted recursion
...
fix #5965
fix #6027
fix #6029
2022-06-06 17:36:49 +08:00
liulinboyi
11e17a1a29
fix(runtime-core): hydrate Static vnode ( #6015 )
...
fix #6008
2022-06-06 16:45:24 +08:00
小刘(liulinboyi)
eb22a62798
fix(ssr): hydration for transition wrapper components with empty slot content ( #5995 )
...
fix #5991
2022-06-06 04:24:40 -04:00
Evan You
3538f17a07
chore: avoid redundant isRef check
2022-05-30 07:43:18 +08:00
Evan You
439377b220
chore: remove duplicated test + add missing prop decl
2022-05-28 16:17:19 +08:00
Evan You
3cfe5f9fc8
build: include ssrUtils in server-renderer browser build
2022-05-25 13:52:54 +08:00
Evan You
2035fa0078
chore: adjust sfc playground button color
2022-05-25 13:48:20 +08:00
Evan You
b50353a183
workflow(sfc-playground): copy server-renderer browser build
2022-05-25 12:57:28 +08:00
Evan You
ec2856c2ba
workflow: support ssr repros in sfc playground
2022-05-25 12:50:34 +08:00
Evan You
90308e893b
build: distribute esm-browser build for the server renderer
2022-05-25 11:00:06 +08:00
Phan An
7487d50775
workflow: fix sfc playground persist light mode ( #5999 )
2022-05-24 22:11:54 -04:00
Phan An
109751abdd
chore(sfc-playground): style improvements ( #6000 )
2022-05-25 06:33:57 +08:00
Thorsten Lünborg
d4d3319c1b
fix(ssr): ensure app can be unmounted when created with createSSRApp() ( #5992 )
...
fix #5990
2022-05-24 08:30:40 -04:00
Evan You
160d5df34a
release: v3.2.36
2022-05-23 10:04:12 +08:00
Evan You
2f07e3460b
fix(compat): fix globalProperties pollution in v3 mode
...
fix #5699
2022-05-23 09:46:00 +08:00
Alex Van Liew
7fb57327b9
fix(compat): fix app-level asset registration affecting other local apps ( #5979 )
2022-05-22 21:41:39 -04:00
Travis
7fbc933f4d
fix(compiler-core): fix svg with directives being incorrectly hoisted ( #5919 )
...
fix #5289
2022-05-22 21:40:53 -04:00
zhangenming
3bdc41dff3
perf: improve the performance of getNow ( #5944 )
2022-05-22 20:36:57 -04:00
Jinesh Patel
0cd21ba77c
chore: remove unnecessary optional check ( #5958 )
2022-05-22 20:29:15 -04:00
Alex Kozack
b5462822d6
fix(sfc/types): allow use default factory for primitive types in `withDefaults` ( #5939 )
...
fix #5938
2022-05-22 20:28:39 -04:00
edison
dddbd96dfe
fix(transition): fix cancel leave regression ( #5974 )
...
fix #5973
2022-05-22 20:02:15 -04:00
Evan You
a0c577692f
release: v3.2.35
2022-05-21 01:16:26 +08:00
Carlos Rodrigues
0c7fd13ea6
fix(types): fix typescript error when spreading `$props`( #5968 )
2022-05-20 12:59:29 -04:00
Evan You
8071ef47b5
fix(types): restore DefineComponent argument order
...
This is necessary for compatibility w/ tsc-generated component types
using DefineComponent.
revert #5416
reopen #3796
fix #5967
2022-05-21 00:55:51 +08:00
Evan You
583b625987
fix(compiler-sfc): fix usage detection for types in v-for/v-slot expressions
...
fix #5959
2022-05-21 00:09:15 +08:00
Evan You
8ba0bb8ec3
chore: bump repl
2022-05-21 00:06:13 +08:00
Evan You
523f6aa363
chore: use existing method
2022-05-19 14:08:55 +08:00
Evan You
3991609087
release: v3.2.34
2022-05-19 12:42:34 +08:00
Evan You
31bdde0480
chore: fix lint
2022-05-19 12:39:48 +08:00
Evan You
939209c6b5
fix(ssr): fix hydration for slot with empty text node
...
fix #5728
2022-05-19 12:35:29 +08:00
Evan You
e1bc2681ef
fix(ssr): fix hydration mismatch caused by multi-line comments inside slot
...
fix #5355
2022-05-19 11:36:31 +08:00
Evan You
516bc548fc
fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches
...
fix #5140
2022-05-19 11:21:17 +08:00
小刘(liulinboyi)
6ce75c10f1
test(runtime-dom): vModel tests for input range ( #5907 )
2022-05-18 19:56:46 -04:00
小刘(liulinboyi)
73e6523134
fix(compiler-sfc): support `export { default } from '...'` ( #5937 )
...
fix #5935
2022-05-18 19:51:44 -04:00
Yunyoung LEE
991d62322f
fix(compiler-sfc): type-only defineProps does not recognize Promise ( fix #5941 ) ( #5943 )
2022-05-18 19:34:52 -04:00
Carlos Rodrigues
7c8f4578e9
fix(types): fix `defineComponent` inference to `Component` ( #5949 )
2022-05-18 19:34:35 -04:00
Cédric Exbrayat
3e2850fa6c
fix(types): export ComponentProvideOptions ( #5947 )
2022-05-18 19:32:20 -04:00
Evan You
595263c0e9
fix(ssr/teleport): support nested teleports in ssr
...
fix #5242
2022-05-18 18:13:08 +08:00
Evan You
84f0353511
test: hydration test case for component w/ teleport root
2022-05-18 17:27:53 +08:00
Evan You
cdda49bbfb
fix(runtime-core): adjust force diff of dev root fragments
...
fix #5946
2022-05-18 16:36:00 +08:00
Evan You
b60cff052c
fix(ssr): fix hydration error when teleport is used as component root
...
fix #4293
2022-05-18 12:18:12 +08:00
Bulat Aykaev
0841b9b524
fix(keep-alive): fix keep-alive rendering when placed in vnode branch
...
fix #4817
2022-05-18 10:48:58 +08:00
Evan You
3705b3b46a
fix(ssr): fix hydration error when transition contains comment children
...
fix #5351
2022-05-18 10:03:00 +08:00
Evan You
aed10c5072
fix(ssr): render fallthrough attributes for transition-group with tag
...
fix #5141
2022-05-18 09:55:39 +08:00
Evan You
1035c6b51b
chore: split ssr transition group tests
2022-05-18 09:31:31 +08:00
Evan You
ee4186ef9e
fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
...
fix #5352
2022-05-18 09:28:18 +08:00
Evan You
c65b805ef1
fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive
2022-05-18 08:37:24 +08:00
Roan Kattouw
c03459b9b6
fix(ssr): support client-compiled v-model with dynamic type during ssr ( #5787 )
...
fix #5786
2022-05-17 05:52:44 -04:00
Evan You
847d7f782b
fix(ssr): inherit scope id on functional component during ssr
...
fix #5817
2022-05-17 17:45:53 +08:00
Evan You
415091b0ee
fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element
...
fix #5870
2022-05-17 16:39:48 +08:00
Evan You
f811dc2b60
fix(compiler-ssr): fix component event handlers inheritance in ssr
...
fix #5664
2022-05-17 15:50:23 +08:00
Evan You
4caa52120d
chore: bump repl
2022-05-17 15:06:49 +08:00
Evan You
7fd761e577
release: v3.2.34-beta.1
2022-05-17 12:53:51 +08:00
Evan You
77fef97344
fix(ssr): resolve teleports for stream render APIs
2022-05-17 12:41:40 +08:00
Evan You
57d3a0566f
workflow: add prod/dev toggle to sfc playground
2022-05-17 12:10:29 +08:00
Evan You
70c2d5bbc0
fix(ssr): fix ssr render output for fragment in slots
...
fix #5859
2022-05-17 11:13:22 +08:00
Evan You
efea4a8b57
fix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR
...
fix #5443
close #5444
2022-05-17 09:21:44 +08:00
edison
2a9e9a4096
refactor(runtime-core): extract function `isReservedPrefix` ( #3265 )
...
* chore(runtime-core): extract function isReservedKey
* chore: improve code
Co-authored-by: Evan You <yyx990803@gmail.com>
2022-05-13 04:52:19 -04:00
edison
40794c80ca
refactor(runtime-core): extract type SetRootFn ( #3209 )
2022-05-13 04:48:20 -04:00
阿崔cxr
e85e0a7f3a
chore: use ast node creation helper ( #5255 )
2022-05-13 04:37:50 -04:00
Package
9def7aa508
fix(types): allow css variables in style binding ( #5542 )
2022-05-13 04:30:30 -04:00
Spencer McWilliams
e5a90893a6
fix(types): add `Set<any>` to checkbox binding type for v-model ( #5713 )
2022-05-13 04:23:33 -04:00
Vanilla
eef14471b2
fix(shared): improve isDate check ( #5803 )
2022-05-13 04:17:31 -04:00
Adam Jedlička
4d7803ed28
fix(ssr): render teleport inside async component ( #5187 )
2022-05-13 03:57:10 -04:00
Evan You
31c0bb355a
chore: fix snapshots
2022-05-13 15:45:26 +08:00
Evan You
be6a0bff98
refactor: simplify logic
2022-05-13 15:41:49 +08:00
liulinboyi
a0290fe781
fix(compiler-sfc): add test for #5808
2022-05-13 15:41:49 +08:00
liulinboyi
6c3b681d23
fix(compiler-sfc): async transformer doesn't correctly detect need for semicolon in block #5808
2022-05-13 15:41:49 +08:00
Evan You
de7a879cda
chore: fix snapshot + simplify fix
2022-05-13 11:04:24 +08:00
liulinboyi
3b7b107120
fix(compiler-sfc): <script> after <script setup> the script content not end with `\\n`
2022-05-13 11:04:24 +08:00
edison
242914d938
fix(reactivity-transform): fix props access codegen for non-identifier prop names ( #5436 )
...
fix #5425
2022-05-12 22:38:46 -04:00
zs
0c07f12541
chore: warn when mounting different apps on the same host element ( #5573 )
2022-05-12 21:09:18 -04:00
Travis
f2c48f5352
fix(compiler-sfc): fix defineEmits() scope reference check error message ( #5404 )
2022-05-12 21:08:28 -04:00
Evan You
6283b2ec41
fix(compiler-dom): properly stringify v-html/v-text with constant value
...
fix #5439
close #5445
2022-05-13 08:57:43 +08:00
Marcos Dantas
cd92654510
chore: comments ( #5332 ) [ci skip]
2022-05-12 20:23:28 -04:00
edison
220f255fe9
fix(watch): fix watching multiple sources containing shallowRef ( #5381 )
...
fix #5371
2022-05-12 20:20:04 -04:00
三咲智子
04fff05f00
fix(sfc-playground): default selected app ( #5370 )
2022-05-12 20:16:29 -04:00
Evan You
8758da4749
chore: bump @vue/repl dep
...
close #5825
2022-05-13 07:56:11 +08:00
小刘(liulinboyi)
71066b5afe
fix(v-model): fix case where .trim and .number modifiers are used together ( #5842 )
...
fix #5839
2022-05-12 19:52:16 -04:00
huangcheng
a3881299e9
fix(runtime-core): handle NaN identity check in v-memo ( #5852 )
...
fix #5853
2022-05-12 19:49:51 -04:00
Evan You
d36ca4d80e
fix(runtime-core): clone root vnode before inheriting directives
2022-05-13 07:29:37 +08:00
Cédric Exbrayat
9ecee16f89
chore: add no-debugger eslint rule ( #5906 )
2022-05-12 19:10:00 -04:00
Evan You
8a123ac34f
fix(compiler-sfc): fix treeshaking of namespace import when used in template
...
fix #5209
2022-05-12 18:56:54 +08:00
Evan You
8c51c6514f
fix(v-model): exclude range from lazy guard logic
...
fix #5875
2022-05-12 18:39:17 +08:00
Evan You
ccf92564d3
fix(compiler-sfc): fix template usage check false positives on types
...
fix #5414
2022-05-12 18:23:10 +08:00
Evan You
ba17792b72
fix(runtime-core): fix missed updates when passing vnode to <component :is>
...
fix #4903
2022-05-12 17:52:17 +08:00
Evan You
0f00cf43cf
fix(compiler-core): normalize v-bind:style with array literal value
...
fix #5106
2022-05-12 16:31:16 +08:00
Evan You
59cf2958e7
fix(transition): handle edge case of cancel leave before next frame
...
fix #4462
2022-05-12 15:39:34 +08:00
Evan You
9309b044bd
fix(ssr): fix hydration error for slot outlet inside transition
...
fix #3989
2022-05-12 15:06:32 +08:00
Evan You
da49c863a2
fix(keep-alive): fix unmounting late-included components
...
fix #3648
based on #3650
2022-05-12 11:52:54 +08:00
Evan You
20ed16f68c
fix(keep-alive): invoke initial activated hook for async components
...
revert #5459
fix #5095
fix #5651
2022-05-12 11:29:26 +08:00
Evan You
9d815d28ad
chore: remove dbeugger [ci skip]
2022-05-12 10:38:40 +08:00
Dongcai Huang
109453f2ba
chore: add explaination about the utility type IfAny<T, Y, N> ( #5862 ) [ci skip]
2022-05-11 21:39:06 -04:00
WangJing
9329feb7d3
chore(compiler): improve readability of compiler-core's test case ( #4886 )
2022-05-11 20:47:10 -04:00
Evan You
54753c3401
chore: update branch references
2022-05-12 08:45:06 +08:00
HeYunfei
b5b103a736
chore(types): delete @ts-ignore or use @ts-expected-error instead ( #3669 )
...
Co-authored-by: heyunfei.i <heyunfei.i@bytedance.com>
2022-05-11 20:40:59 -04:00
edison
cd395559ce
chore(compiler-core): use aliasHelper ( #3592 )
2022-05-11 20:40:05 -04:00
Zardddddd60
eed3973459
chore(runtime-code): delete outdated test case ( #3036 )
2022-05-11 20:25:06 -04:00
edison
f1d1cdbb69
fix(runtime-core): fix activated hook when using async component with KeepAlive ( #5459 )
...
fix #5095
fix #5651
2022-05-11 20:19:11 -04:00
Simon Legner
d4fcfddec6
fix(types): allow indeterminate for checkbox ( #3473 )
2022-05-11 07:38:13 -04:00
Johnson Chu
c901dca5ad
feat(types): avoid props JSDocs loss by `default` option ( #5871 )
2022-05-11 07:37:49 -04:00
Evan You
425310e8b6
fix(transition/v-show): ensure transition is in persisted mode when used with v-show
...
fix #4845
close #4852
2022-05-11 19:22:55 +08:00
Evan You
2bab639683
fix(runtime-core): fix directive inheritance on dev root fragment
...
fix #5523
2022-05-11 18:02:31 +08:00
Evan You
51f3d386de
fix(compiler-core): template v-if should never be treated as dev root fragment
...
close #5189
2022-05-11 17:43:20 +08:00
Evan You
b7025d24f1
fix(compiler-sfc): ensure consistent behavior of export default render with script setup
...
close #4980
2022-05-11 17:20:32 +08:00
Evan You
41d255ba5d
fix(compiler-sfc): fix skipped srcset transform when using base option
...
Based on implementation from #4835 due to conflicts
fix #4819
close #4834 , close #4835
2022-05-11 16:55:58 +08:00
Evan You
57bb37bd64
fix(ssr): should not hoist transformed asset urls in ssr compile
...
fix #3874
2022-05-11 12:43:54 +08:00
Kael
fec12d7dcc
fix(runtime-core): transition hooks can be arrays of functions ( #5177 )
2022-05-10 21:56:57 -04:00
Kael
da10dd7de9
fix(ssr): don't warn for missing teleport target if disabled ( #5135 )
2022-05-10 21:33:08 -04:00
edison
cd659fc86f
fix(ssr): should de-optimize on vnode with PatchFlags.BAIL ( #4818 )
...
fix #4679
fix #5771
2022-05-10 06:35:34 -04:00
Evan You
410144149f
fix(compiler-sfc): defineProps return binding or rest binding should be considered reactive
2022-05-10 17:34:15 +08:00
Evan You
03b03eee44
chore: bump vite
2022-05-10 17:15:12 +08:00
Thorsten Lünborg
e4dffe900a
fix(runtime-core): ensure raw slot function is only normalized once ( #5358 )
...
fix : #5343
2022-05-10 04:41:54 -04:00
Evan You
8e31765fd3
chore: fix snapshot
2022-05-10 16:16:26 +08:00
descire
b87dc06193
fix(reactivity): ios10.x compatibility ( #4900 )
2022-05-10 04:10:40 -04:00
Evan You
d52907f4eb
fix(runtime-core): ensure consistent identity of $forceUpdate and $nextTick instance methods
...
fix #5556
2022-05-10 14:17:04 +08:00
那里好脏不可以
6042ab0f2f
chore: type [ci skip]
2022-05-09 22:51:51 -04:00
Khinenw
181872f744
types(runtime-dom): fix typo in jsx type autosave ( #5638 )
2022-05-09 22:50:49 -04:00
Leon Si
908ffb4fd4
chore: typo ( #5732 ) [ci skip]
2022-05-09 22:49:14 -04:00
huangcheng
392ca5dd88
chore: fix eslint error ( #5876 )
2022-05-09 22:43:35 -04:00
netcon
0aeb4bc9bf
fix(shared): missed Symbol judge in looseEqual ( #3553 )
2022-05-09 22:15:26 -04:00
Evan You
c355c4b784
fix(ssr): implement empty read() on node stream
...
fix #3846
close #3867
2022-05-10 10:05:24 +08:00
Evan You
30c33af839
chore: use explicit type import to avoid Rollup warning
2022-05-10 10:05:24 +08:00
Julian Hundeloh
e58277f6ea
fix(runtime-dom): "el._assign is not a function" in compat mode ( #4121 )
2022-05-09 21:58:51 -04:00
Evan You
16a0b232d7
chore: remove unused import due to merge conflict resolve mistake
2022-05-10 09:58:28 +08:00
Evan You
29e454d4d1
chore: fix duplicate export
2022-05-10 09:50:12 +08:00
edison
2a44225446
chore(runtime-core): Remove duplicate variable assignments ( #3700 )
2022-05-09 21:42:41 -04:00
edison
762a9e99ce
chore(runtime-core): use `getGlobalThis` when installing HMR API ( #3217 )
2022-05-09 21:40:19 -04:00