]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
6 years agotypes: improve h inference + infer required props without need for as const
Evan You [Fri, 1 Nov 2019 21:06:19 +0000 (17:06 -0400)] 
types: improve h inference + infer required props without need for as const

6 years agofix: fix shapeflags export
Evan You [Fri, 1 Nov 2019 21:05:31 +0000 (17:05 -0400)] 
fix: fix shapeflags export

6 years agotypes: fix suspense exported type
Evan You [Fri, 1 Nov 2019 16:43:27 +0000 (12:43 -0400)] 
types: fix suspense exported type

6 years agotypes: fix dts reliance on @vue/shared
Evan You [Fri, 1 Nov 2019 16:24:33 +0000 (12:24 -0400)] 
types: fix dts reliance on @vue/shared

6 years agobuild: fix build script
Evan You [Fri, 1 Nov 2019 16:24:12 +0000 (12:24 -0400)] 
build: fix build script

6 years agotypes: (wip) improve dts output
Evan You [Fri, 1 Nov 2019 15:32:53 +0000 (11:32 -0400)] 
types: (wip) improve dts output

6 years agotypes: refactor VNodeProps type
Evan You [Fri, 1 Nov 2019 13:58:27 +0000 (09:58 -0400)] 
types: refactor VNodeProps type

6 years agochore: rename mockWarn util
Evan You [Thu, 31 Oct 2019 17:53:11 +0000 (13:53 -0400)] 
chore: rename mockWarn util

6 years agotypes: improve h() and TSX type inference
Evan You [Thu, 31 Oct 2019 16:43:05 +0000 (12:43 -0400)] 
types: improve h() and TSX type inference

- Should allow extraneous props as attrs in TSX
- Should check props when using constructor type returned by
  createComponent() in h()

6 years agochore: comments explaining keep-alive implementation details [ci skip]
Evan You [Thu, 31 Oct 2019 16:41:28 +0000 (12:41 -0400)] 
chore: comments explaining keep-alive implementation details [ci skip]

6 years agochore: mark keep-alive done [ci skip]
Evan You [Thu, 31 Oct 2019 03:34:32 +0000 (23:34 -0400)] 
chore: mark keep-alive done [ci skip]

6 years agotest: more tests for keep-alive
Evan You [Thu, 31 Oct 2019 03:32:29 +0000 (23:32 -0400)] 
test: more tests for keep-alive

6 years agotest: tests for keep-alive
Evan You [Thu, 31 Oct 2019 01:41:28 +0000 (21:41 -0400)] 
test: tests for keep-alive

6 years agochore: rename
Evan You [Wed, 30 Oct 2019 19:43:12 +0000 (15:43 -0400)] 
chore: rename

6 years agobuild(deps-dev): bump @types/jest
Evan You [Wed, 30 Oct 2019 15:52:08 +0000 (11:52 -0400)] 
build(deps-dev): bump @types/jest

