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
32b3f78a36
release: v3.0.0-beta.14
2020-05-18 14:42:11 -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
449fd05ad6
release: v3.0.0-beta.13
2020-05-16 21:53:47 -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
3c88299f6a
release: v3.0.0-beta.12
2020-05-11 15:52:37 -04:00
Evan You
7887c54dfe
release: v3.0.0-beta.11
2020-05-11 14:25:36 -04:00
Evan You
13acb9134e
release: v3.0.0-beta.10
2020-05-07 11:21:18 -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
c32ed52b97
release: v3.0.0-beta.9
2020-05-04 17:14:42 -04:00
Evan You
f9a3766fd6
fix(compiler): bail strigification on runtime constant expressions
2020-05-04 15:15:26 -04:00
Evan You
3c3fe88c64
release: v3.0.0-beta.8
2020-05-04 10:49:23 -04:00
Evan You
0dc44a6a86
release: v3.0.0-beta.7
2020-05-02 17:06:16 -04:00
Evan You
b570287dfe
release: v3.0.0-beta.6
2020-05-01 18:56:53 -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
c9bf7ded2e
refactor(types): mark internal API exports and exclude from d.ts
...
BREAKING CHANGE: Internal APIs are now excluded from type decalrations.
2020-04-30 17:04:35 -04:00
Evan You
a5bb1d02b7
release: v3.0.0-beta.5
2020-04-30 16:20:25 -04:00
Evan You
bd0f7da2c6
build: add browser builds for @vue/compiler-sfc
2020-04-26 01:24:25 -04:00
Evan You
d29aefcf99
release: v3.0.0-beta.4
2020-04-24 16:20:20 -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
7d858a9001
test(compiler-core): test dynamic component block
2020-04-22 14:47:31 -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
6fefeafe98
release: v3.0.0-beta.3
2020-04-20 17:00:26 -04:00
Evan You
c1a85cb124
release: v3.0.0-beta.2
2020-04-17 11:01:01 -04:00
扩散性百万甜面包
70c8c58be2
test(compiler-core): expect onError to be called ( #976 )
2020-04-17 08:58:38 -04:00
Evan You
ca6912554c
release: v3.0.0-beta.1
2020-04-16 15:45:04 -04:00
Evan You
11654a6e50
release: v3.0.0-alpha.13
2020-04-15 12:46:26 -04:00
Evan You
1068212cb2
chore: run prettier
2020-04-15 10:51:07 -04:00
Evan You
a6e2b1052a
fix(compiler-core): should not generate CLASS/STYLE patch flags on components
...
ref #677
2020-04-10 10:19:26 -04:00
Evan You
1d9f8fc979
release: v3.0.0-alpha.12
2020-04-08 18:59:49 -04:00
Evan You
1f6e72b110
fix(compiler): support full range of entity decoding in browser builds
...
BREAKING CHANGE: compiler options have been adjusted.
- new option `decodeEntities` is added.
- `namedCharacterReferences` option has been removed.
- `maxCRNameLength` option has been rmeoved.
2020-04-08 18:51:25 -04:00
Evan You
8c17535a47
fix(compiler): should not condense
...
fix #945
2020-04-08 17:33:07 -04:00
Evan You
be666ebd59
fix(compiler): should only strip leading newline directly in pre tag
2020-04-08 16:44:32 -04:00
Evan You
d531686f91
fix(compiler-core): elements with dynamic keys should be forced into blocks
...
fix #916
2020-04-07 18:44:21 -04:00
Evan You
7402951d94
release: v3.0.0-alpha.11
2020-04-03 21:45:50 -04:00