Evan You
348c3b01e5
release: v3.1.4
2021-07-02 08:37:50 -04:00
Evan You
a44d528af1
fix(codegen): ensure valid types in genreated code when using global directives
...
fix #4054
2021-07-02 07:59:47 -04:00
Evan You
fc7b640041
release: v3.1.3
2021-07-01 19:28:06 -04:00
Evan You
d2df28dca4
fix(compiler-core): properly exit self-closing pre tag
...
fix #4030
2021-07-01 15:34:12 -04:00
Evan You
d35e0b1468
feat(sfc): change <script setup>
directive resolution to require v prefix
...
close #3543
2021-06-28 17:35:31 -04:00
Evan You
6b6d566861
release: v3.1.2
2021-06-22 14:24:50 -04:00
Evan You
08e93220f1
fix(compiler-core/compat): fix is prop usage on components
...
also fix v-bind:is usage on plain element in compat mode
fix #3934
2021-06-21 16:16:49 -04:00
Evan You
bc100c5c48
fix(compiler-core): improve member expression check
...
fix #3910
2021-06-09 11:57:48 -04:00
Evan You
ade9bd9daa
release: v3.1.1
2021-06-07 16:26:54 -04:00
Evan You
ac15df46c5
release: v3.1.0
2021-06-07 12:38:42 -04:00
Evan You
71f7c25fbe
release: v3.1.0-beta.7
2021-06-02 16:12:54 -04:00
edison
2c7bd42801
fix(compiler-sfc): fix template expression assignment codegen for script setup let refs ( #3626 )
...
fix #3625
2021-05-28 17:58:46 -04:00
Evan You
aa96a0e88a
release: v3.1.0-beta.6
2021-05-28 16:58:54 -04:00
HcySunYang
9b2e894017
fix(compiler-core): improve the isMemberExpression function ( #3675 )
2021-05-27 21:07:26 -04:00
Evan You
f0eb1978b2
release: v3.1.0-beta.5
2021-05-26 16:06:51 -04:00
Evan You
f1f52300e6
release: v3.1.0-beta.4
2021-05-24 19:16:44 -04:00
HcySunYang
7c74feb3dc
fix(compiler-dom): comments in the v-if branchs should be ignored when used in Transition ( #3622 )
...
fix #3619
2021-05-24 17:10:29 -04:00
HcySunYang
47da92146c
fix(compiler-core): fix whitespace management for slots with whitespace: 'preserve' ( #3767 )
...
fix #3766
2021-05-13 18:24:43 -04:00
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