]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
6 years agofeat(compiler-core/v-model): avoid patching v-model handler when possible
Evan You [Wed, 16 Oct 2019 17:56:00 +0000 (13:56 -0400)] 
feat(compiler-core/v-model): avoid patching v-model handler when possible

6 years agoperf(runtime-core): use faster diff map population (#319)
Carlos Rodrigues [Wed, 16 Oct 2019 19:34:51 +0000 (20:34 +0100)] 
perf(runtime-core): use faster diff map population (#319)

6 years agofeat(compiler-core): do not generate TEXT flag if child is constant
Evan You [Wed, 16 Oct 2019 16:00:55 +0000 (12:00 -0400)] 
feat(compiler-core): do not generate TEXT flag if child is constant

6 years agorefactor(compiler-core): avoid has call (#314)
Carlos Rodrigues [Wed, 16 Oct 2019 14:46:41 +0000 (15:46 +0100)] 
refactor(compiler-core): avoid has call (#314)

6 years agoperf(v-for): use faster array population in renderList
Evan You [Wed, 16 Oct 2019 14:42:25 +0000 (10:42 -0400)] 
perf(v-for): use faster array population in renderList

6 years agotypes: improve typing (#309)
xiaoboost [Wed, 16 Oct 2019 14:31:40 +0000 (22:31 +0800)] 
types: improve typing (#309)

6 years agotypes: improve typing (#313)
Carlos Rodrigues [Wed, 16 Oct 2019 14:15:03 +0000 (15:15 +0100)] 
types: improve typing (#313)

6 years agochore: Remove unnecessary console.log (#312)
Ruijia Tang [Wed, 16 Oct 2019 14:11:13 +0000 (22:11 +0800)] 
chore: Remove unnecessary console.log (#312)

6 years agofeat(directives): add support for function directives (#252)
Dmitry Sharshakov [Wed, 16 Oct 2019 06:12:26 +0000 (09:12 +0300)] 
feat(directives): add support for function directives (#252)

6 years agorefactor(reactivity): immediate return (#301)
Tidyzq [Wed, 16 Oct 2019 05:58:11 +0000 (13:58 +0800)] 
refactor(reactivity): immediate return (#301)

6 years agotest(compiler-dom): add test for vModel transform (#289)
likui [Wed, 16 Oct 2019 05:47:58 +0000 (13:47 +0800)] 
test(compiler-dom): add test for vModel transform (#289)

6 years agobuild: fix isBundlerESMBuild check in rollup.js
Evan You [Wed, 16 Oct 2019 02:34:14 +0000 (22:34 -0400)] 
build: fix isBundlerESMBuild check in rollup.js

6 years agorefactor: use makeMap in v-on dom transform
Evan You [Wed, 16 Oct 2019 02:29:52 +0000 (22:29 -0400)] 
refactor: use makeMap in v-on dom transform

6 years agotest: test runtime compilation error warning
Evan You [Tue, 15 Oct 2019 21:50:38 +0000 (17:50 -0400)] 
test: test runtime compilation error warning

6 years agorefactor(runtime-core): isBuiltInTag -> use makeMap instead of Set (#307)
Jian Zhang [Wed, 16 Oct 2019 02:18:55 +0000 (10:18 +0800)] 
refactor(runtime-core): isBuiltInTag -> use makeMap instead of Set (#307)

6 years agobuild(deps-dev): bump rollup from 1.23.1 to 1.24.0
dependabot-preview[bot] [Tue, 15 Oct 2019 21:45:11 +0000 (21:45 +0000)] 
build(deps-dev): bump rollup from 1.23.1 to 1.24.0

Bumps [rollup](https://github.com/rollup/rollup) from 1.23.1 to 1.24.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/v1.23.1...v1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agobuild(deps-dev): bump lerna from 3.17.0 to 3.18.0
dependabot-preview[bot] [Tue, 15 Oct 2019 21:44:38 +0000 (21:44 +0000)] 
build(deps-dev): bump lerna from 3.17.0 to 3.18.0

Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.17.0 to 3.18.0.
- [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.0/core/lerna)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agobuild(deps-dev): bump @types/jest from 24.0.18 to 24.0.19
dependabot-preview[bot] [Tue, 15 Oct 2019 21:44:13 +0000 (21:44 +0000)] 
build(deps-dev): bump @types/jest from 24.0.18 to 24.0.19

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.18 to 24.0.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agofeat: add isCustomElement option (#299)
月迷津渡 [Tue, 15 Oct 2019 21:30:47 +0000 (05:30 +0800)] 
feat: add isCustomElement option (#299)

6 years agochore: updated error message for not-found fuzzy-matching error (#303)
Ivan Sieder [Tue, 15 Oct 2019 21:13:35 +0000 (23:13 +0200)] 
chore: updated error message for not-found fuzzy-matching error (#303)

6 years agotest(runtime-dom): add test coverage for v-on runtime guards, fix "exact" guard ...
宋铄运 [Tue, 15 Oct 2019 21:08:44 +0000 (05:08 +0800)] 
test(runtime-dom): add test coverage for v-on runtime guards, fix "exact" guard (#298)

6 years agofix(compiler-core): avoid prefixing empty interpolations (#290)
HcySunYang [Tue, 15 Oct 2019 20:58:01 +0000 (04:58 +0800)] 
fix(compiler-core): avoid prefixing empty interpolations (#290)

6 years agotypes(watch): allow readonly arrays for watching multiple sources (#281)
Adam Lewkowicz [Tue, 15 Oct 2019 20:44:14 +0000 (22:44 +0200)] 
types(watch): allow readonly arrays for watching multiple sources (#281)

6 years agotypes(runtime-dom): cast to the correct eventType instead of any (#292)
Carlos Rodrigues [Tue, 15 Oct 2019 16:26:20 +0000 (17:26 +0100)] 
types(runtime-dom): cast to the correct eventType instead of any (#292)

6 years agotypes: use `Omit` instead of `Pick + Exclude` (#296)
MichealXie [Tue, 15 Oct 2019 16:24:16 +0000 (00:24 +0800)] 
types: use `Omit` instead of `Pick + Exclude` (#296)

6 years agofeat(vModel): warn if v-model is used on file input (#295)
Cr [Tue, 15 Oct 2019 16:23:38 +0000 (00:23 +0800)] 
feat(vModel): warn if v-model is used on file input (#295)

6 years agochore: use webpack-compatible pure annotation
Evan You [Tue, 15 Oct 2019 16:22:32 +0000 (12:22 -0400)] 
chore: use webpack-compatible pure annotation

6 years agofix: ensure makeMap calls are tree-shakable
Evan You [Tue, 15 Oct 2019 16:19:46 +0000 (12:19 -0400)] 
fix: ensure makeMap calls are tree-shakable

6 years agorefactor(core): use makeMap for faster string match checks (#282)
Ayush Goyal [Tue, 15 Oct 2019 16:11:08 +0000 (21:41 +0530)] 
refactor(core): use makeMap for faster string match checks (#282)

6 years agoci: check size in CI
Evan You [Tue, 15 Oct 2019 16:02:20 +0000 (12:02 -0400)] 
ci: check size in CI

6 years agochore: comments grammar
Evan You [Tue, 15 Oct 2019 16:02:12 +0000 (12:02 -0400)] 
chore: comments grammar

6 years agorefactor(reactivity): define hadKey if necessary (#288)
edison [Tue, 15 Oct 2019 15:59:40 +0000 (23:59 +0800)] 
refactor(reactivity): define hadKey if necessary (#288)

6 years agorefactor(compiler-core): follow up on #276
Evan You [Tue, 15 Oct 2019 15:51:52 +0000 (11:51 -0400)] 
refactor(compiler-core): follow up on #276

6 years agofeat(compiler-core): more hoisting optimizations (#276)
HcySunYang [Tue, 15 Oct 2019 15:41:24 +0000 (23:41 +0800)] 
feat(compiler-core): more hoisting optimizations (#276)

6 years agorefactor(effect): use includes instead of indexOf (#286)
夜宴 [Tue, 15 Oct 2019 15:18:26 +0000 (10:18 -0500)] 
refactor(effect): use includes instead of indexOf (#286)

6 years agochore: use `const` instead of `let` (#283)
fisker Cheung [Tue, 15 Oct 2019 03:15:36 +0000 (11:15 +0800)] 
chore: use `const` instead of `let` (#283)

6 years agotypes: use hook type in options (#284)
fisker Cheung [Tue, 15 Oct 2019 03:15:09 +0000 (11:15 +0800)] 
types: use hook type in options (#284)

6 years agochore: update readme [ci skip]
Evan You [Tue, 15 Oct 2019 03:12:51 +0000 (23:12 -0400)] 
chore: update readme [ci skip]

6 years agorefactor(v-on): do not generate persistent flag when no listener modifier is present
Evan You [Tue, 15 Oct 2019 03:06:51 +0000 (23:06 -0400)] 
refactor(v-on): do not generate persistent flag when no listener modifier is present

6 years agobuild: fix runtimeCompile global injection
Evan You [Tue, 15 Oct 2019 01:43:00 +0000 (21:43 -0400)] 
build: fix runtimeCompile global injection

6 years agochore: move events.spec.ts
Evan You [Mon, 14 Oct 2019 21:46:30 +0000 (17:46 -0400)] 
chore: move events.spec.ts

6 years agochore: move vModel.spec.ts
Evan You [Mon, 14 Oct 2019 21:45:15 +0000 (17:45 -0400)] 
chore: move vModel.spec.ts

6 years agorefactor: move looseEqual to vModel
Evan You [Mon, 14 Oct 2019 21:40:56 +0000 (17:40 -0400)] 
refactor: move looseEqual to vModel

6 years agochore: use consistent type signature
Evan You [Mon, 14 Oct 2019 21:12:02 +0000 (17:12 -0400)] 
chore: use consistent type signature

6 years agotest(runtime-dom): vModel tests (#255)
Stanislav Lashmanov [Mon, 14 Oct 2019 21:07:34 +0000 (00:07 +0300)] 
test(runtime-dom): vModel tests (#255)

6 years agofeat: runtime component name validation (#217)
月迷津渡 [Mon, 14 Oct 2019 19:36:30 +0000 (03:36 +0800)] 
feat: runtime component name validation (#217)

6 years agofeat(core): export version (#254)
Dmitry Sharshakov [Mon, 14 Oct 2019 19:31:43 +0000 (22:31 +0300)] 
feat(core): export version (#254)

6 years agofeat(compiler-core): support <portal> in template (#203)
terencez [Mon, 14 Oct 2019 19:11:04 +0000 (03:11 +0800)] 
feat(compiler-core): support <portal> in template (#203)

6 years agochore: lint + include tsx files for lint
Evan You [Mon, 14 Oct 2019 19:07:43 +0000 (15:07 -0400)] 
chore: lint + include tsx files for lint

6 years agoci: add step name (#279)
fisker Cheung [Mon, 14 Oct 2019 18:51:39 +0000 (02:51 +0800)] 
ci: add step name (#279)

6 years agochore: fix yarn lint failure on windows (#278)
fisker Cheung [Mon, 14 Oct 2019 18:50:51 +0000 (02:50 +0800)] 
chore: fix yarn lint failure on windows (#278)

6 years agofix(watch): type inference for computed refs
Evan You [Mon, 14 Oct 2019 16:15:09 +0000 (12:15 -0400)] 
fix(watch): type inference for computed refs

6 years agotest: add test for resolveAsset (#273)
Cr [Mon, 14 Oct 2019 15:56:02 +0000 (23:56 +0800)] 
test: add test for resolveAsset (#273)

6 years agotest: test unwrapping computed refs
Evan You [Mon, 14 Oct 2019 15:21:09 +0000 (11:21 -0400)] 
test: test unwrapping computed refs

6 years agotypes(ref): improve UnwrapRef types (#266)
Jooger [Mon, 14 Oct 2019 15:02:49 +0000 (23:02 +0800)] 
types(ref): improve UnwrapRef types (#266)

6 years agofeat(apiOptions): warn invalid computed options (#225)
Cr [Mon, 14 Oct 2019 06:15:31 +0000 (14:15 +0800)] 
feat(apiOptions): warn invalid computed options (#225)

6 years agobuild: further shave off runtime compile only code
Evan You [Mon, 14 Oct 2019 05:08:00 +0000 (01:08 -0400)] 
build: further shave off runtime compile only code

6 years agofeat(dom): transform + runtime for v-on (#213)
宋铄运 [Mon, 14 Oct 2019 04:33:23 +0000 (12:33 +0800)] 
feat(dom): transform + runtime for v-on (#213)

6 years agorefactor(scheduler): replace try catch with callWithErrorHandling (#264)
Jooger [Mon, 14 Oct 2019 04:32:01 +0000 (12:32 +0800)] 
refactor(scheduler): replace try catch with callWithErrorHandling (#264)

6 years agorefactor(runtime-core): programmatically create lifecycle APIs for DRYness (#246)
fisker Cheung [Mon, 14 Oct 2019 03:18:34 +0000 (11:18 +0800)] 
refactor(runtime-core): programmatically create lifecycle APIs for DRYness (#246)

6 years agobuild: use `ES module` format `rollup.config.js` (#259)
fisker Cheung [Mon, 14 Oct 2019 03:17:36 +0000 (11:17 +0800)] 
build: use `ES module` format `rollup.config.js` (#259)

6 years agoci: frozen-lockfile (#260)
fisker Cheung [Mon, 14 Oct 2019 02:57:12 +0000 (10:57 +0800)] 
ci: frozen-lockfile (#260)

6 years agorefactor(scheduler): minor refactors (#240)
Dmitry Sharshakov [Mon, 14 Oct 2019 02:41:23 +0000 (05:41 +0300)] 
refactor(scheduler): minor refactors (#240)

6 years agotypes: improve directive typing (#253)
Dmitry Sharshakov [Mon, 14 Oct 2019 02:40:29 +0000 (05:40 +0300)] 
types: improve directive typing (#253)

6 years agoRevert "chore: remove useless else (#245)" (#257)
Evan You [Sun, 13 Oct 2019 02:52:11 +0000 (22:52 -0400)] 
Revert "chore: remove useless else (#245)" (#257)

This reverts commit 971cebc61c8724875826658cb4801d1d72a35c4a.

6 years agochore: remove useless else (#245)
fisker Cheung [Sun, 13 Oct 2019 00:12:09 +0000 (08:12 +0800)] 
chore: remove useless else (#245)

6 years agofeat(compiler-core/runtime-core): show codeframe in runtime compile errors (#220)
likui [Sat, 12 Oct 2019 23:49:23 +0000 (07:49 +0800)] 
feat(compiler-core/runtime-core): show codeframe in runtime compile errors (#220)

6 years agorefactor(componentProxy): simplify proxy handling (#214)
Dmitry Sharshakov [Sat, 12 Oct 2019 23:44:30 +0000 (02:44 +0300)] 
refactor(componentProxy): simplify proxy handling (#214)

6 years agochore: use `name` const consistently (#249)
Natalia Tepluhina [Sat, 12 Oct 2019 23:43:36 +0000 (02:43 +0300)] 
chore: use `name` const consistently (#249)

6 years agorefactor(runtime-core): use `Array.from` instead of loop over `iterable` (#250)
fisker Cheung [Sat, 12 Oct 2019 23:34:22 +0000 (07:34 +0800)] 
refactor(runtime-core): use `Array.from` instead of loop over `iterable` (#250)

6 years agotypes: remove unnecessary types (#234)
Sangeeth Sudheer [Sat, 12 Oct 2019 23:33:48 +0000 (05:03 +0530)] 
types: remove unnecessary types (#234)

6 years agorefactor(runtime-dom): use `findIndex` instead of loop (#244)
fisker Cheung [Sat, 12 Oct 2019 23:32:47 +0000 (07:32 +0800)] 
refactor(runtime-dom): use `findIndex` instead of loop (#244)

6 years agorefactor(runtime-dom): remove xlink support since it's been deprecated
Evan You [Sat, 12 Oct 2019 23:25:04 +0000 (19:25 -0400)] 
refactor(runtime-dom): remove xlink support since it's been deprecated

6 years agotypes(reactivity): fix ref typing (#239)
Jooger [Sat, 12 Oct 2019 15:05:34 +0000 (23:05 +0800)] 
types(reactivity): fix ref typing (#239)

6 years agorefactor(runetime-core): removed unnecessary condition check (#237)
Sharvilak [Sat, 12 Oct 2019 15:00:29 +0000 (20:30 +0530)] 
refactor(runetime-core): removed unnecessary condition check (#237)

6 years agochore: fix typo in errorHandling.spec.ts (#232)
Sharvilak [Sat, 12 Oct 2019 14:59:44 +0000 (20:29 +0530)] 
chore: fix typo in errorHandling.spec.ts (#232)

6 years agochore: use Boolean to filter empty (#228)
Cong Min [Sat, 12 Oct 2019 14:55:35 +0000 (22:55 +0800)] 
chore: use Boolean to filter empty (#228)

6 years agochore: remove redundant type cast (#230)
Cr [Sat, 12 Oct 2019 14:46:10 +0000 (22:46 +0800)] 
chore: remove redundant type cast (#230)

6 years agochore: format vscode.json (#227)
wubaiqing (琉璃) [Sat, 12 Oct 2019 14:44:17 +0000 (22:44 +0800)] 
chore: format vscode.json (#227)

6 years agochore: consistent call to the newline function (#222)
HcySunYang [Sat, 12 Oct 2019 14:30:39 +0000 (22:30 +0800)] 
chore: consistent call to the newline function (#222)

6 years agotypes: add missing properties to ComponentPublicInstance interface (#218)
Cr [Sat, 12 Oct 2019 14:30:21 +0000 (22:30 +0800)] 
types: add missing properties to ComponentPublicInstance interface (#218)

6 years agochore(scripts): remove useless requires (#219)
朱金濠 [Sat, 12 Oct 2019 03:28:20 +0000 (11:28 +0800)] 
chore(scripts): remove useless requires (#219)

6 years agochore: use '' instead of undefined (#205)
Chester [Sat, 12 Oct 2019 02:04:33 +0000 (10:04 +0800)] 
chore: use '' instead of undefined (#205)

6 years agofeat(v-model): number/trim modifier + array checkbox support
Evan You [Sat, 12 Oct 2019 00:35:25 +0000 (20:35 -0400)] 
feat(v-model): number/trim modifier + array checkbox support

6 years agofix(compiler-core): fix directive args with empty holes
Evan You [Sat, 12 Oct 2019 00:35:01 +0000 (20:35 -0400)] 
fix(compiler-core): fix directive args with empty holes

6 years agofix(runtime-dom): cast to true for boolean props
Evan You [Fri, 11 Oct 2019 22:59:39 +0000 (18:59 -0400)] 
fix(runtime-dom): cast  to true for boolean props

6 years agochore: improve formatting
Evan You [Fri, 11 Oct 2019 22:07:18 +0000 (18:07 -0400)] 
chore: improve formatting

6 years agoperf: avoid parentNode call when dynamic child is not a Fragment
Evan You [Fri, 11 Oct 2019 22:06:24 +0000 (18:06 -0400)] 
perf: avoid parentNode call when dynamic child is not a Fragment

6 years agofeat(runtime-dom): v-model directive runtime
Evan You [Fri, 11 Oct 2019 21:55:20 +0000 (17:55 -0400)] 
feat(runtime-dom): v-model directive runtime

6 years agochore: fix typo (#216)
Leonardo Piccioni de Almeida [Fri, 11 Oct 2019 19:09:57 +0000 (16:09 -0300)] 
chore: fix typo (#216)

6 years agofix(runtime-core): support object syntax for class (#215)
Illya Klymov [Fri, 11 Oct 2019 19:09:37 +0000 (22:09 +0300)] 
fix(runtime-core): support object syntax for class (#215)

6 years agotest(vnode): tests for shapeFlag and cloneVNode
Evan You [Fri, 11 Oct 2019 15:48:20 +0000 (11:48 -0400)] 
test(vnode): tests for shapeFlag and cloneVNode

6 years agotest(vnode): tests for normlaizeVNode
Evan You [Fri, 11 Oct 2019 15:41:28 +0000 (11:41 -0400)] 
test(vnode): tests for normlaizeVNode

6 years agoworkflow: remove non-existent commit script from verifyCommit message
Evan You [Fri, 11 Oct 2019 15:22:41 +0000 (11:22 -0400)] 
workflow: remove non-existent commit script from verifyCommit message

6 years agofeat: log on the fly template compilation error
Evan You [Fri, 11 Oct 2019 15:16:20 +0000 (11:16 -0400)] 
feat: log on the fly template compilation error

6 years agoworkflow: use prettier for vscode formatting (#207)
Francois Hendriks [Fri, 11 Oct 2019 15:06:21 +0000 (17:06 +0200)] 
workflow: use prettier for vscode formatting (#207)

6 years agofix(compiler): update v-if directive to use Comment instead of Empty (#208)
Illya Klymov [Fri, 11 Oct 2019 15:04:56 +0000 (18:04 +0300)] 
fix(compiler): update v-if directive to use Comment instead of Empty (#208)

6 years agochore: remove duplicate helperNameMap entry
Evan You [Fri, 11 Oct 2019 14:49:35 +0000 (10:49 -0400)] 
chore: remove duplicate helperNameMap entry

6 years agofix(compiler): export COMMENT instead EMPTY runtime helper
Evan You [Fri, 11 Oct 2019 14:47:59 +0000 (10:47 -0400)] 
fix(compiler): export COMMENT instead EMPTY runtime helper

6 years agotest(compiler-dom): add DOM compiler integration compile test (#189)
Carlos Rodrigues [Fri, 11 Oct 2019 14:13:55 +0000 (15:13 +0100)] 
test(compiler-dom): add DOM compiler integration compile test (#189)