]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
6 years agorefactor(v-on): avoid empty modifier guard with only key modifier
Evan You [Fri, 18 Oct 2019 20:20:45 +0000 (16:20 -0400)] 
refactor(v-on): avoid empty modifier guard with only key modifier

6 years agofix(reactivity): revert to Reflect.get and add test cases
Evan You [Fri, 18 Oct 2019 19:31:28 +0000 (15:31 -0400)] 
fix(reactivity): revert to Reflect.get and add test cases

6 years agotypes: fix createComponent type when using simple function (#334)
Dmitry Sharshakov [Fri, 18 Oct 2019 18:58:15 +0000 (21:58 +0300)] 
types: fix createComponent type when using simple function (#334)

6 years agorefactor: rename vnode hooks
Evan You [Fri, 18 Oct 2019 18:01:45 +0000 (14:01 -0400)] 
refactor: rename vnode hooks

So that they can be used as @vnodeMounted="..." in templates

6 years agotypes: fix ref unwrapping when nested inside arrays (#331)
扩散性百万甜面包 [Fri, 18 Oct 2019 18:54:05 +0000 (02:54 +0800)] 
types: fix ref unwrapping when nested inside arrays (#331)

6 years agofix: add missing compiler to the full build on Windows (#333)
Stanislav Lashmanov [Fri, 18 Oct 2019 17:57:13 +0000 (20:57 +0300)] 
fix: add missing compiler to the full build on Windows (#333)

6 years agofeat(core): validate directives names (#326)
Dmitry Sharshakov [Fri, 18 Oct 2019 16:34:45 +0000 (19:34 +0300)] 
feat(core): validate directives names (#326)

6 years agoperf(reactivity): optimize the performance of the `canObserve` (#330)
edison [Fri, 18 Oct 2019 16:11:58 +0000 (00:11 +0800)] 
perf(reactivity): optimize the performance of the `canObserve` (#330)

6 years agofeat(core): support dynamic component via <component :is> (#320)
宋铄运 [Fri, 18 Oct 2019 16:09:04 +0000 (00:09 +0800)] 
feat(core): support dynamic component via <component :is> (#320)

6 years agoperf: further tweak accessCache
Evan You [Fri, 18 Oct 2019 02:29:51 +0000 (22:29 -0400)] 
perf: further tweak accessCache

6 years agorefactor(runtime-core): extract promise check into shared (#325)
Dmitry Sharshakov [Thu, 17 Oct 2019 19:47:26 +0000 (22:47 +0300)] 
refactor(runtime-core): extract promise check into shared (#325)

6 years agotest(compiler-core): add test for custom delimiter (#315)
大江东去 [Thu, 17 Oct 2019 19:04:52 +0000 (03:04 +0800)] 
test(compiler-core): add test for custom delimiter (#315)

6 years agoperf: minor tweaks
Evan You [Thu, 17 Oct 2019 03:12:57 +0000 (23:12 -0400)] 
perf: minor tweaks

6 years agoperf(core): cache property access types on renderProxy
Evan You [Thu, 17 Oct 2019 02:13:52 +0000 (22:13 -0400)] 
perf(core): cache property access types on renderProxy

6 years agoperf: revert to _isRef for perf
Evan You [Thu, 17 Oct 2019 01:36:17 +0000 (21:36 -0400)] 
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.

6 years agochore: typos [ci-skip] (#323)
Carlos Rodrigues [Thu, 17 Oct 2019 19:01:51 +0000 (20:01 +0100)] 
chore: typos [ci-skip] (#323)

6 years agofix(runtime-core): handle dynamicChildren when portal is used as a block
Evan You [Wed, 16 Oct 2019 21:43:33 +0000 (17:43 -0400)] 
fix(runtime-core): handle dynamicChildren when portal is used as a block

6 years agofeat(compiler-core): support Suspense in templates
Evan You [Wed, 16 Oct 2019 21:40:00 +0000 (17:40 -0400)] 
feat(compiler-core): support Suspense in templates

6 years agofeat: emit compiler error for invalid JavaScript expressions
Evan You [Wed, 16 Oct 2019 20:33:23 +0000 (16:33 -0400)] 
feat: emit compiler error for invalid JavaScript expressions

6 years agobuild(deps-dev): bump lerna from 3.18.0 to 3.18.1
dependabot-preview[bot] [Wed, 16 Oct 2019 21:37:07 +0000 (21:37 +0000)] 
build(deps-dev): bump lerna from 3.18.0 to 3.18.1

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoperf: skip hasScopeRef check if there are no scope vars
Evan You [Wed, 16 Oct 2019 19:32:48 +0000 (15:32 -0400)] 
perf: skip hasScopeRef check if there are no scope vars

6 years agofeat(compiler-core/v-slot): only force dynamic slots when referencing scope vars
Evan You [Wed, 16 Oct 2019 19:30:21 +0000 (15:30 -0400)] 
feat(compiler-core/v-slot): only force dynamic slots when referencing scope vars

This feature is only applied with prefixIdentifiers: true.

6 years agofeat(compiler-core/v-model): generate modelModifiers for component v-model
Evan You [Wed, 16 Oct 2019 18:18:29 +0000 (14:18 -0400)] 
feat(compiler-core/v-model): generate modelModifiers for component v-model

6 years agofeat(compiler-core/v-model): error when v-model is used on scope variable
Evan You [Wed, 16 Oct 2019 18:05:18 +0000 (14:05 -0400)] 
feat(compiler-core/v-model): error when v-model is used on scope variable

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)