]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Wed, 15 Jul 2020 20:00:53 +0000 (16:00 -0400)]
refactor(compiler-sfc): move sfc parse errors into return result
Also warn against `<script setup src>` usage
Evan You [Wed, 15 Jul 2020 16:43:41 +0000 (12:43 -0400)]
release: v3.0.0-beta.22
cexbrayat [Wed, 15 Jul 2020 15:09:33 +0000 (17:09 +0200)]
fix(compiler-sfc): `<script setup>` warning
The warning was showing even if the component is only using a classic `<script>`
Evan You [Wed, 15 Jul 2020 16:26:44 +0000 (12:26 -0400)]
fix(hmr): fix hmr updates for reused hoisted trees
fix https://github.com/vitejs/vite/issues/514
Evan You [Wed, 15 Jul 2020 14:47:57 +0000 (10:47 -0400)]
build: clear ts plugin cache before building for release
ref: #1591
Evan You [Wed, 15 Jul 2020 14:38:45 +0000 (10:38 -0400)]
test: improve coverage
Evan You [Wed, 15 Jul 2020 14:10:38 +0000 (10:10 -0400)]
test: fix fragment unkeyed fragment test flag
Jacob Müller [Wed, 15 Jul 2020 13:37:51 +0000 (15:37 +0200)]
fix(v-model): handle more edge cases in `looseEqual()` (#379)
春去春又来 [Wed, 15 Jul 2020 13:34:23 +0000 (21:34 +0800)]
test(runtime-core): add test for rendererComponent (#1393)
Pick [Wed, 15 Jul 2020 13:27:21 +0000 (21:27 +0800)]
feat(types/reactivity): use `DeepReadonly` type for `readonly` return type (#1462)
close #1452
underfin [Wed, 15 Jul 2020 13:24:16 +0000 (21:24 +0800)]
fix(runtime-core): do not call transition enter hooks when mounting in suspense (#1588)
fix #1583
HcySunYang [Wed, 15 Jul 2020 13:21:40 +0000 (21:21 +0800)]
fix(compiler-core): generate incremental keys for v-if/else-if/else chains (#1589)
fix #1587
dependabot-preview[bot] [Wed, 15 Jul 2020 13:19:50 +0000 (09:19 -0400)]
build(deps): bump @babel/parser from 7.10.4 to 7.10.5 (#1586)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-parser)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Wed, 15 Jul 2020 13:19:31 +0000 (09:19 -0400)]
build(deps): bump @babel/types from 7.10.4 to 7.10.5 (#1585)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-types)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Carlos Rodrigues [Wed, 15 Jul 2020 13:19:20 +0000 (14:19 +0100)]
types(runtime-core): default `SetupContext` generic argument to `EmitsOptions` (#1584)
Evan You [Tue, 14 Jul 2020 21:18:07 +0000 (17:18 -0400)]
release: v3.0.0-beta.21
Evan You [Tue, 14 Jul 2020 21:07:36 +0000 (17:07 -0400)]
chore: fix types
underfin [Tue, 14 Jul 2020 21:06:39 +0000 (05:06 +0800)]
fix(runtime-core): avoid scopeId as attr for slot nodes with same scopeId (#1561)
fix vitejs/vite#536
Pick [Tue, 14 Jul 2020 20:33:30 +0000 (04:33 +0800)]
refactor(types): improve code readability & friendly to type hints (#1560)
Evan You [Tue, 14 Jul 2020 20:25:21 +0000 (16:25 -0400)]
fix(runtime-dom): remove attrs with nullish values
fix #1576
Evan You [Tue, 14 Jul 2020 17:20:59 +0000 (13:20 -0400)]
refactor: adjust event options handling to be JSX friendly
dependabot-preview[bot] [Tue, 14 Jul 2020 16:01:06 +0000 (16:01 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.6.0 to 3.6.1 (#1581)
dependabot-preview[bot] [Tue, 14 Jul 2020 15:59:53 +0000 (15:59 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 13.0.1 to 13.0.2 (#1580)
dependabot-preview[bot] [Tue, 14 Jul 2020 15:58:48 +0000 (15:58 +0000)]
build(deps-dev): bump ts-jest from 26.1.1 to 26.1.2 (#1579)
Evan You [Tue, 14 Jul 2020 15:48:05 +0000 (11:48 -0400)]
fix(v-on): refactor DOM event options modifer handling
fix #1567
Previously multiple `v-on` handlers with different event attach option
modifers (`.once`, `.capture` and `.passive`) are generated as an array
of objects in the form of `[{ handler, options }]` - however, this
makes it pretty complex for `runtime-dom` to properly handle all
possible value permutations, as each handler may need to be attached
with different options.
With this commit, they are now generated as event props with different
keys - e.g. `v-on:click.capture` is now generated as a prop named
`onClick.capture`. This allows them to be patched as separate props
which makes the runtime handling much simpler.
Evan You [Mon, 13 Jul 2020 21:36:46 +0000 (17:36 -0400)]
fix(v-on): capitalize dynamic event names
Evan You [Mon, 13 Jul 2020 20:48:16 +0000 (16:48 -0400)]
refactor(compiler): extract isStaticExp util
Evan You [Mon, 13 Jul 2020 18:49:54 +0000 (14:49 -0400)]
fix(runtime-dom/v-on): only block event handlers based on attach timestamp
fix #1565
Evan You [Mon, 13 Jul 2020 18:00:08 +0000 (14:00 -0400)]
fix(compiler-dom): fix v-on .left .right modifier handling
dependabot-preview[bot] [Mon, 13 Jul 2020 16:45:46 +0000 (16:45 +0000)]
build(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0 (#1572)
Pick [Mon, 13 Jul 2020 16:44:37 +0000 (00:44 +0800)]
types(runtime-core): adjust Renderer's type declaration (#1566)
chore: format changelog (#1549) [ci skip]
Evan You [Mon, 13 Jul 2020 16:36:41 +0000 (12:36 -0400)]
fix(slots): differentiate dynamic/static compiled slots
fix #1557
Evan You [Mon, 13 Jul 2020 15:55:46 +0000 (11:55 -0400)]
fix(runtime-core/emits): merge emits options from mixins/extends
fix #1562
dependabot-preview[bot] [Mon, 13 Jul 2020 08:34:09 +0000 (08:34 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 13.0.1 (#1573)
Evan You [Sun, 12 Jul 2020 22:04:09 +0000 (18:04 -0400)]
feat: ssr support for `<style vars>`
Evan You [Sat, 11 Jul 2020 02:12:25 +0000 (22:12 -0400)]
wip: template binding optimization
Evan You [Sat, 11 Jul 2020 00:43:52 +0000 (20:43 -0400)]
refactor: rename optimizeBindings -> optimizeImports
Evan You [Fri, 10 Jul 2020 22:47:31 +0000 (18:47 -0400)]
refactor: shorten scoped css var / animation prefix
Evan You [Fri, 10 Jul 2020 22:04:44 +0000 (18:04 -0400)]
types: fix jsx type collision with generated type after concatenation
Evan You [Fri, 10 Jul 2020 22:00:13 +0000 (18:00 -0400)]
feat(compiler-sfc): `<script setup>` support (experimental)
This is the last commit for the feature which adds async/await detection.
Evan You [Fri, 10 Jul 2020 21:10:48 +0000 (17:10 -0400)]
refactor: only rewrite css varaiable in `<style scoped>` when vars is present
Evan You [Fri, 10 Jul 2020 20:47:36 +0000 (16:47 -0400)]
feat(compiler-sfc): allow using :deep, :global & :slotted for short in `<style scoped>`
Evan You [Fri, 10 Jul 2020 20:30:58 +0000 (16:30 -0400)]
feat(compiler-sfc): `<style vars>` CSS variable injection
Evan You [Fri, 10 Jul 2020 14:19:16 +0000 (10:19 -0400)]
refactor: adjust useCSSVars scoped usage
Evan You [Fri, 10 Jul 2020 13:44:00 +0000 (09:44 -0400)]
test: tests for useCSSVars
Evan You [Fri, 10 Jul 2020 03:06:11 +0000 (23:06 -0400)]
wip: fix tests
Evan You [Thu, 9 Jul 2020 22:18:46 +0000 (18:18 -0400)]
refactor: simplify sfc script transform usage
Evan You [Thu, 9 Jul 2020 20:25:29 +0000 (16:25 -0400)]
feat(runtime-dom): useCssVars
Evan You [Thu, 9 Jul 2020 16:16:08 +0000 (12:16 -0400)]
wip: test for runtime props/emits extraction
Evan You [Thu, 9 Jul 2020 15:55:04 +0000 (11:55 -0400)]
wip: generate runtime prop type checks in dev
Evan You [Thu, 9 Jul 2020 01:11:57 +0000 (21:11 -0400)]
wip: tests for compileScriptSetup
Evan You [Wed, 8 Jul 2020 21:21:39 +0000 (17:21 -0400)]
wip: export { x as default } handling
Evan You [Wed, 8 Jul 2020 13:45:01 +0000 (09:45 -0400)]
wip: move type declarations out of setup
Evan You [Wed, 8 Jul 2020 00:23:53 +0000 (20:23 -0400)]
wip: extract runtime props/emits from type declarations
Evan You [Tue, 7 Jul 2020 23:47:16 +0000 (19:47 -0400)]
wip: compileScript typed signature generation
Evan You [Tue, 7 Jul 2020 21:54:01 +0000 (17:54 -0400)]
wip: compileScriptSetup full js support
Evan You [Tue, 7 Jul 2020 16:41:01 +0000 (12:41 -0400)]
chore(template-explorer): tweak theme
Evan You [Mon, 6 Jul 2020 19:56:24 +0000 (15:56 -0400)]
wip: compileScriptSetup
Evan You [Fri, 3 Jul 2020 19:08:41 +0000 (15:08 -0400)]
wip: parser support for script setup
dependabot-preview[bot] [Thu, 9 Jul 2020 08:48:26 +0000 (08:48 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.1 to 7.9.2 (#1551)
dependabot-preview[bot] [Thu, 9 Jul 2020 08:46:51 +0000 (08:46 +0000)]
build(deps-dev): bump lodash from 4.17.15 to 4.17.19 (#1550)
Evan You [Wed, 8 Jul 2020 16:45:30 +0000 (12:45 -0400)]
release: v3.0.0-beta.20
Evan You [Wed, 8 Jul 2020 16:32:07 +0000 (12:32 -0400)]
fix(compiler-dom): should ignore and warn side effect tags like script and style
This keeps behavior consistency with v2.
Evan You [Wed, 8 Jul 2020 15:56:47 +0000 (11:56 -0400)]
fix(runtime-core): should allow v-model listeners to fallthrough, but ignore for warning
fix #1543
Carlos Rodrigues [Wed, 8 Jul 2020 15:51:03 +0000 (16:51 +0100)]
types(runtime-core): provide valid type for default `$emit` (#1498)
dependabot-preview[bot] [Wed, 8 Jul 2020 15:49:32 +0000 (11:49 -0400)]
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>
meteorlxy [Wed, 8 Jul 2020 15:49:07 +0000 (23:49 +0800)]
feat(types): expose WritableComputedRef (#1500)
Evan You [Wed, 8 Jul 2020 15:48:02 +0000 (11:48 -0400)]
fix(compiler-core/v-on): bail caching for member expression handlers on components
to preserve correct arity when it is passed down.
fix #1541
Evan You [Wed, 8 Jul 2020 15:47:01 +0000 (11:47 -0400)]
test: assert vnode invalid key warning for NaN
Evan You [Wed, 8 Jul 2020 15:36:31 +0000 (11:36 -0400)]
refactor(compiler-core): remove unnecessary arg in cached handler codegen
Felix Rilling [Wed, 8 Jul 2020 10:32:42 +0000 (12:32 +0200)]
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.
dependabot-preview[bot] [Wed, 8 Jul 2020 08:18:05 +0000 (08:18 +0000)]
build(deps-dev): bump execa from 4.0.2 to 4.0.3 (#1544)
Evan You [Tue, 7 Jul 2020 16:43:05 +0000 (12:43 -0400)]
types: adjust resolveDynamicComponent return type
Evan You [Tue, 7 Jul 2020 14:04:31 +0000 (10:04 -0400)]
release: v3.0.0-beta.19
dependabot-preview[bot] [Tue, 7 Jul 2020 10:42:23 +0000 (10:42 +0000)]
build(deps-dev): bump rollup from 2.19.0 to 2.20.0 (#1537)
dependabot-preview[bot] [Tue, 7 Jul 2020 10:41:50 +0000 (10:41 +0000)]
build(deps-dev): bump @types/jest from 26.0.3 to 26.0.4 (#1536)
dependabot-preview[bot] [Tue, 7 Jul 2020 10:39:57 +0000 (10:39 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.5.0 to 3.6.0 (#1535)
wonderful-panda [Tue, 7 Jul 2020 01:59:26 +0000 (10:59 +0900)]
fix(types/tsx): add JSX.IntrinsicAttributes definition (#1517)
fix #1516
Evan You [Tue, 7 Jul 2020 01:50:56 +0000 (21:50 -0400)]
fix(watch): stop instance-bound watchers in post render queue
so that changes triggered in beforeUnmount get correct value in callback
fix #1525
Evan You [Tue, 7 Jul 2020 01:23:29 +0000 (21:23 -0400)]
fix(ssr): support dynamic components that resolve to element or vnode
fix #1508
Evan You [Tue, 7 Jul 2020 01:12:15 +0000 (21:12 -0400)]
refactor(types): add VNode to VNodeTypes
Evan You [Tue, 7 Jul 2020 00:41:38 +0000 (20:41 -0400)]
chore: fix unintended import
underfin [Mon, 6 Jul 2020 23:02:33 +0000 (07:02 +0800)]
fix(v-model): consistent nullish value handling with 2.x (#1530)
fix #1528
Evan You [Mon, 6 Jul 2020 23:00:53 +0000 (19:00 -0400)]
fix(runtime-dom): should set `<input list="...">` as attribute
fix #1526
Evan You [Mon, 6 Jul 2020 22:33:13 +0000 (18:33 -0400)]
chore: warn NaN vnode key
Evan You [Mon, 6 Jul 2020 22:12:16 +0000 (18:12 -0400)]
fix(keep-alive): fix keep-alive with scopeId/fallthrough attrs
fix #1511
Evan You [Mon, 6 Jul 2020 20:58:46 +0000 (16:58 -0400)]
fix(v-model): should ignore compiled v-model listeners in attr fallthrough
fix #1510
djy0 [Mon, 6 Jul 2020 20:45:15 +0000 (04:45 +0800)]
fix(runtime-dom/style): fix patchStyle on falsy next value (#1504)
fix #1506
Evan You [Mon, 6 Jul 2020 20:40:00 +0000 (16:40 -0400)]
fix(runtime-core/template-ref): template ref used in the same template should trigger update
fix #1505
Jack Robertson [Mon, 6 Jul 2020 20:00:26 +0000 (21:00 +0100)]
fix(compiler-core): add `\r` to accepted chars after end tag name (#1515)
fix #1476
Pick [Mon, 6 Jul 2020 19:57:54 +0000 (03:57 +0800)]
chore(reactivity): remove unused comment (#1485) [ci skip]
dependabot-preview[bot] [Mon, 6 Jul 2020 19:57:11 +0000 (15:57 -0400)]
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>
dependabot-preview[bot] [Mon, 6 Jul 2020 19:56:58 +0000 (15:56 -0400)]
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>
dependabot-preview[bot] [Mon, 6 Jul 2020 09:00:46 +0000 (09:00 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.0 to 7.9.1 (#1524)
dependabot-preview[bot] [Mon, 6 Jul 2020 08:58:46 +0000 (08:58 +0000)]
build(deps-dev): bump eslint from 7.3.1 to 7.4.0 (#1523)
Anton Petrov [Sat, 4 Jul 2020 08:11:54 +0000 (12:11 +0400)]
chore: fix link in readme (#1501)
Evan You [Fri, 3 Jul 2020 13:17:51 +0000 (09:17 -0400)]
chore: update jsx status [ci skip]
dependabot-preview[bot] [Fri, 3 Jul 2020 08:57:29 +0000 (08:57 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.8.15 to 7.9.0 (#1497)
dependabot-preview[bot] [Fri, 3 Jul 2020 08:53:29 +0000 (08:53 +0000)]
build(deps-dev): bump enquirer from 2.3.5 to 2.3.6 (#1496)