Evan You
af57ad110f
chore: revert prettier
2019-10-22 11:53:32 -04:00
Evan You
b5886189ba
types: massive refactor
2019-10-22 11:53:32 -04:00
Evan You
522beaa766
chore: upgrade prettier
2019-10-22 11:53:32 -04:00
dependabot-preview[bot]
7421297df2
build(deps-dev): bump @microsoft/api-extractor from 7.5.1 to 7.5.2
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor-model_v7.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 06:37:38 +00:00
dependabot-preview[bot]
6f69478102
build(deps-dev): bump lerna from 3.18.1 to 3.18.2
...
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ) from 3.18.1 to 3.18.2.
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/master/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v3.18.2/core/lerna )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-22 06:36:29 +00:00
Cr
a23e03f01e
feat(apiOptions): add warning for duplicated properties declared by options ( #329 )
2019-10-21 23:47:16 -04:00
Evan You
a25b1371ab
types: improve types
2019-10-21 23:37:03 -04:00
Evan You
bc0ec27739
chore: reference link
2019-10-21 16:46:47 -04:00
Evan You
5023dff60c
feat: update svg tag list
2019-10-21 16:39:37 -04:00
Evan You
bb85aefc03
chore: move dom element config to compiler-dom
2019-10-21 16:25:16 -04:00
Evan You
052febc127
feat(compiler): convert text mixed with elements into createVNode calls
...
This ensures they are tracked as dynamic children when inside blocks.
Also guaruntees compiled vnodes always have vnode children in arrays
so that they can skip normalizeVNode safely in optimized mode.
2019-10-21 15:52:29 -04:00
Evan You
a0d570b16d
Revert "feat(compiler-core): hoist element with static ref ( #344 )"
...
Static refs still need to be tracked in dynamicChildren because unmount
also takes the fast path when dynamicChildren is present, and all refs
need to be properly unmounted.
This reverts commit 920773fc6b
.
2019-10-21 15:17:29 -04:00
likui
f85ba092ce
types: improve emit type ( #345 )
2019-10-21 14:04:42 -04:00
Jooger
67eb29f63b
refactor(errorHandlling): handle array in callWithAsyncErrorHandling ( #332 )
2019-10-21 13:59:10 -04:00
Dmitry Sharshakov
74d8c5919d
types: improve computed types ( #343 )
2019-10-21 13:57:20 -04:00
Dmitry Sharshakov
1f4937c2fd
types: use RenderFunction type ( #342 )
2019-10-21 13:44:01 -04:00
Evan You
520af9787b
perf: skip normalizeVNode in optimized mode
2019-10-21 12:24:19 -04:00
Evan You
8be578b6b6
perf: micro optimizations for vnode creation
2019-10-21 11:30:45 -04:00
Evan You
40ccbdeaac
chore: remove refs from setupContext
...
explicit refs should be preferred
2019-10-21 10:36:38 -04:00
Evan You
4abd8d29ef
chore: fix merge conflict
2019-10-21 10:33:10 -04:00
HcySunYang
920773fc6b
feat(compiler-core): hoist element with static ref ( #344 )
2019-10-21 10:29:17 -04:00
Dmitry Sharshakov
27f3c2d751
chore: fix typo ( #339 )
2019-10-21 10:04:34 -04:00
Evan You
f241c92917
chore: remove todo
2019-10-21 10:04:02 -04:00
Evan You
1b9bd6912e
perf: v-for fragments do not need to track dynamicChildren
2019-10-21 10:00:45 -04:00
HcySunYang
71f3826f99
chore: rename & property missing ( #335 )
2019-10-21 10:00:23 -04:00
dependabot-preview[bot]
65bd838cb8
build(deps-dev): bump rollup from 1.24.0 to 1.25.1
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.24.0 to 1.25.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.24.0...v1.25.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 07:04:53 +00:00
dependabot-preview[bot]
f757e3d0c8
build(deps-dev): bump @microsoft/api-extractor from 7.5.0 to 7.5.1
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 07:01:21 +00:00
dependabot-preview[bot]
403a37eefa
build(deps-dev): bump rollup-plugin-alias from 2.0.1 to 2.2.0
...
Bumps [rollup-plugin-alias](https://github.com/frostney/rollup-plugin-alias ) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/frostney/rollup-plugin-alias/releases )
- [Changelog](https://github.com/rollup/rollup-plugin-alias/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frostney/rollup-plugin-alias/compare/v2.0.1...v2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 07:01:09 +00:00
Evan You
6f9692dcdd
chore: cache isStaticNode result for missing branch
2019-10-20 17:01:01 -04:00
Evan You
869ae19c41
fix(compiler): cache handlers should be per-instance, fix hoist w/ cached handlers
2019-10-20 17:00:11 -04:00
Dmitry Sharshakov
39157f7671
chore: fix ci ( #338 )
2019-10-19 20:03:15 -04:00
Evan You
58593c4714
feat(v-on): cache handlers
2019-10-18 21:51:34 -04:00
Evan You
39ea67a2d2
chore: rename v-on guard constants
2019-10-18 16:36:42 -04:00
Evan You
e98a85f3cb
refactor: applyDirectives -> withDirectives
2019-10-18 16:35:01 -04:00
Evan You
cba34453db
refactor(v-on): avoid empty modifier guard with only key modifier
2019-10-18 16:20:45 -04:00
Evan You
d69d3bf765
fix(reactivity): revert to Reflect.get and add test cases
2019-10-18 15:31:28 -04:00
Dmitry Sharshakov
068902abec
types: fix createComponent type when using simple function ( #334 )
2019-10-18 14:58:15 -04:00
Evan You
b5194b16bf
refactor: rename vnode hooks
...
So that they can be used as @vnodeMounted="..." in templates
2019-10-18 14:54:35 -04:00
扩散性百万甜面包
3cd2f7e68e
types: fix ref unwrapping when nested inside arrays ( #331 )
2019-10-18 14:54:05 -04:00
Stanislav Lashmanov
58fcd15000
fix: add missing compiler to the full build on Windows ( #333 )
2019-10-18 13:57:13 -04:00
Dmitry Sharshakov
2238925fbe
feat(core): validate directives names ( #326 )
2019-10-18 12:34:45 -04:00
edison
60961ef5b6
perf(reactivity): optimize the performance of the canObserve
( #330 )
2019-10-18 12:11:58 -04:00
宋铄运
7f23eaf661
feat(core): support dynamic component via <component :is> ( #320 )
2019-10-18 12:09:04 -04:00
Evan You
d179918001
perf: further tweak accessCache
2019-10-17 22:29:51 -04:00
Dmitry Sharshakov
7305f693b1
refactor(runtime-core): extract promise check into shared ( #325 )
2019-10-17 15:47:26 -04:00
大江东去
bb9dca2047
test(compiler-core): add test for custom delimiter ( #315 )
2019-10-17 15:04:52 -04:00
Evan You
e3b68972d8
perf: minor tweaks
2019-10-17 15:02:15 -04:00
Evan You
4771319a15
perf(core): cache property access types on renderProxy
2019-10-17 15:02:15 -04:00
Evan You
cdee65aa1b
perf: revert to _isRef for perf
...
Benchmarking shows checking for a plain property is about 4~5x faster
than checking for a Symbol, likely because the Symbol does not fit well
into V8's hidden class model.
2019-10-17 15:02:14 -04:00
Carlos Rodrigues
6c80e13986
chore: typos [ci-skip] ( #323 )
2019-10-17 15:01:51 -04:00