6 years agochore: fix typo [ci skip] (#413)
limichange [Wed, 30 Oct 2019 15:48:39 +0000 (23:48 +0800)] 
chore: fix typo [ci skip] (#413)

6 years agofeat(suspense): replace errors with warnings (#412)
Dmitry Sharshakov [Wed, 30 Oct 2019 15:37:05 +0000 (18:37 +0300)] 
feat(suspense): replace errors with warnings (#412)

6 years agotest(effect): add test for nested stopped effect (#417)
JiZhi [Wed, 30 Oct 2019 15:36:17 +0000 (23:36 +0800)] 
test(effect): add test for nested stopped effect (#417)

6 years agochore: fix types
Evan You [Wed, 30 Oct 2019 15:29:08 +0000 (11:29 -0400)] 
chore: fix types

6 years agorefactor(reactivity): simplify effect options
Evan You [Wed, 30 Oct 2019 15:11:23 +0000 (11:11 -0400)] 
refactor(reactivity): simplify effect options

6 years agofeat(core): keep-alive
Evan You [Wed, 30 Oct 2019 02:28:38 +0000 (22:28 -0400)] 
feat(core): keep-alive

6 years agofix: fix h signature for suspense
Evan You [Tue, 29 Oct 2019 18:04:44 +0000 (14:04 -0400)] 
fix: fix h signature for suspense

6 years agochore: fix typo (#409)
likui [Tue, 29 Oct 2019 17:51:48 +0000 (01:51 +0800)] 
chore: fix typo (#409)

6 years agorefactor(suspense): move more suspense details into suspense.ts
Evan You [Tue, 29 Oct 2019 16:40:54 +0000 (12:40 -0400)] 
refactor(suspense): move more suspense details into suspense.ts

6 years agorefactor(suspense): make suspense tree-shakeable
Evan You [Tue, 29 Oct 2019 16:30:09 +0000 (12:30 -0400)] 
refactor(suspense): make suspense tree-shakeable

6 years agofeat(apiApp): add more warnings (#394)
Dmitry Sharshakov [Mon, 28 Oct 2019 20:22:03 +0000 (23:22 +0300)] 
feat(apiApp): add more warnings (#394)

6 years agochore: fix comments referencing renamed file [ci skip] (#404)
Cédric Exbrayat [Mon, 28 Oct 2019 16:04:04 +0000 (17:04 +0100)] 
chore: fix comments referencing renamed file [ci skip] (#404)

6 years agofeat(createRenderer): handle errors in function refs (#403)
Dmitry Sharshakov [Mon, 28 Oct 2019 16:03:30 +0000 (19:03 +0300)] 
feat(createRenderer): handle errors in function refs (#403)

6 years agochore: license
Evan You [Mon, 28 Oct 2019 15:15:08 +0000 (11:15 -0400)] 
chore: license

6 years agorefactor: remove unnecessary variable (#401)
likui [Mon, 28 Oct 2019 14:13:26 +0000 (22:13 +0800)] 
refactor: remove unnecessary variable (#401)

6 years agobuild(deps-dev): bump rollup from 1.25.2 to 1.26.0
dependabot-preview[bot] [Mon, 28 Oct 2019 06:52:34 +0000 (06:52 +0000)] 
build(deps-dev): bump rollup from 1.25.2 to 1.26.0

Bumps [rollup](https://github.com/rollup/rollup) from 1.25.2 to 1.26.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.25.2...v1.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agofix(warning): handle errors in warn handler (#396)
Dmitry Sharshakov [Mon, 28 Oct 2019 00:55:50 +0000 (03:55 +0300)] 
fix(warning): handle errors in warn handler (#396)

6 years agorefactor(VNode): improve helper types (#392)
Dmitry Sharshakov [Mon, 28 Oct 2019 00:54:54 +0000 (03:54 +0300)] 
refactor(VNode): improve helper types (#392)

6 years agofeat(apiApp): return app from provide method for chaining (#393)
Dmitry Sharshakov [Mon, 28 Oct 2019 00:54:33 +0000 (03:54 +0300)] 
feat(apiApp): return app from provide method for chaining (#393)

6 years agochore: comment on cloneVNode implementation [ci skip]
Evan You [Mon, 28 Oct 2019 00:45:54 +0000 (20:45 -0400)] 
chore: comment on cloneVNode implementation [ci skip]

6 years agochore: fix typo (#395)
djy0 [Mon, 28 Oct 2019 00:44:24 +0000 (08:44 +0800)] 
chore: fix typo (#395)

6 years agochore: fix typing for withDirectives
Evan You [Sat, 26 Oct 2019 20:32:27 +0000 (16:32 -0400)] 
chore: fix typing for withDirectives

6 years agoperf: improve directive runtime performance
Evan You [Sat, 26 Oct 2019 20:00:07 +0000 (16:00 -0400)] 
perf: improve directive runtime performance

6 years agoperf: use makeMap for reserved prop check
Evan You [Sat, 26 Oct 2019 15:24:37 +0000 (11:24 -0400)] 
perf: use makeMap for reserved prop check

6 years agochore: remove done item in readme [ci skip]
Evan You [Sat, 26 Oct 2019 14:56:49 +0000 (10:56 -0400)] 
chore: remove done item in readme [ci skip]

6 years agofix(apiInject): fix stringifying of symbol injection key (#383)
Dmitry Sharshakov [Sat, 26 Oct 2019 14:52:29 +0000 (17:52 +0300)] 
fix(apiInject): fix stringifying of symbol injection key (#383)

6 years agofix(types): fix VNodeTypes unique symbols (#387)
Dmitry Sharshakov [Sat, 26 Oct 2019 14:51:55 +0000 (17:51 +0300)] 
fix(types): fix VNodeTypes unique symbols (#387)

6 years agofix(Portal): add ability to use element as target (#380)
Dmitry Sharshakov [Sat, 26 Oct 2019 14:32:16 +0000 (17:32 +0300)] 
fix(Portal): add ability to use element as target (#380)

6 years agotest: fix context.attrs test case
Evan You [Sat, 26 Oct 2019 14:31:36 +0000 (10:31 -0400)] 
test: fix context.attrs test case

6 years agochore: remove it.only
Evan You [Sat, 26 Oct 2019 14:27:49 +0000 (10:27 -0400)] 
chore: remove it.only

6 years agofeat(core): adjust attrs fallthrough behavior
Evan You [Fri, 25 Oct 2019 16:12:17 +0000 (12:12 -0400)] 
feat(core): adjust attrs fallthrough behavior

6 years agorefactor(reactivity): reduce code of type check (#377)
Junyan [Fri, 25 Oct 2019 15:15:04 +0000 (23:15 +0800)] 
refactor(reactivity): reduce code of type check (#377)

6 years agoperf(compiler-dom): use makeMap instead of RegEx (#354)
Ayush Goyal [Fri, 25 Oct 2019 14:35:44 +0000 (20:05 +0530)] 
perf(compiler-dom): use makeMap instead of RegEx (#354)

6 years agofeat(runtime-core): support array in watch option (#376)
likui [Fri, 25 Oct 2019 14:25:52 +0000 (22:25 +0800)] 
feat(runtime-core): support array in watch option (#376)

6 years agotest(dom): test using innerHTML as template. (#372)
大江东去 [Fri, 25 Oct 2019 14:18:46 +0000 (22:18 +0800)] 
test(dom): test using innerHTML as template. (#372)

6 years agotest(effect): add test for json methods (#371)
夜宴 [Fri, 25 Oct 2019 14:17:31 +0000 (09:17 -0500)] 
test(effect): add test for json methods (#371)

6 years agofeat(runtime-core): warn access of undefined property during render
Evan You [Fri, 25 Oct 2019 14:12:43 +0000 (10:12 -0400)] 
feat(runtime-core): warn access of undefined property during render

6 years agochore: fix composition example (#369)
Cr [Fri, 25 Oct 2019 14:00:56 +0000 (22:00 +0800)] 
chore: fix composition example (#369)

6 years agochore: include todomvc examples (need tests!) 374/head
Evan You [Fri, 25 Oct 2019 02:23:08 +0000 (22:23 -0400)] 
chore: include todomvc examples (need tests!)

6 years agofeat(runtime-dom): support using mount target innerHTML as template
Evan You [Fri, 25 Oct 2019 01:58:34 +0000 (21:58 -0400)] 
feat(runtime-dom): support using mount target innerHTML as template

6 years agofix: generate v-if fallback comment as block
Evan You [Fri, 25 Oct 2019 01:19:02 +0000 (21:19 -0400)] 
fix: generate v-if fallback comment as block

6 years agofix: export missing createCommentVNode fn
Evan You [Fri, 25 Oct 2019 01:08:28 +0000 (21:08 -0400)] 
fix: export missing createCommentVNode fn

6 years agorefactor(compiler): use shorter helpers for text and comment nodes
Evan You [Thu, 24 Oct 2019 21:55:00 +0000 (17:55 -0400)] 
refactor(compiler): use shorter helpers for text and comment nodes

6 years agofeat(compiler): preserve whitespace in pre tag, add tests
Evan You [Thu, 24 Oct 2019 20:42:09 +0000 (16:42 -0400)] 
feat(compiler): preserve whitespace in pre tag, add tests

6 years agofeat(compiler-core): whitespace handling
Evan You [Thu, 24 Oct 2019 20:22:48 +0000 (16:22 -0400)] 
feat(compiler-core): whitespace handling

6 years agochore: remove unused util function
Evan You [Thu, 24 Oct 2019 19:39:31 +0000 (15:39 -0400)] 
chore: remove unused util function

6 years agorefactor(parser): remove ignoreSpaces option
Evan You [Thu, 24 Oct 2019 16:47:29 +0000 (12:47 -0400)] 
refactor(parser): remove ignoreSpaces option

6 years agotypes(reactivity): computed types remove `as` (#367)
相学长 [Thu, 24 Oct 2019 15:37:52 +0000 (23:37 +0800)] 
types(reactivity): computed types remove `as` (#367)

6 years agofeat(props): enable case conversion in all builds, preserve casing for attrs
Evan You [Thu, 24 Oct 2019 14:59:57 +0000 (10:59 -0400)] 
feat(props): enable case conversion in all builds, preserve casing for attrs

6 years agofeat(props): kebab -> camel prop case support in full build
Evan You [Thu, 24 Oct 2019 01:51:01 +0000 (21:51 -0400)] 
feat(props): kebab -> camel prop case support in full build

6 years agofeat(compiler-core): re-implement v-once to use cache mechanism
Evan You [Wed, 23 Oct 2019 21:57:40 +0000 (17:57 -0400)] 
feat(compiler-core): re-implement v-once to use cache mechanism

6 years agochore: comments [ci skip]
Evan You [Wed, 23 Oct 2019 19:19:55 +0000 (15:19 -0400)] 
chore: comments [ci skip]

6 years agotest(template-refs): add tests for function refs (#359)
Dmitry Sharshakov [Wed, 23 Oct 2019 15:54:50 +0000 (18:54 +0300)] 
test(template-refs): add tests for function refs (#359)

6 years agofix(reactivity): account for NaN in value change checks (#361)
Mayness [Wed, 23 Oct 2019 15:53:43 +0000 (10:53 -0500)] 
fix(reactivity): account for NaN in value change checks (#361)

6 years agoworkflow: support debug single jest test file in vscode (#360)
wangtao0101 [Wed, 23 Oct 2019 15:20:06 +0000 (23:20 +0800)] 
workflow: support debug single jest test file in vscode (#360)

6 years agofix(reactivity): Map.set should trigger when adding new entry with undefined value...
Cr [Wed, 23 Oct 2019 15:00:55 +0000 (23:00 +0800)] 
fix(reactivity): Map.set should trigger when adding new entry with undefined value (#364)

6 years agochore: fix snapshot
Evan You [Wed, 23 Oct 2019 14:57:05 +0000 (10:57 -0400)] 
chore: fix snapshot

6 years agofix(compiler-dom): style transform of static styles should not add STYLE patchFlag
Evan You [Wed, 23 Oct 2019 14:49:16 +0000 (10:49 -0400)] 
fix(compiler-dom): style transform of static styles should not add STYLE patchFlag

6 years agotest(compiler-dom): test namespace parsing (#356)
大江东去 [Wed, 23 Oct 2019 14:35:45 +0000 (22:35 +0800)] 
test(compiler-dom): test namespace parsing (#356)

6 years agoperf(runtime-core): use `makeMap` instead of `RE` (#350)
edison [Wed, 23 Oct 2019 14:34:58 +0000 (22:34 +0800)] 
perf(runtime-core): use `makeMap` instead of `RE` (#350)

6 years agotypes: improve slots type (#366)
likui [Wed, 23 Oct 2019 13:29:09 +0000 (21:29 +0800)] 
types: improve slots type (#366)

6 years agobuild(deps-dev): bump rollup from 1.25.1 to 1.25.2
dependabot-preview[bot] [Wed, 23 Oct 2019 06:40:58 +0000 (06:40 +0000)] 
build(deps-dev): bump rollup from 1.25.1 to 1.25.2

Bumps [rollup](https://github.com/rollup/rollup) from 1.25.1 to 1.25.2.
- [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.25.1...v1.25.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agobuild(deps-dev): bump lerna from 3.18.2 to 3.18.3
dependabot-preview[bot] [Wed, 23 Oct 2019 06:40:31 +0000 (06:40 +0000)] 
build(deps-dev): bump lerna from 3.18.2 to 3.18.3

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agochore: fix DebuggerEvent export
Evan You [Tue, 22 Oct 2019 15:53:17 +0000 (11:53 -0400)] 
chore: fix DebuggerEvent export

6 years agochore: revert prettier
Evan You [Tue, 22 Oct 2019 15:52:29 +0000 (11:52 -0400)] 
chore: revert prettier

6 years agotypes: massive refactor
Evan You [Tue, 22 Oct 2019 15:26:48 +0000 (11:26 -0400)] 
types: massive refactor

6 years agochore: upgrade prettier
Evan You [Tue, 22 Oct 2019 15:26:38 +0000 (11:26 -0400)] 
chore: upgrade prettier

6 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.5.1 to 7.5.2
dependabot-preview[bot] [Tue, 22 Oct 2019 06:35:02 +0000 (06:35 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.5.1 to 7.5.2

Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor-model_v7.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agobuild(deps-dev): bump lerna from 3.18.1 to 3.18.2
dependabot-preview[bot] [Tue, 22 Oct 2019 06:34:25 +0000 (06:34 +0000)] 
build(deps-dev): bump lerna from 3.18.1 to 3.18.2

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agofeat(apiOptions): add warning for duplicated properties declared by options (#329)
Cr [Tue, 22 Oct 2019 03:47:16 +0000 (11:47 +0800)] 
feat(apiOptions): add warning for duplicated properties declared by options (#329)

6 years agotypes: improve types
Evan You [Tue, 22 Oct 2019 03:37:03 +0000 (23:37 -0400)] 
types: improve types

6 years agochore: reference link
Evan You [Mon, 21 Oct 2019 20:46:47 +0000 (16:46 -0400)] 
chore: reference link

6 years agofeat: update svg tag list
Evan You [Mon, 21 Oct 2019 20:39:37 +0000 (16:39 -0400)] 
feat: update svg tag list

6 years agochore: move dom element config to compiler-dom
Evan You [Mon, 21 Oct 2019 20:25:16 +0000 (16:25 -0400)] 
chore: move dom element config to compiler-dom

6 years agofeat(compiler): convert text mixed with elements into createVNode calls
Evan You [Mon, 21 Oct 2019 19:52:29 +0000 (15:52 -0400)] 
feat(compiler): convert text mixed with elements into createVNode calls

This ensures they are tracked as dynamic children when inside blocks.
Also guaruntees compiled vnodes always have vnode children in arrays
so that they can skip normalizeVNode safely in optimized mode.

6 years agoRevert "feat(compiler-core): hoist element with static ref (#344)"
Evan You [Mon, 21 Oct 2019 19:17:29 +0000 (15:17 -0400)] 
Revert "feat(compiler-core): hoist element with static ref (#344)"

Static refs still need to be tracked in dynamicChildren because unmount
also takes the fast path when dynamicChildren is present, and all refs
need to be properly unmounted.

This reverts commit 920773fc6b082269e5c54a9c44609e6fd7dba5f3.

6 years agotypes: improve emit type (#345)
likui [Mon, 21 Oct 2019 18:04:42 +0000 (02:04 +0800)] 
types: improve emit type (#345)

6 years agorefactor(errorHandlling): handle array in callWithAsyncErrorHandling (#332)
Jooger [Mon, 21 Oct 2019 17:59:10 +0000 (01:59 +0800)] 
refactor(errorHandlling): handle array in callWithAsyncErrorHandling (#332)

6 years agotypes: improve computed types (#343)
Dmitry Sharshakov [Mon, 21 Oct 2019 17:57:20 +0000 (20:57 +0300)] 
types: improve computed types (#343)

6 years agotypes: use RenderFunction type (#342)
Dmitry Sharshakov [Mon, 21 Oct 2019 17:44:01 +0000 (20:44 +0300)] 
types: use RenderFunction type (#342)

6 years agoperf: skip normalizeVNode in optimized mode
Evan You [Mon, 21 Oct 2019 16:24:19 +0000 (12:24 -0400)] 
perf: skip normalizeVNode in optimized mode

6 years agoperf: micro optimizations for vnode creation
Evan You [Mon, 21 Oct 2019 15:30:45 +0000 (11:30 -0400)] 
perf: micro optimizations for vnode creation

6 years agochore: remove refs from setupContext
Evan You [Mon, 21 Oct 2019 14:36:38 +0000 (10:36 -0400)] 
chore: remove refs from setupContext

explicit refs should be preferred

6 years agochore: fix merge conflict
Evan You [Mon, 21 Oct 2019 14:33:10 +0000 (10:33 -0400)] 
chore: fix merge conflict

6 years agofeat(compiler-core): hoist element with static ref (#344)
HcySunYang [Mon, 21 Oct 2019 14:29:17 +0000 (22:29 +0800)] 
feat(compiler-core): hoist element with static ref (#344)