Evan You
b663aa8a81
release: v3.1.0-beta.3
2021-05-12 17:37:04 -04:00
HcySunYang
a56ab148fd
fix(compiler-core): bail out to array children when the element has custom directives + only one text child node ( #3757 )
2021-05-12 16:12:32 -04:00
Evan You
99a5ccf6b2
release: v3.1.0-beta.2
2021-05-08 16:59:12 -04:00
Evan You
ed6c5fe903
release: v3.1.0-beta.1
2021-05-08 16:24:34 -04:00
Evan You
61edb700d7
wip: only generate non-scope slot flag when compatConfig is present
2021-05-05 16:36:16 -04:00
Evan You
7a8cee8688
wip: remove v-if key warning as there are legit use cases
2021-05-05 16:35:44 -04:00
Evan You
7f93c76b96
wip: exclude legacy slots from $scopedSlots
2021-05-05 11:06:15 -04:00
Evan You
ae0fb14305
wip: fix native template compat
2021-05-04 18:26:28 -04:00
Evan You
bd3cc4d2c7
wip: tests for compiler compat
2021-04-30 15:50:32 -04:00
Evan You
b4c92ccf6b
wip: move compat test cases + filter tests
2021-04-29 16:58:14 -04:00
Evan You
e486254431
fix(compiler-core): preserve comment content in production when comments option is enabled
2021-04-28 11:22:16 -04:00
Evan You
86703c23a6
wip: ref v-for compat
2021-04-26 17:35:41 -04:00
Evan You
b047a0864c
refactor(compiler): improve whitespace: 'preserve' behavior from #1600
...
- discard leading/ending whitespace inside an element
- condense preserved whitesapce into single space
2021-04-26 11:46:17 -04:00
CodeDaraW
dee3d6ab8b
feat(compiler-core): whitespace handling strategy
2021-04-26 09:44:27 -04:00
Evan You
7dc681c196
wip: filters compat
2021-04-19 12:29:55 -04:00
Evan You
3ea68691e2
wip: inline-template compat
2021-04-17 23:19:40 -04:00
Evan You
1390ece04f
wip: refactor
2021-04-17 22:50:16 -04:00
Evan You
505269405e
wip: plain template tag compat
2021-04-17 22:16:48 -04:00
Evan You
048ac299f3
perf(compiler): skip unncessary checks when parsing end tag
2021-04-17 22:05:18 -04:00
Evan You
2c31227e7c
wip: warn v-bind object ordering
2021-04-17 20:53:55 -04:00
Evan You
bf41354abd
wip: remove unncessary deprecation messages
2021-04-17 16:13:57 -04:00
Evan You
c5c304af14
wip: compiler should default to v3 behavior
2021-04-17 15:55:14 -04:00
Evan You
3528ced0b4
wip: warn key usage of v-if branches
2021-04-17 15:35:44 -04:00
Evan You
ab21468982
wip: warn v-if/v-for co-usage
2021-04-17 14:38:30 -04:00
Evan You
7ceb873783
wip: v-bind.sync compat
2021-04-16 17:11:44 -04:00
Evan You
ad97bbab85
wip: invert compiler compat behavior default during tests
2021-04-16 12:26:17 -04:00
Evan You
bbf708dbe9
wip: support configuring compiler deprecations at runtime + warn invalid deprecation configs
2021-04-16 12:19:12 -04:00
Evan You
79cbf21c3e
wip: generate codeframe for compiler deprecations
2021-04-16 11:51:47 -04:00
Evan You
d974adb327
wip: is usage compat
2021-04-16 11:43:05 -04:00
Evan You
e130c7db23
wip: compiler deprecation config
2021-04-12 19:43:53 -04:00
Evan You
af9e6999e1
feat: support casting plain element to component via is="vue:xxx"
...
In Vue 3's custom elements interop, we no longer process `is` usage on
known native elements as component casting. (ref:
https://v3.vuejs.org/guide/migration/custom-elements-interop.html )
This introduced the need for `v-is`. However, since it is a directive,
its value is considered a JavaScript expression. This makes it awkward
to use (e.g. `v-is="'foo'"`) when majority of casting is non-dynamic,
and also hinders static analysis when casting to built-in Vue
components, e.g. transition-group.
This commit adds the ability to cast a native element to a Vue component
by simply adding a `vue:` prefix:
```html
<button is="vue:my-button"></button>
<ul is="vue:transition-group" tag="ul"></ul>
```
2021-04-12 13:08:07 -04:00
Evan You
422b13e798
wip: testing compiler deprecation warnings
2021-04-12 09:09:00 -04:00
Evan You
f0cf14bcc5
release: v3.0.11
2021-04-01 19:52:45 -04:00
Evan You
7f7dcc9f7d
fix(compiler-sfc): fix wrong scopeId for nested <script setup>
components
2021-04-01 18:11:04 -04:00
Evan You
ad6c124e6c
release: v3.0.10
2021-03-30 20:05:45 -04:00
Calvin Liang
0fe567abfc
fix(compiler-core): properly transform replaced nodes ( #2927 )
2021-03-29 18:08:10 -04:00
Evan You
f5827fdf78
fix(compiler-sfc): do not resolve assets from setup bindings
...
when not using script setup
fix #3270 , fix #3275
2021-03-29 16:11:38 -04:00
HcySunYang
555b016dcb
fix(compiler-core): allow PascalCase dynamic component tag usage ( #3508 )
...
fix #3507
2021-03-29 15:18:25 -04:00
Evan You
67039b3434
release: v3.0.9
2021-03-27 11:30:12 -04:00
Johnson Chu
e752bddb33
fix(compiler-core): fix slot source location ( #3494 )
2021-03-27 11:20:39 -04:00
Evan You
37c17091fd
fix: ensure backwards compat for pre-compiled sfc components
...
fix #3493
2021-03-27 10:53:45 -04:00
Evan You
9ff70be2b3
release: v3.0.8
2021-03-26 17:35:44 -04:00
Evan You
abd129d845
fix(component): prioritize registered component over implicit self-reference via filename
...
ref: #2827
2021-03-26 10:04:36 -04:00
HcySunYang
ebedcccdc0
fix(compiler-core): allow unicode to appear in identifiers ( #3443 )
...
fix #3440
2021-03-25 17:24:18 -04:00
HcySunYang
7715c49af9
fix(compiler-core): avoid generating useless createVNode helper ( #2938 )
...
close #2739
2021-03-25 17:01:50 -04:00
funkyfun
c8aed13711
chore(types): remove redundant 'undefined' type ( #3484 )
2021-03-25 16:19:02 -04:00
HcySunYang
b4b82159e2
fix(compiler-core): should not condense whitespace in RCDATA text mode ( #3482 )
...
fix #3479
2021-03-25 15:53:03 -04:00
HcySunYang
4bf7ba19bf
fix(compiler-core): detect v-if branch root with comment as dev fragment ( #2785 )
...
fix #2780
2021-03-25 15:43:44 -04:00
HcySunYang
602b58ebd1
fix(compiler-core): fix the detection of forwarded slots with v-if or v-for ( #3353 )
...
fix #3347
2021-03-22 16:34:46 -04:00
Evan You
ff4d4ec249
chore: fix all test cases
2021-03-05 18:28:12 -05:00