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