Evan You
|
af7e100ef2
|
fix(compiler-core): fix v-if + v-for on <template>
fix #1637
|
2020-07-19 14:36:01 -04:00 |
|
HcySunYang
|
f9826fa963
|
fix(compiler-core/v-on): fix codegen for event handler with newlines (#1640)
|
2020-07-19 11:48:26 -04:00 |
|
lawvs
|
a935998b33
|
chore: better comment hovers preview [ci skip] (#1612)
|
2020-07-17 11:24:12 -04:00 |
|
Evan You
|
aab99abd28
|
fix(slots): properly force update on forwarded slots
fix #1594
|
2020-07-15 20:12:49 -04:00 |
|
HcySunYang
|
64c7b2f9ce
|
fix(compiler-core): generate incremental keys for v-if/else-if/else chains (#1589)
fix #1587
|
2020-07-15 09:21:40 -04:00 |
|
Evan You
|
9152a89016
|
fix(v-on): capitalize dynamic event names
|
2020-07-13 17:36:46 -04:00 |
|
Evan You
|
576344d2c3
|
refactor(compiler): extract isStaticExp util
|
2020-07-13 16:48:24 -04:00 |
|
Evan You
|
65beba98fe
|
fix(slots): differentiate dynamic/static compiled slots
fix #1557
|
2020-07-13 12:36:41 -04:00 |
|
Evan You
|
b9595e64cf
|
feat: ssr support for <style vars>
|
2020-07-12 18:04:09 -04:00 |
|
Evan You
|
b6cdd5621e
|
wip: template binding optimization
|
2020-07-10 22:12:25 -04:00 |
|
Evan You
|
b51b79f5c4
|
refactor: rename optimizeBindings -> optimizeImports
|
2020-07-10 20:43:52 -04:00 |
|
Evan You
|
4c43d4e5b9
|
feat(compiler-sfc): <script setup> support (experimental)
This is the last commit for the feature which adds async/await detection.
|
2020-07-10 18:00:13 -04:00 |
|
Evan You
|
3e1cdba9db
|
wip: tests for compileScriptSetup
|
2020-07-09 12:17:28 -04:00 |
|
Evan You
|
1359cc3a28
|
wip: compileScriptSetup
|
2020-07-09 12:17:28 -04:00 |
|
Evan You
|
87c2a1e50f
|
fix(compiler-core/v-on): bail caching for member expression handlers on components
to preserve correct arity when it is passed down.
fix #1541
|
2020-07-08 11:48:12 -04:00 |
|
Evan You
|
4b5ce8b456
|
refactor(compiler-core): remove unnecessary arg in cached handler codegen
|
2020-07-08 11:48:12 -04:00 |
|
Felix Rilling
|
829b35e426
|
chore: typo fixes (#1546)
* chore: fix typos in comments/JSDoc.
* chore: fix typo in internal function name.
* chore: fix typos in test comments/descriptions/variable names.
|
2020-07-08 12:32:42 +02:00 |
|
Jack Robertson
|
64e2f46436
|
fix(compiler-core): add \r to accepted chars after end tag name (#1515)
fix #1476
|
2020-07-06 16:00:26 -04:00 |
|
Evan You
|
afe13e0584
|
fix(ssr): fix ssr scopeId on component root
|
2020-06-27 00:27:44 -04:00 |
|
Evan You
|
d5dbd27193
|
fix(ssr): handle fallthrough attrs in ssr compile output
|
2020-06-26 16:55:37 -04:00 |
|
HcySunYang
|
8a2cf21b71
|
perf(compiler-core): treat v-for with constant exp as a stable fragment (#1394)
|
2020-06-17 16:13:14 -04:00 |
|
Evan You
|
605953a154
|
refactor: only inject rest args for member expression handlers + fix tests
|
2020-06-15 15:24:46 -04:00 |
|
Cathrine Vaage
|
7e28173312
|
fix(compiler-core/v-on): pass noninitial arguments in cached event handlers (#1265)
|
2020-06-15 15:04:03 -04:00 |
|
underfin
|
35dbef268c
|
fix(compiler-core): should not prefix object method (#1375)
|
2020-06-15 11:20:00 -04:00 |
|
Evan You
|
afb231ec5c
|
fix(compiler-core): skip empty expressions when validating expressions in browser mode
|
2020-06-15 10:59:03 -04:00 |
|
Evan You
|
91fa52850a
|
chore: lint for unused arguments
|
2020-06-12 16:31:31 -04:00 |
|
Evan You
|
825ec1500f
|
fix(compiler-core): support static slot names containing dots for 2.x compat
close #1241
|
2020-06-12 16:09:27 -04:00 |
|
Evan You
|
0d26413433
|
fix(compiler-core): fix parsing for directive with dynamic argument containing dots
|
2020-06-12 15:59:13 -04:00 |
|
Evan You
|
e29f0b3fc2
|
feat(compiler): better warning for invalid expressions in function/browser mode
fix #1266
|
2020-06-11 16:31:51 -04:00 |
|
Evan You
|
f3623e4d1e
|
fix(compiler-core): fix prod whitespace/comment removal
fix #1256
|
2020-06-11 11:45:10 -04:00 |
|
Evan You
|
80c868aefe
|
workflow: setup eslint for prohibited syntax and globals
fix #1285
|
2020-06-10 16:54:23 -04:00 |
|
Evan You
|
9b5d13e598
|
fix: bail stringification for slots
fix #1281, close #1286
|
2020-06-10 14:31:59 -04:00 |
|
Carlos Rodrigues
|
958b6c80cf
|
fix(compiler-core): allow multiline expression on v-model and v-on (#1234)
|
2020-06-09 17:24:48 -04:00 |
|
Evan You
|
5f15d9aa4b
|
fix(compiler-ssr): should escape template string interpolation chars in generated code
|
2020-05-26 14:38:24 -04:00 |
|
Evan You
|
dd2bfb5a8f
|
fix(compiler-dom): should bail stringification on runtime constant regardless of position
ref: vuejs/vite#157
|
2020-05-18 10:04:18 -04:00 |
|
Evan You
|
d965bb6227
|
feat: improve static content stringiciation
Now a single static vnode can contain stringified content
for multiple consecutive nodes, which greatly improves the
coverage of this optimization.
|
2020-05-16 21:30:16 -04:00 |
|
Evan You
|
baa6973b13
|
wip(compiler): tests for new stringification
|
2020-05-15 15:50:42 -04:00 |
|
Evan You
|
cb9444807e
|
wip(compiler): improve node stringification to support adjacent nodes
|
2020-05-15 12:58:44 -04:00 |
|
Evan You
|
c2f3ee4dc0
|
chore: use jsdoc comments in ast
|
2020-05-15 11:00:07 -04:00 |
|
Evan You
|
e58beecc97
|
refactor(compiler/types): convert compiler options documentation to jsdoc
BREAKING CHANGE: `getTextMode` compiler option signature has changed from
```ts
(tag: string, ns: string, parent: ElementNode | undefined) => TextModes
```
to
```ts
(node: ElementNode, parent: ElementNode | undefined) => TextModes
```
|
2020-05-07 11:01:36 -04:00 |
|
Evan You
|
675330ba54
|
fix(compiler): warn against v-bind with empty attribute value
ref: https://github.com/vuejs/vue-next/issues/1128#issuecomment-624647434
|
2020-05-07 10:32:54 -04:00 |
|
Evan You
|
f9a3766fd6
|
fix(compiler): bail strigification on runtime constant expressions
|
2020-05-04 15:15:26 -04:00 |
|
HiiTea
|
f0d52d5428
|
chore: code comment formatting (#1089) [ci skip]
|
2020-05-01 18:48:44 -04:00 |
|
Evan You
|
c5e7d8b532
|
fix(compiler-core): hoist pure annotations should apply to all nested calls
|
2020-05-01 18:36:34 -04:00 |
|
Evan You
|
cad25d95a3
|
fix(compiler-core): hoisted vnode calls and scoped id calls should be marked pure
Otherwise they cannot be tree-shaken
|
2020-05-01 17:34:11 -04:00 |
|
HiiTea
|
22717772dd
|
chore: fix typos (#1090)
|
2020-05-01 09:42:58 -04:00 |
|
Evan You
|
bd0f7da2c6
|
build: add browser builds for @vue/compiler-sfc
|
2020-04-26 01:24:25 -04:00 |
|
underfin
|
2b19965bcf
|
fix(slots): compiled slot fallback should be functions (#1030)
This avoids it being collected as dynamic children when it's not used.
fix #1021
|
2020-04-22 16:52:41 -04:00 |
|
Evan You
|
7d0ab3392a
|
fix(compiler-core): dynamic component should always be made blocks
since it can potentially resolve to plain elements
fix #1018
|
2020-04-22 14:45:00 -04:00 |
|
Evan You
|
1068212cb2
|
chore: run prettier
|
2020-04-15 10:51:07 -04:00 |
|