Commit Graph

2575 Commits

Author SHA1 Message Date
Evan You
3e1cdba9db wip: tests for compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
e4df2d7749 wip: export { x as default } handling 2020-07-09 12:17:28 -04:00
Evan You
a44d53003e wip: move type declarations out of setup 2020-07-09 12:17:28 -04:00
Evan You
c0d86070fd wip: extract runtime props/emits from type declarations 2020-07-09 12:17:28 -04:00
Evan You
608885350b wip: compileScript typed signature generation 2020-07-09 12:17:28 -04:00
Evan You
a47478caf4 wip: compileScriptSetup full js support 2020-07-09 12:17:28 -04:00
Evan You
6b32d16471 chore(template-explorer): tweak theme 2020-07-09 12:17:28 -04:00
Evan You
1359cc3a28 wip: compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
1ad3f975ed wip: parser support for script setup 2020-07-09 12:17:28 -04:00
dependabot-preview[bot]
23b0d5adc0
build(deps-dev): bump @microsoft/api-extractor from 7.9.1 to 7.9.2 (#1551) 2020-07-09 08:48:26 +00:00
dependabot-preview[bot]
3c35937308
build(deps-dev): bump lodash from 4.17.15 to 4.17.19 (#1550) 2020-07-09 08:46:51 +00:00
Evan You
20df2f3817 release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
Evan You
5e52f4e4d7 fix(compiler-dom): should ignore and warn side effect tags like script and style
This keeps behavior consistency with v2.
2020-07-08 12:32:07 -04:00
Evan You
903e8f697e fix(runtime-core): should allow v-model listeners to fallthrough, but ignore for warning
fix #1543
2020-07-08 11:56:47 -04:00
Carlos Rodrigues
1e90605c15
types(runtime-core): provide valid type for default $emit (#1498) 2020-07-08 11:51:03 -04:00
dependabot-preview[bot]
f0394e2a61
build(deps-dev): bump rollup from 2.20.0 to 2.21.0 (#1545)
Bumps [rollup](https://github.com/rollup/rollup) from 2.20.0 to 2.21.0.
- [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/v2.20.0...v2.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-08 11:49:32 -04:00
meteorlxy
220db9bcda
feat(types): expose WritableComputedRef (#1500) 2020-07-08 11:49:07 -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
00f6031fbf test: assert vnode invalid key warning for NaN 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
dependabot-preview[bot]
9b04ea3324
build(deps-dev): bump execa from 4.0.2 to 4.0.3 (#1544) 2020-07-08 08:18:05 +00:00
Evan You
fe9e227ae4 types: adjust resolveDynamicComponent return type 2020-07-07 12:43:05 -04:00
Evan You
d5ab70ba66 release: v3.0.0-beta.19 2020-07-07 10:04:31 -04:00
dependabot-preview[bot]
b1a254c57f
build(deps-dev): bump rollup from 2.19.0 to 2.20.0 (#1537) 2020-07-07 10:42:23 +00:00
dependabot-preview[bot]
82a640f0b0
build(deps-dev): bump @types/jest from 26.0.3 to 26.0.4 (#1536) 2020-07-07 10:41:50 +00:00
dependabot-preview[bot]
e3bcffc2ef
build(deps-dev): bump @typescript-eslint/parser from 3.5.0 to 3.6.0 (#1535) 2020-07-07 10:39:57 +00:00
wonderful-panda
a5b4332c69
fix(types/tsx): add JSX.IntrinsicAttributes definition (#1517)
fix #1516
2020-07-06 21:59:26 -04:00
Evan You
58b07069ad fix(watch): stop instance-bound watchers in post render queue
so that changes triggered in beforeUnmount get correct value in callback

fix #1525
2020-07-06 21:50:56 -04:00
Evan You
41db49dfb7 fix(ssr): support dynamic components that resolve to element or vnode
fix #1508
2020-07-06 21:23:35 -04:00
Evan You
d7184c99e6 refactor(types): add VNode to VNodeTypes 2020-07-06 21:12:15 -04:00
Evan You
9ee85a3783 chore: fix unintended import 2020-07-06 20:41:38 -04:00
underfin
425335c28b
fix(v-model): consistent nullish value handling with 2.x (#1530)
fix #1528
2020-07-06 19:02:33 -04:00
Evan You
441c23602f fix(runtime-dom): should set <input list="..."> as attribute
fix #1526
2020-07-06 19:01:33 -04:00
Evan You
31e37b417b chore: warn NaN vnode key 2020-07-06 18:56:21 -04:00
Evan You
d86b01ba3a fix(keep-alive): fix keep-alive with scopeId/fallthrough attrs
fix #1511
2020-07-06 18:17:40 -04:00
Evan You
6dd59ee301 fix(v-model): should ignore compiled v-model listeners in attr fallthrough
fix #1510
2020-07-06 17:00:34 -04:00
djy0
77538ec6d9
fix(runtime-dom/style): fix patchStyle on falsy next value (#1504)
fix #1506
2020-07-06 16:45:15 -04:00
Evan You
36b6b4f022 fix(runtime-core/template-ref): template ref used in the same template should trigger update
fix #1505
2020-07-06 16:40:00 -04: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
Pick
4f6460a71f
chore(reactivity): remove unused comment (#1485) [ci skip] 2020-07-06 15:57:54 -04:00
dependabot-preview[bot]
286c5b1dc9
build(deps): bump csstype from 2.6.10 to 2.6.11 (#1487)
Bumps [csstype](https://github.com/frenic/csstype) from 2.6.10 to 2.6.11.
- [Release notes](https://github.com/frenic/csstype/releases)
- [Commits](https://github.com/frenic/csstype/compare/v2.6.10...v2.6.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-06 15:57:11 -04:00
dependabot-preview[bot]
c342cc10ba
build(deps-dev): bump rollup from 2.18.2 to 2.19.0 (#1522)
Bumps [rollup](https://github.com/rollup/rollup) from 2.18.2 to 2.19.0.
- [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/v2.18.2...v2.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-06 15:56:58 -04:00
dependabot-preview[bot]
ecf7420095
build(deps-dev): bump @microsoft/api-extractor from 7.9.0 to 7.9.1 (#1524) 2020-07-06 09:00:46 +00:00
dependabot-preview[bot]
ffcb717500
build(deps-dev): bump eslint from 7.3.1 to 7.4.0 (#1523) 2020-07-06 08:58:46 +00:00
Anton Petrov
7b307f3116
chore: fix link in readme (#1501) 2020-07-04 10:11:54 +02:00
Evan You
61be60fd4b chore: update jsx status [ci skip] 2020-07-03 09:30:45 -04:00
dependabot-preview[bot]
8d6bb4f7f6
build(deps-dev): bump @microsoft/api-extractor from 7.8.15 to 7.9.0 (#1497) 2020-07-03 08:57:29 +00:00
dependabot-preview[bot]
6de8bb6adc
build(deps-dev): bump enquirer from 2.3.5 to 2.3.6 (#1496) 2020-07-03 08:53:29 +00:00
dependabot-preview[bot]
d869cf1bd1
build(deps-dev): bump @ls-lint/ls-lint from 1.8.1 to 1.9.0 (#1495) 2020-07-03 08:49:09 +00:00