]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Fri, 18 Oct 2019 20:20:45 +0000 (16:20 -0400)]
refactor(v-on): avoid empty modifier guard with only key modifier
Evan You [Fri, 18 Oct 2019 19:31:28 +0000 (15:31 -0400)]
fix(reactivity): revert to Reflect.get and add test cases
Dmitry Sharshakov [Fri, 18 Oct 2019 18:58:15 +0000 (21:58 +0300)]
types: fix createComponent type when using simple function (#334)
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
扩散性百万甜面包 [Fri, 18 Oct 2019 18:54:05 +0000 (02:54 +0800)]
types: fix ref unwrapping when nested inside arrays (#331)
Stanislav Lashmanov [Fri, 18 Oct 2019 17:57:13 +0000 (20:57 +0300)]
fix: add missing compiler to the full build on Windows (#333)
Dmitry Sharshakov [Fri, 18 Oct 2019 16:34:45 +0000 (19:34 +0300)]
feat(core): validate directives names (#326)
edison [Fri, 18 Oct 2019 16:11:58 +0000 (00:11 +0800)]
perf(reactivity): optimize the performance of the `canObserve` (#330)
宋铄运 [Fri, 18 Oct 2019 16:09:04 +0000 (00:09 +0800)]
feat(core): support dynamic component via <component :is> (#320)
Evan You [Fri, 18 Oct 2019 02:29:51 +0000 (22:29 -0400)]
perf: further tweak accessCache
Dmitry Sharshakov [Thu, 17 Oct 2019 19:47:26 +0000 (22:47 +0300)]
refactor(runtime-core): extract promise check into shared (#325)
大江东去 [Thu, 17 Oct 2019 19:04:52 +0000 (03:04 +0800)]
test(compiler-core): add test for custom delimiter (#315)
Evan You [Thu, 17 Oct 2019 03:12:57 +0000 (23:12 -0400)]
perf: minor tweaks
Evan You [Thu, 17 Oct 2019 02:13:52 +0000 (22:13 -0400)]
perf(core): cache property access types on renderProxy
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.
Carlos Rodrigues [Thu, 17 Oct 2019 19:01:51 +0000 (20:01 +0100)]
chore: typos [ci-skip] (#323)
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
Evan You [Wed, 16 Oct 2019 21:40:00 +0000 (17:40 -0400)]
feat(compiler-core): support Suspense in templates
Evan You [Wed, 16 Oct 2019 20:33:23 +0000 (16:33 -0400)]
feat: emit compiler error for invalid JavaScript expressions
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>
Evan You [Wed, 16 Oct 2019 19:32:48 +0000 (15:32 -0400)]
perf: skip hasScopeRef check if there are no 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.
Evan You [Wed, 16 Oct 2019 18:18:29 +0000 (14:18 -0400)]
feat(compiler-core/v-model): generate modelModifiers for component v-model
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
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
Carlos Rodrigues [Wed, 16 Oct 2019 19:34:51 +0000 (20:34 +0100)]
perf(runtime-core): use faster diff map population (#319)
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
Carlos Rodrigues [Wed, 16 Oct 2019 14:46:41 +0000 (15:46 +0100)]
refactor(compiler-core): avoid has call (#314)
Evan You [Wed, 16 Oct 2019 14:42:25 +0000 (10:42 -0400)]
perf(v-for): use faster array population in renderList
xiaoboost [Wed, 16 Oct 2019 14:31:40 +0000 (22:31 +0800)]
types: improve typing (#309)
Carlos Rodrigues [Wed, 16 Oct 2019 14:15:03 +0000 (15:15 +0100)]
types: improve typing (#313)
Ruijia Tang [Wed, 16 Oct 2019 14:11:13 +0000 (22:11 +0800)]
chore: Remove unnecessary console.log (#312)
Dmitry Sharshakov [Wed, 16 Oct 2019 06:12:26 +0000 (09:12 +0300)]
feat(directives): add support for function directives (#252)
Tidyzq [Wed, 16 Oct 2019 05:58:11 +0000 (13:58 +0800)]
refactor(reactivity): immediate return (#301)
likui [Wed, 16 Oct 2019 05:47:58 +0000 (13:47 +0800)]
test(compiler-dom): add test for vModel transform (#289)
Evan You [Wed, 16 Oct 2019 02:34:14 +0000 (22:34 -0400)]
build: fix isBundlerESMBuild check in rollup.js
Evan You [Wed, 16 Oct 2019 02:29:52 +0000 (22:29 -0400)]
refactor: use makeMap in v-on dom transform
Evan You [Tue, 15 Oct 2019 21:50:38 +0000 (17:50 -0400)]
test: test runtime compilation error warning
Jian Zhang [Wed, 16 Oct 2019 02:18:55 +0000 (10:18 +0800)]
refactor(runtime-core): isBuiltInTag -> use makeMap instead of Set (#307)
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>
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>
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>
月迷津渡 [Tue, 15 Oct 2019 21:30:47 +0000 (05:30 +0800)]
feat: add isCustomElement option (#299)
Ivan Sieder [Tue, 15 Oct 2019 21:13:35 +0000 (23:13 +0200)]
chore: updated error message for not-found fuzzy-matching error (#303)
宋铄运 [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)
HcySunYang [Tue, 15 Oct 2019 20:58:01 +0000 (04:58 +0800)]
fix(compiler-core): avoid prefixing empty interpolations (#290)
Adam Lewkowicz [Tue, 15 Oct 2019 20:44:14 +0000 (22:44 +0200)]
types(watch): allow readonly arrays for watching multiple sources (#281)
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)
MichealXie [Tue, 15 Oct 2019 16:24:16 +0000 (00:24 +0800)]
types: use `Omit` instead of `Pick + Exclude` (#296)
Cr [Tue, 15 Oct 2019 16:23:38 +0000 (00:23 +0800)]
feat(vModel): warn if v-model is used on file input (#295)
Evan You [Tue, 15 Oct 2019 16:22:32 +0000 (12:22 -0400)]
chore: use webpack-compatible pure annotation
Evan You [Tue, 15 Oct 2019 16:19:46 +0000 (12:19 -0400)]
fix: ensure makeMap calls are tree-shakable
Ayush Goyal [Tue, 15 Oct 2019 16:11:08 +0000 (21:41 +0530)]
refactor(core): use makeMap for faster string match checks (#282)
Evan You [Tue, 15 Oct 2019 16:02:20 +0000 (12:02 -0400)]
ci: check size in CI
Evan You [Tue, 15 Oct 2019 16:02:12 +0000 (12:02 -0400)]
chore: comments grammar
edison [Tue, 15 Oct 2019 15:59:40 +0000 (23:59 +0800)]
refactor(reactivity): define hadKey if necessary (#288)
Evan You [Tue, 15 Oct 2019 15:51:52 +0000 (11:51 -0400)]
refactor(compiler-core): follow up on #276
HcySunYang [Tue, 15 Oct 2019 15:41:24 +0000 (23:41 +0800)]
feat(compiler-core): more hoisting optimizations (#276)
夜宴 [Tue, 15 Oct 2019 15:18:26 +0000 (10:18 -0500)]
refactor(effect): use includes instead of indexOf (#286)
fisker Cheung [Tue, 15 Oct 2019 03:15:36 +0000 (11:15 +0800)]
chore: use `const` instead of `let` (#283)
fisker Cheung [Tue, 15 Oct 2019 03:15:09 +0000 (11:15 +0800)]
types: use hook type in options (#284)
Evan You [Tue, 15 Oct 2019 03:12:51 +0000 (23:12 -0400)]
chore: update readme [ci skip]
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
Evan You [Tue, 15 Oct 2019 01:43:00 +0000 (21:43 -0400)]
build: fix runtimeCompile global injection
Evan You [Mon, 14 Oct 2019 21:46:30 +0000 (17:46 -0400)]
chore: move events.spec.ts
Evan You [Mon, 14 Oct 2019 21:45:15 +0000 (17:45 -0400)]
chore: move vModel.spec.ts
Evan You [Mon, 14 Oct 2019 21:40:56 +0000 (17:40 -0400)]
refactor: move looseEqual to vModel
Evan You [Mon, 14 Oct 2019 21:12:02 +0000 (17:12 -0400)]
chore: use consistent type signature
Stanislav Lashmanov [Mon, 14 Oct 2019 21:07:34 +0000 (00:07 +0300)]
test(runtime-dom): vModel tests (#255)
月迷津渡 [Mon, 14 Oct 2019 19:36:30 +0000 (03:36 +0800)]
feat: runtime component name validation (#217)
Dmitry Sharshakov [Mon, 14 Oct 2019 19:31:43 +0000 (22:31 +0300)]
feat(core): export version (#254)
terencez [Mon, 14 Oct 2019 19:11:04 +0000 (03:11 +0800)]
feat(compiler-core): support <portal> in template (#203)
Evan You [Mon, 14 Oct 2019 19:07:43 +0000 (15:07 -0400)]
chore: lint + include tsx files for lint
fisker Cheung [Mon, 14 Oct 2019 18:51:39 +0000 (02:51 +0800)]
ci: add step name (#279)
fisker Cheung [Mon, 14 Oct 2019 18:50:51 +0000 (02:50 +0800)]
chore: fix yarn lint failure on windows (#278)
Evan You [Mon, 14 Oct 2019 16:15:09 +0000 (12:15 -0400)]
fix(watch): type inference for computed refs
Cr [Mon, 14 Oct 2019 15:56:02 +0000 (23:56 +0800)]
test: add test for resolveAsset (#273)
Evan You [Mon, 14 Oct 2019 15:21:09 +0000 (11:21 -0400)]
test: test unwrapping computed refs
Jooger [Mon, 14 Oct 2019 15:02:49 +0000 (23:02 +0800)]
types(ref): improve UnwrapRef types (#266)
Cr [Mon, 14 Oct 2019 06:15:31 +0000 (14:15 +0800)]
feat(apiOptions): warn invalid computed options (#225)
Evan You [Mon, 14 Oct 2019 05:08:00 +0000 (01:08 -0400)]
build: further shave off runtime compile only code
宋铄运 [Mon, 14 Oct 2019 04:33:23 +0000 (12:33 +0800)]
feat(dom): transform + runtime for v-on (#213)
Jooger [Mon, 14 Oct 2019 04:32:01 +0000 (12:32 +0800)]
refactor(scheduler): replace try catch with callWithErrorHandling (#264)
fisker Cheung [Mon, 14 Oct 2019 03:18:34 +0000 (11:18 +0800)]
refactor(runtime-core): programmatically create lifecycle APIs for DRYness (#246)
fisker Cheung [Mon, 14 Oct 2019 03:17:36 +0000 (11:17 +0800)]
build: use `ES module` format `rollup.config.js` (#259)
fisker Cheung [Mon, 14 Oct 2019 02:57:12 +0000 (10:57 +0800)]
ci: frozen-lockfile (#260)
Dmitry Sharshakov [Mon, 14 Oct 2019 02:41:23 +0000 (05:41 +0300)]
refactor(scheduler): minor refactors (#240)
Dmitry Sharshakov [Mon, 14 Oct 2019 02:40:29 +0000 (05:40 +0300)]
types: improve directive typing (#253)
Evan You [Sun, 13 Oct 2019 02:52:11 +0000 (22:52 -0400)]
Revert "chore: remove useless else (#245)" (#257)
This reverts commit
971cebc61c8724875826658cb4801d1d72a35c4a .
fisker Cheung [Sun, 13 Oct 2019 00:12:09 +0000 (08:12 +0800)]
chore: remove useless else (#245)
likui [Sat, 12 Oct 2019 23:49:23 +0000 (07:49 +0800)]
feat(compiler-core/runtime-core): show codeframe in runtime compile errors (#220)
Dmitry Sharshakov [Sat, 12 Oct 2019 23:44:30 +0000 (02:44 +0300)]
refactor(componentProxy): simplify proxy handling (#214)
Natalia Tepluhina [Sat, 12 Oct 2019 23:43:36 +0000 (02:43 +0300)]
chore: use `name` const consistently (#249)
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)
Sangeeth Sudheer [Sat, 12 Oct 2019 23:33:48 +0000 (05:03 +0530)]
types: remove unnecessary types (#234)
fisker Cheung [Sat, 12 Oct 2019 23:32:47 +0000 (07:32 +0800)]
refactor(runtime-dom): use `findIndex` instead of loop (#244)
Evan You [Sat, 12 Oct 2019 23:25:04 +0000 (19:25 -0400)]
refactor(runtime-dom): remove xlink support since it's been deprecated
Jooger [Sat, 12 Oct 2019 15:05:34 +0000 (23:05 +0800)]
types(reactivity): fix ref typing (#239)
Sharvilak [Sat, 12 Oct 2019 15:00:29 +0000 (20:30 +0530)]
refactor(runetime-core): removed unnecessary condition check (#237)
Sharvilak [Sat, 12 Oct 2019 14:59:44 +0000 (20:29 +0530)]
chore: fix typo in errorHandling.spec.ts (#232)