]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
5 years agofeat: provide ability to overwrite feature flags in esm-bundler builds
Evan You [Tue, 21 Jul 2020 01:51:30 +0000 (21:51 -0400)] 
feat: provide ability to overwrite feature flags in esm-bundler builds

e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.

This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.

5 years agofeat(computed): add readonly flag if no setter is provided (#1654)
Carlos Rodrigues [Mon, 20 Jul 2020 21:35:31 +0000 (22:35 +0100)] 
feat(computed): add readonly flag if no setter is provided (#1654)

5 years agofix(build): make transition tree-shakeable again
Evan You [Mon, 20 Jul 2020 20:13:41 +0000 (16:13 -0400)] 
fix(build): make transition tree-shakeable again

5 years agofix(compiler-sfc): use correct importer with `useCssVars` (#1658)
underfin [Mon, 20 Jul 2020 16:46:33 +0000 (00:46 +0800)] 
fix(compiler-sfc): use correct importer with `useCssVars` (#1658)

fix #https://github.com/vitejs/vite/issues/578

5 years agochore(compiler-sfc): delete empty file in fixture (#1649)
Liaogming [Mon, 20 Jul 2020 16:43:58 +0000 (00:43 +0800)] 
chore(compiler-sfc): delete empty file in fixture (#1649)

5 years agofix(watch): fix watching reactive array (#1656)
Tan Li Hau [Mon, 20 Jul 2020 16:39:22 +0000 (00:39 +0800)] 
fix(watch): fix watching reactive array (#1656)

fixes #1655

5 years agobuild(deps-dev): bump @types/jest from 26.0.4 to 26.0.5 (#1653)
dependabot-preview[bot] [Mon, 20 Jul 2020 09:25:11 +0000 (09:25 +0000)] 
build(deps-dev): bump @types/jest from 26.0.4 to 26.0.5 (#1653)

5 years agobuild(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#1652)
dependabot-preview[bot] [Mon, 20 Jul 2020 09:23:13 +0000 (09:23 +0000)] 
build(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#1652)

5 years agobuild(deps-dev): bump rollup from 2.21.0 to 2.22.1 (#1651)
dependabot-preview[bot] [Mon, 20 Jul 2020 09:21:23 +0000 (09:21 +0000)] 
build(deps-dev): bump rollup from 2.21.0 to 2.22.1 (#1651)

5 years agorelease: v3.0.0-rc.2 v3.0.0-rc.2
Evan You [Sun, 19 Jul 2020 18:52:42 +0000 (14:52 -0400)] 
release: v3.0.0-rc.2

5 years agofix(compiler-core): fix v-if + v-for on `<template>`
Evan You [Sun, 19 Jul 2020 18:36:01 +0000 (14:36 -0400)] 
fix(compiler-core): fix v-if + v-for on `<template>`

fix #1637

5 years agofix(compiler-sfc): use `filename` from options when compile styl preprocessor (#1635)
underfin [Sun, 19 Jul 2020 18:17:31 +0000 (02:17 +0800)] 
fix(compiler-sfc): use `filename` from options when compile styl preprocessor (#1635)

fix #https://github.com/vitejs/vite/issues/577

5 years agorefactor(types): move component props interfaces + expose `AllowedComponentProps`
Evan You [Sun, 19 Jul 2020 18:09:37 +0000 (14:09 -0400)] 
refactor(types): move component props interfaces + expose `AllowedComponentProps`

fix #1632

5 years agofix(keep-alive): handle "0" as cache key (#1622)
zhangzhonghe [Sun, 19 Jul 2020 17:31:07 +0000 (01:31 +0800)] 
fix(keep-alive):  handle "0" as cache key (#1622)

fix #1621

5 years agofix(watch): callback not called when using `flush:sync` (#1633)
Carlos Rodrigues [Sun, 19 Jul 2020 17:30:24 +0000 (18:30 +0100)] 
fix(watch): callback not called when using `flush:sync` (#1633)

5 years agofix(runtime-core/hmr): only use cloneNode mount optimization in prod
Evan You [Sun, 19 Jul 2020 17:22:58 +0000 (13:22 -0400)] 
fix(runtime-core/hmr): only use cloneNode mount optimization in prod

fix #1626

5 years agochore: more detailed teleport target warning
Evan You [Sun, 19 Jul 2020 15:52:03 +0000 (11:52 -0400)] 
chore: more detailed teleport target warning

close #1629

5 years agofix(compiler-core/v-on): fix codegen for event handler with newlines (#1640)
HcySunYang [Sun, 19 Jul 2020 15:48:26 +0000 (23:48 +0800)] 
fix(compiler-core/v-on): fix codegen for event handler with newlines (#1640)

5 years agochore(types): convert type literals to records (#1615)
Stanislav [Sun, 19 Jul 2020 02:56:28 +0000 (05:56 +0300)] 
chore(types): convert type literals to records (#1615)

5 years agotest(runtime-dom): improve v-on system key modifiers test (#1597)
motao [Sun, 19 Jul 2020 02:55:39 +0000 (10:55 +0800)] 
test(runtime-dom): improve v-on system key modifiers test (#1597)

5 years agochore: changelog formatting [ci skip] (#1616)
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ [Sun, 19 Jul 2020 02:50:34 +0000 (08:20 +0530)] 
chore: changelog formatting [ci skip] (#1616)

5 years agorelease: v3.0.0-rc.1 v3.0.0-rc.1
Evan You [Fri, 17 Jul 2020 19:30:17 +0000 (15:30 -0400)] 
release: v3.0.0-rc.1

5 years agochore: update devtools status [ci skip]
Evan You [Fri, 17 Jul 2020 18:07:33 +0000 (14:07 -0400)] 
chore: update devtools status [ci skip]

5 years agofeat(types): deny unknown attributes on component by default (#1614)
HcySunYang [Fri, 17 Jul 2020 15:43:28 +0000 (23:43 +0800)] 
feat(types): deny unknown attributes on component by default (#1614)

close #1519

5 years agobuild(deps-dev): bump ts-jest from 26.1.2 to 26.1.3 (#1610)
dependabot-preview[bot] [Fri, 17 Jul 2020 15:32:43 +0000 (15:32 +0000)] 
build(deps-dev): bump ts-jest from 26.1.2 to 26.1.3 (#1610)

5 years agochore(shared): menuitem tag has been deprecated (#1613)
leyale [Fri, 17 Jul 2020 15:26:12 +0000 (23:26 +0800)] 
chore(shared): menuitem tag has been deprecated (#1613)

5 years agorefactor(devtools): extract same logic into `createDevtoolsHook` (#1608)
underfin [Fri, 17 Jul 2020 15:25:33 +0000 (23:25 +0800)] 
refactor(devtools): extract same logic into `createDevtoolsHook` (#1608)

5 years agochore: typo [ci skip] (#1604)
ezshine [Fri, 17 Jul 2020 15:24:53 +0000 (23:24 +0800)] 
chore: typo [ci skip] (#1604)

5 years agochore: better comment hovers preview [ci skip] (#1612)
lawvs [Fri, 17 Jul 2020 15:24:12 +0000 (00:24 +0900)] 
chore: better comment hovers preview [ci skip] (#1612)

5 years agofix(watch): post flush watchers should not fire when component is unmounted
Evan You [Fri, 17 Jul 2020 15:17:29 +0000 (11:17 -0400)] 
fix(watch): post flush watchers should not fire when component is unmounted

fix #1603

5 years agochore: also expose DeepReadonly in runtime-core
Evan You [Fri, 17 Jul 2020 13:29:44 +0000 (09:29 -0400)] 
chore: also expose DeepReadonly in runtime-core

5 years agofeat(types): expose DeepReadonly type (#1606)
Pick [Fri, 17 Jul 2020 13:28:50 +0000 (21:28 +0800)] 
feat(types): expose DeepReadonly type (#1606)

5 years agobuild(deps-dev): bump typescript from 3.9.6 to 3.9.7 (#1611)
dependabot-preview[bot] [Fri, 17 Jul 2020 08:14:27 +0000 (08:14 +0000)] 
build(deps-dev): bump typescript from 3.9.6 to 3.9.7 (#1611)

5 years agofeat: Initial devtools support (#1125)
Guillaume Chau [Thu, 16 Jul 2020 22:18:52 +0000 (00:18 +0200)] 
feat: Initial devtools support (#1125)

5 years agorelease: v3.0.0-beta.24 v3.0.0-beta.24
Evan You [Thu, 16 Jul 2020 17:51:52 +0000 (13:51 -0400)] 
release: v3.0.0-beta.24

5 years agorefactor(compiler-sfc): simplify style preprocessors
Evan You [Thu, 16 Jul 2020 17:38:46 +0000 (13:38 -0400)] 
refactor(compiler-sfc): simplify style preprocessors

5 years agofix(compiler-sfc): fix preprocessor filename access
Evan You [Thu, 16 Jul 2020 17:34:59 +0000 (13:34 -0400)] 
fix(compiler-sfc): fix preprocessor filename access

5 years agochore: fix error message (#1602)
Sohaib Alam [Thu, 16 Jul 2020 17:36:16 +0000 (23:06 +0530)] 
chore: fix error message (#1602)

make the error message in `compiler-dom` and `compiler-ssr` a bit
cleaner and fix grammar

5 years agorelease: v3.0.0-beta.23 v3.0.0-beta.23
Evan You [Thu, 16 Jul 2020 16:48:56 +0000 (12:48 -0400)] 
release: v3.0.0-beta.23

5 years agofeat(compiler-sfc): export dependencies for css and css preprocessors (#1278)
underfin [Thu, 16 Jul 2020 16:33:37 +0000 (00:33 +0800)] 
feat(compiler-sfc): export dependencies for css and css preprocessors (#1278)

5 years agorefactor(reactive): remove unnecessary args handling in reactiveEffect (#1593)
Zardddddd60 [Thu, 16 Jul 2020 03:19:15 +0000 (11:19 +0800)] 
refactor(reactive): remove unnecessary args handling in reactiveEffect (#1593)

5 years agochore: remove deprecated elements from dom tag config (#1596)
无忧 [Thu, 16 Jul 2020 03:16:28 +0000 (11:16 +0800)] 
chore: remove deprecated elements from dom tag config (#1596)

5 years agoperf(runtime-core): avoid duplicate postFlushCb invocation
Evan You [Thu, 16 Jul 2020 02:36:41 +0000 (22:36 -0400)] 
perf(runtime-core): avoid duplicate postFlushCb invocation

Also improve flush performance by using for loop instead of shift()

fix #1595

5 years agofix(slots): properly force update on forwarded slots
Evan You [Thu, 16 Jul 2020 00:12:49 +0000 (20:12 -0400)] 
fix(slots): properly force update on forwarded slots

fix #1594

5 years agofix(runtime-dom): unref when setting useCssVars
Evan You [Wed, 15 Jul 2020 22:31:10 +0000 (18:31 -0400)] 
fix(runtime-dom): unref when setting useCssVars

5 years agofix(compiler-sfc): fix useCssVars codegen
Evan You [Wed, 15 Jul 2020 22:05:35 +0000 (18:05 -0400)] 
fix(compiler-sfc): fix useCssVars codegen

5 years agofix(compiler-sfc): prohibit src usage for `<script setup>` + do not
Evan You [Wed, 15 Jul 2020 21:43:54 +0000 (17:43 -0400)] 
fix(compiler-sfc): prohibit src usage for `<script setup>` + do not
process non js/ts blocks in compileScript

5 years agochore: remove outdated options
Evan You [Wed, 15 Jul 2020 21:05:00 +0000 (17:05 -0400)] 
chore: remove outdated options

5 years agorefactor(compiler-sfc): adjust sfc compileScript usage
Evan You [Wed, 15 Jul 2020 20:27:21 +0000 (16:27 -0400)] 
refactor(compiler-sfc): adjust sfc compileScript usage

5 years agorefactor(compiler-sfc): move sfc parse errors into return result
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

5 years agorelease: v3.0.0-beta.22 v3.0.0-beta.22
Evan You [Wed, 15 Jul 2020 16:43:41 +0000 (12:43 -0400)] 
release: v3.0.0-beta.22

5 years agofix(compiler-sfc): `<script setup>` warning
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>`

5 years agofix(hmr): fix hmr updates for reused hoisted trees
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

5 years agobuild: clear ts plugin cache before building for release
Evan You [Wed, 15 Jul 2020 14:47:57 +0000 (10:47 -0400)] 
build: clear ts plugin cache before building for release

ref: #1591

5 years agotest: improve coverage
Evan You [Wed, 15 Jul 2020 14:38:45 +0000 (10:38 -0400)] 
test: improve coverage

5 years agotest: fix fragment unkeyed fragment test flag
Evan You [Wed, 15 Jul 2020 14:10:38 +0000 (10:10 -0400)] 
test: fix fragment unkeyed fragment test flag

5 years agofix(v-model): handle more edge cases in `looseEqual()` (#379)
Jacob Müller [Wed, 15 Jul 2020 13:37:51 +0000 (15:37 +0200)] 
fix(v-model): handle more edge cases in `looseEqual()` (#379)

5 years agotest(runtime-core): add test for rendererComponent (#1393)
春去春又来 [Wed, 15 Jul 2020 13:34:23 +0000 (21:34 +0800)] 
test(runtime-core): add test for rendererComponent (#1393)

5 years agofeat(types/reactivity): use `DeepReadonly` type for `readonly` return type (#1462)
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

5 years agofix(runtime-core): do not call transition enter hooks when mounting in suspense ...
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

5 years agofix(compiler-core): generate incremental keys for v-if/else-if/else chains (#1589)
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

5 years agobuild(deps): bump @babel/parser from 7.10.4 to 7.10.5 (#1586)
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>
5 years agobuild(deps): bump @babel/types from 7.10.4 to 7.10.5 (#1585)
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>
5 years agotypes(runtime-core): default `SetupContext` generic argument to `EmitsOptions` (...
Carlos Rodrigues [Wed, 15 Jul 2020 13:19:20 +0000 (14:19 +0100)] 
types(runtime-core): default `SetupContext` generic argument to `EmitsOptions` (#1584)

5 years agorelease: v3.0.0-beta.21 v3.0.0-beta.21
Evan You [Tue, 14 Jul 2020 21:18:07 +0000 (17:18 -0400)] 
release: v3.0.0-beta.21

5 years agochore: fix types
Evan You [Tue, 14 Jul 2020 21:07:36 +0000 (17:07 -0400)] 
chore: fix types

5 years agofix(runtime-core): avoid scopeId as attr for slot nodes with same scopeId (#1561)
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

5 years agorefactor(types): improve code readability & friendly to type hints (#1560)
Pick [Tue, 14 Jul 2020 20:33:30 +0000 (04:33 +0800)] 
refactor(types): improve code readability & friendly to type hints (#1560)

5 years agofix(runtime-dom): remove attrs with nullish values
Evan You [Tue, 14 Jul 2020 20:25:21 +0000 (16:25 -0400)] 
fix(runtime-dom): remove attrs with nullish values

fix #1576

5 years agorefactor: adjust event options handling to be JSX friendly
Evan You [Tue, 14 Jul 2020 17:20:59 +0000 (13:20 -0400)] 
refactor: adjust event options handling to be JSX friendly

5 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.6.0 to 3.6.1 (#1581)
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)

5 years agobuild(deps-dev): bump @rollup/plugin-commonjs from 13.0.1 to 13.0.2 (#1580)
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)

5 years agobuild(deps-dev): bump ts-jest from 26.1.1 to 26.1.2 (#1579)
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)

5 years agofix(v-on): refactor DOM event options modifer handling
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.

5 years agofix(v-on): capitalize dynamic event names
Evan You [Mon, 13 Jul 2020 21:36:46 +0000 (17:36 -0400)] 
fix(v-on): capitalize dynamic event names

5 years agorefactor(compiler): extract isStaticExp util
Evan You [Mon, 13 Jul 2020 20:48:16 +0000 (16:48 -0400)] 
refactor(compiler): extract isStaticExp util

5 years agofix(runtime-dom/v-on): only block event handlers based on attach timestamp
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

5 years agofix(compiler-dom): fix v-on .left .right modifier handling
Evan You [Mon, 13 Jul 2020 18:00:08 +0000 (14:00 -0400)] 
fix(compiler-dom): fix v-on .left .right modifier handling

5 years agobuild(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0 (#1572)
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)

5 years agotypes(runtime-core): adjust Renderer's type declaration (#1566)
Pick [Mon, 13 Jul 2020 16:44:37 +0000 (00:44 +0800)] 
types(runtime-core): adjust Renderer's type declaration (#1566)

5 years agochore: format changelog (#1549) [ci skip]
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ [Mon, 13 Jul 2020 16:43:03 +0000 (22:13 +0530)] 
chore: format changelog (#1549) [ci skip]

5 years agofix(slots): differentiate dynamic/static compiled slots
Evan You [Mon, 13 Jul 2020 16:36:41 +0000 (12:36 -0400)] 
fix(slots): differentiate dynamic/static compiled slots

fix #1557

5 years agofix(runtime-core/emits): merge emits options from mixins/extends
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

5 years agobuild(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 13.0.1 (#1573)
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)

5 years agofeat: ssr support for `<style vars>`
Evan You [Sun, 12 Jul 2020 22:04:09 +0000 (18:04 -0400)] 
feat: ssr support for `<style vars>`

5 years agowip: template binding optimization
Evan You [Sat, 11 Jul 2020 02:12:25 +0000 (22:12 -0400)] 
wip: template binding optimization

5 years agorefactor: rename optimizeBindings -> optimizeImports
Evan You [Sat, 11 Jul 2020 00:43:52 +0000 (20:43 -0400)] 
refactor: rename optimizeBindings -> optimizeImports

5 years agorefactor: shorten scoped css var / animation prefix
Evan You [Fri, 10 Jul 2020 22:47:31 +0000 (18:47 -0400)] 
refactor: shorten scoped css var / animation prefix

5 years agotypes: fix jsx type collision with generated type after concatenation
Evan You [Fri, 10 Jul 2020 22:04:44 +0000 (18:04 -0400)] 
types: fix jsx type collision with generated type after concatenation

5 years agofeat(compiler-sfc): `<script setup>` support (experimental)
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.

5 years agorefactor: only rewrite css varaiable in `<style scoped>` when vars is present
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

5 years agofeat(compiler-sfc): allow using :deep, :global & :slotted for short in `<style scoped>`
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>`

5 years agofeat(compiler-sfc): `<style vars>` CSS variable injection
Evan You [Fri, 10 Jul 2020 20:30:58 +0000 (16:30 -0400)] 
feat(compiler-sfc): `<style vars>` CSS variable injection

5 years agorefactor: adjust useCSSVars scoped usage
Evan You [Fri, 10 Jul 2020 14:19:16 +0000 (10:19 -0400)] 
refactor: adjust useCSSVars scoped usage

5 years agotest: tests for useCSSVars
Evan You [Fri, 10 Jul 2020 13:44:00 +0000 (09:44 -0400)] 
test: tests for useCSSVars

5 years agowip: fix tests
Evan You [Fri, 10 Jul 2020 03:06:11 +0000 (23:06 -0400)] 
wip: fix tests

5 years agorefactor: simplify sfc script transform usage
Evan You [Thu, 9 Jul 2020 22:18:46 +0000 (18:18 -0400)] 
refactor: simplify sfc script transform usage

5 years agofeat(runtime-dom): useCssVars
Evan You [Thu, 9 Jul 2020 20:25:29 +0000 (16:25 -0400)] 
feat(runtime-dom): useCssVars

5 years agowip: test for runtime props/emits extraction
Evan You [Thu, 9 Jul 2020 16:16:08 +0000 (12:16 -0400)] 
wip: test for runtime props/emits extraction

5 years agowip: generate runtime prop type checks in dev
Evan You [Thu, 9 Jul 2020 15:55:04 +0000 (11:55 -0400)] 
wip: generate runtime prop type checks in dev