edison
275354caba
fix(compiler-ssr): don't render v-if comments in TransitionGroup + static tag ( #11515 )
...
close #11514
2024-08-06 18:25:13 +08:00
Evan You
79602f9ecd
fix(ssr): respect textContent/innerHTML from getSSRProps in optimized SSR output
...
close #8112
2024-08-06 18:14:59 +08:00
Evan You
f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
...
close #10743
2024-04-22 22:23:09 +08:00
Evan You
1ff407676f
fix(compiler-ssr): fix v-html SSR for nullish values
...
close #10725
2024-04-18 12:49:56 +08:00
Jonas
5a9626708e
fix(ssr): don't render v-if comments in TransitionGroup ( #6732 )
...
close #6715
2024-04-15 21:26:19 +08:00
edison
6cb00ed0f9
fix(ssr): fix hydration error for slot outlet inside transition-group ( #9937 )
...
close #9933
2023-12-30 19:01:07 +08:00
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
...
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You
e2f2b75b62
chore(deps): bump vitest to 1.0
2023-12-05 10:48:04 +08:00
edison
e09c26bc9b
fix(compiler-ssr): proper scope analysis for ssr vnode slot fallback ( #7184 )
...
close #7095
2023-10-25 01:01:29 +08:00
edison
5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR ( #8859 )
...
close #6951
2023-10-24 09:36:10 +08:00
edison
cdb2e725e7
fix(compiler-ssr): fix ssr compile error for select with non-option children ( #9442 )
...
fix #9440
2023-10-20 20:39:31 +08:00
白雾三语
61c1357427
fix(compiler-ssr): fix missing scopeId on server-rendered TransitionGroup ( #7557 )
...
close #7554
2023-10-20 16:21:41 +08:00
edison
201c46df07
fix(ssr): render correct initial selected state for select with v-model ( #7432 )
...
close #7392
2023-07-11 17:13:18 +08:00
Evan You
05f94cf7b0
fix(compiler-ssr): disable v-once transform in ssr vdom fallback branch
...
fix #7644
2023-04-05 11:10:21 +08:00
Evan You
dca4224c2c
wip(vitest-migration): compiler-ssr tests passing
2023-01-26 16:50:19 +08:00
Evan You
9d5e30d911
build: bump jest, puppeteer and use official rollup terser plugin
2022-11-14 18:21:58 +08:00
三咲智子 Kevin Deng
9060bf0353
refactor(compiler-core): make ast.helpers a Set ( #6774 )
2022-11-13 20:44:02 -05: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
Kid
96ba71d0cf
chore: fix typos ( #6708 )
2022-09-24 15:13:39 +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
Anthony Fu
2024d11db0
fix(ssr): forward helpers provided by CSS `v-bind` ( #6489 )
...
fix #6201
2022-08-28 23:09:21 -04: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
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
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
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
9309b044bd
fix(ssr): fix hydration error for slot outlet inside transition
...
fix #3989
2022-05-12 15:06:32 +08:00
Evan You
60cf175d88
feat(ssr): support custom directive getSSRProps in optimized compilation
...
close #5304
2022-02-04 08:58:31 +08:00
Evan You
8e05b7f9fc
fix(ssr): fix ssr runtime helper import in module mode
2021-09-23 10:08:28 -04:00
Evan You
d74f21a42c
fix(compiler-ssr): import ssr helpers from updated path
2021-09-22 23:28:20 -04:00
Evan You
935b4e2210
fix(compiler-core): remove no longer necessary withScopeId import in generated code
2021-09-01 11:30:34 -04:00
skirtle
620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values ( #4348 )
2021-08-16 18:18:36 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Evan You
317654b34f
chore: fix codegen error due to scopeId deprecation change
2021-07-16 14:30:49 -04:00
Evan You
a8edf2bdff
refactor: remove outdated slot ctx wrapper codegen
2021-07-16 14:30:49 -04:00
Evan You
f596e008ef
refactor: remove deprecated scopeId codegen
...
BREAKING CHANGE: Output of SFC using `<style scoped>` generated by 3.2+
will be incompatible w/ runtime <3.2.
2021-07-16 14:30:49 -04:00
Evan You
9f6f8b35c1
fix(compiler-ssr): fix attr fallthrough for transition/keep-alive as template root
...
fix #3981
2021-06-22 14:19:14 -04:00
Evan You
37c17091fd
fix: ensure backwards compat for pre-compiled sfc components
...
fix #3493
2021-03-27 10:53:45 -04:00
HcySunYang
7715c49af9
fix(compiler-core): avoid generating useless createVNode helper ( #2938 )
...
close #2739
2021-03-25 17:01:50 -04:00
Evan You
02cbbb718c
perf: support only attaching slot scope ids when necessary
...
This is done by adding the `slotted: false` option to:
- compiler-dom
- compiler-ssr
- compiler-sfc (forwarded to template compiler)
At runtime, only slotted component will render slot fragments with
slot scope Ids. For SSR, only slotted component will add slot scope Ids
to rendered slot content. This should improve both runtime performance
and reduce SSR rendered markup size.
Note: requires SFC tooling (e.g. `vue-loader` and `vite`) to pass on
the `slotted` option from the SFC descriptoer to the `compileTemplate`
call.
2021-03-05 18:28:12 -05:00
Evan You
aea88c3280
refactor: fix implementation of SFC :slotted id handling
...
fix #2892
2021-03-05 18:28:12 -05:00
lidlanca
012dc5a303
fix(compiler-ssr) ensure that ssrHelpers are unique after merge from parent context ( #3269 )
...
fix #3268
2021-02-25 18:25:39 -05:00
Evan You
fe5428db12
fix(compiler-ssr): handle v-model checkbox with true-value binding
2020-12-01 12:43:59 -05:00
Evan You
e41b46c396
chore: annotate generated slot flag
2020-11-30 15:19:32 -05:00
Evan You
5b6266284d
fix(compiler-ssr): should not render key/ref bindings in ssr
2020-11-27 12:37:26 -05:00
Evan You
a5d6f8091e
fix(compiler-ssr): generate correct children for transition-group
...
fix #2510
2020-11-27 12:22:14 -05:00
Evan You
8ac2241b22
wip: more consistent compiler-sfc usage + inline mode for ssr
2020-11-20 14:23:09 -05:00
Evan You
cdc9f336fd
wip: new cssVars SSR integration + fix cssVars SSR injection for suspense
2020-11-17 18:54:47 -05:00