]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Fri, 27 Mar 2020 20:38:31 +0000 (16:38 -0400)]
feat(compiler-core): support v-is
see https://github.com/vuejs/rfcs/pull/149 for details
Evan You [Fri, 27 Mar 2020 16:47:09 +0000 (12:47 -0400)]
build(deps): bump rollup
Evan You [Fri, 27 Mar 2020 16:45:12 +0000 (12:45 -0400)]
build(deps): bump jest and typescript
Evan You [Fri, 27 Mar 2020 16:38:47 +0000 (12:38 -0400)]
fix(runtome-dom): properly support creating customized built-in element
Eduardo San Martin Morote [Fri, 27 Mar 2020 13:30:49 +0000 (14:30 +0100)]
fix(types): export missing types from runtime-core (#889)
Evan You [Fri, 27 Mar 2020 00:58:31 +0000 (20:58 -0400)]
feat(asyncComponent): retry support
BREAKING CHANGE: async component `error` and `loading` options have been
renamed to `errorComponent` and `loadingComponent` respectively.
Cédric Exbrayat [Thu, 26 Mar 2020 15:59:54 +0000 (16:59 +0100)]
refactor(runtime-core): rename `createAsyncComponent` to `defineAsyncComponent` (#888)
BREAKING CHANGE: `createAsyncComponent` has been renamed to `defineAsyncComponent` for consistency with `defineComponent`.
Cédric Exbrayat [Thu, 26 Mar 2020 13:31:54 +0000 (14:31 +0100)]
chore: readme typos (#885)
[ci skip]
Evan You [Wed, 25 Mar 2020 21:55:09 +0000 (17:55 -0400)]
chore: fix tests
Evan You [Wed, 25 Mar 2020 21:27:55 +0000 (17:27 -0400)]
fix(portal): portal should always remove its children when unmounted
Evan You [Wed, 25 Mar 2020 19:08:15 +0000 (15:08 -0400)]
feat(runtime-core): failed component resolution should fallback to native element
Evan You [Wed, 25 Mar 2020 13:48:03 +0000 (09:48 -0400)]
chore: remove unused import
Albert Liu [Wed, 25 Mar 2020 13:44:19 +0000 (21:44 +0800)]
build: enforce node version on install (#881)
dependabot-preview[bot] [Wed, 25 Mar 2020 13:30:19 +0000 (09:30 -0400)]
build(deps): bump @babel/parser from 7.9.3 to 7.9.4 (#880)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.9.3 to 7.9.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.3...v7.9.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Evan You [Wed, 25 Mar 2020 13:28:37 +0000 (09:28 -0400)]
feat(runtime-core): support app.config.globalProperties
per https://github.com/vuejs/rfcs/pull/117/
Evan You [Tue, 24 Mar 2020 22:39:08 +0000 (18:39 -0400)]
chore: readme [ci skip]
Evan You [Tue, 24 Mar 2020 22:33:40 +0000 (18:33 -0400)]
release: v3.0.0-alpha.10
Evan You [Tue, 24 Mar 2020 22:29:15 +0000 (18:29 -0400)]
chore: improve parser option comments [ci skip]
Evan You [Tue, 24 Mar 2020 22:18:59 +0000 (18:18 -0400)]
chore: rmeove debugger [ci skip]
Evan You [Tue, 24 Mar 2020 21:57:27 +0000 (17:57 -0400)]
build: tweak flags
Evan You [Tue, 24 Mar 2020 17:02:17 +0000 (13:02 -0400)]
chore: fix resolveAsset test typing
Evan You [Tue, 24 Mar 2020 16:59:33 +0000 (12:59 -0400)]
fix: fix option merge global mixins presence check
Evan You [Tue, 24 Mar 2020 16:58:12 +0000 (12:58 -0400)]
chore: fix Portal test types
Evan You [Tue, 24 Mar 2020 16:43:06 +0000 (12:43 -0400)]
fix(reactivity): should not trigger map keys iteration when keys did not change
fix #877
ysj16 [Tue, 24 Mar 2020 16:09:42 +0000 (00:09 +0800)]
fix(TransitionGroup): ignore comment node when warn (fix#869) (#875)
Evan You [Tue, 24 Mar 2020 16:03:21 +0000 (12:03 -0400)]
test: improve $options test to use beforeCreate hook
Evan You [Tue, 24 Mar 2020 15:59:00 +0000 (11:59 -0400)]
feat(runtime-core): support `config.optionMergeStrategies`
Note the behavior is different from Vue 2:
- merge strategies no longer apply to built-in options.
- the default value is now an empty object and no longer exposes merge
strategies for built-in options.
Evan You [Tue, 24 Mar 2020 14:28:00 +0000 (10:28 -0400)]
fix(keep-alive): should update re-activated component with latest props
Evan You [Mon, 23 Mar 2020 21:36:19 +0000 (17:36 -0400)]
types: fix createVNode dts generation
Evan You [Mon, 23 Mar 2020 21:25:29 +0000 (17:25 -0400)]
fix(compiler-core): support interpolation in RCDATA mode (e.g. textarea)
Evan You [Mon, 23 Mar 2020 20:54:28 +0000 (16:54 -0400)]
refactor: transformHArgs -> transformVNodeArgs
Evan You [Mon, 23 Mar 2020 20:14:56 +0000 (16:14 -0400)]
feat(asyncComponent): SSR/hydration support for async component
Evan You [Mon, 23 Mar 2020 19:26:16 +0000 (15:26 -0400)]
chore: update dist file readme
Evan You [Mon, 23 Mar 2020 19:10:35 +0000 (15:10 -0400)]
fix: do not drop SFC runtime behavior code in global builds
fix #873
Evan You [Mon, 23 Mar 2020 19:09:29 +0000 (15:09 -0400)]
build: add runtime-global build for vue
Evan You [Mon, 23 Mar 2020 18:47:04 +0000 (14:47 -0400)]
fix: dynamic component fallback to native element
fix #870
Evan You [Mon, 23 Mar 2020 15:28:20 +0000 (11:28 -0400)]
fix(reactivity): should not observe frozen objects
fix #867
Evan You [Mon, 23 Mar 2020 15:13:37 +0000 (11:13 -0400)]
fix(transition): fix duration prop validation
fix #868
Yang Mingshan [Mon, 23 Mar 2020 15:11:27 +0000 (23:11 +0800)]
types(watch): export watchEffect types (#866)
Yang Mingshan [Mon, 23 Mar 2020 15:11:00 +0000 (23:11 +0800)]
chore: prefer const (#865)
dependabot-preview[bot] [Mon, 23 Mar 2020 15:10:34 +0000 (11:10 -0400)]
build(deps): bump @babel/types from 7.8.7 to 7.9.0 (#872)
Bumps [@babel/types](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Mon, 23 Mar 2020 15:10:23 +0000 (11:10 -0400)]
build(deps): bump @babel/parser from 7.8.8 to 7.9.3 (#871)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.8.8 to 7.9.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.8...v7.9.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Evan You [Mon, 23 Mar 2020 15:08:22 +0000 (11:08 -0400)]
refactor(types): use stricter settings
fix #847
Evan You [Sat, 21 Mar 2020 20:25:33 +0000 (16:25 -0400)]
fix(runtime-core): fix component proxy props presence check
fix #864
Evan You [Sat, 21 Mar 2020 20:01:08 +0000 (16:01 -0400)]
feat(runtime-core): async component support
Igor Randjelovic [Sat, 21 Mar 2020 19:11:04 +0000 (20:11 +0100)]
fix(runtime-dom): invalid lineGradient svg tag (#863)
close #862
ysj16 [Fri, 20 Mar 2020 15:29:44 +0000 (23:29 +0800)]
perf(transform-vif): don't need to createBlock for a component (#853)
Evan You [Thu, 19 Mar 2020 20:38:31 +0000 (16:38 -0400)]
build: run ls-lint on commit
Lucas Löffel [Thu, 19 Mar 2020 20:35:55 +0000 (21:35 +0100)]
build: add ls-lint for linting file names (#855)
Jessica Sachs [Thu, 19 Mar 2020 14:54:03 +0000 (10:54 -0400)]
feat: add hook for transforming h's arguments (#851)
Note: this is for internal use (e.g. `@vue/test-utils`) only
dependabot-preview[bot] [Thu, 19 Mar 2020 07:51:25 +0000 (07:51 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.9 to 7.7.10
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.9 to 7.7.10.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.9...@microsoft/api-extractor_v7.7.10)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Wed, 18 Mar 2020 22:14:51 +0000 (18:14 -0400)]
refactor: remove null comparisons
Evan You [Wed, 18 Mar 2020 20:35:04 +0000 (16:35 -0400)]
test(runtime-core): tests for vnode hooks
Evan You [Wed, 18 Mar 2020 19:40:20 +0000 (15:40 -0400)]
fix(suspense): clear effects on suspense resolve
Evan You [Wed, 18 Mar 2020 16:30:20 +0000 (12:30 -0400)]
types: improve directive hook argument types
Evan You [Wed, 18 Mar 2020 15:43:32 +0000 (11:43 -0400)]
refactor: separate vnode hooks and directive hooks
Evan You [Wed, 18 Mar 2020 13:51:17 +0000 (09:51 -0400)]
refactor: refactor vnode hooks invocation
dependabot-preview[bot] [Wed, 18 Mar 2020 07:47:29 +0000 (07:47 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.7.8 to 7.7.9
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.7.8 to 7.7.9.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.7.8...@microsoft/api-extractor_v7.7.9)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Tue, 17 Mar 2020 15:36:56 +0000 (11:36 -0400)]
fix(compiler-core): assign patchFlag for template v-if fragment
fix #850
Evan You [Tue, 17 Mar 2020 14:35:32 +0000 (10:35 -0400)]
fix(runtime-core): fix boolean props validation
Evan You [Mon, 16 Mar 2020 22:59:10 +0000 (18:59 -0400)]
chore: update readme todo [ci skip]
Evan You [Mon, 16 Mar 2020 22:56:44 +0000 (18:56 -0400)]
release: v3.0.0-alpha.9
likui [Mon, 16 Mar 2020 22:46:01 +0000 (06:46 +0800)]
fix(runtime-dom): patch xlink attribute (#842)
yang [Mon, 16 Mar 2020 22:45:08 +0000 (06:45 +0800)]
refactor(componentProps): extract validate prop name logic (#825)
yang [Mon, 16 Mar 2020 22:41:11 +0000 (06:41 +0800)]
types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Component type (#824)
Evan You [Mon, 16 Mar 2020 22:36:19 +0000 (18:36 -0400)]
feat(ssr): support getSSRProps for vnode directives
Evan You [Mon, 16 Mar 2020 22:24:26 +0000 (18:24 -0400)]
fix(compiler-ssr): should pass necessary tag names for dynamic v-bind
Evan You [Mon, 16 Mar 2020 22:14:49 +0000 (18:14 -0400)]
fix(compiler-ssr): fix input w/ v-bind="obj" codegen
Evan You [Mon, 16 Mar 2020 21:51:56 +0000 (17:51 -0400)]
refactor(compiler): remove modelValue from generated code for native v-model
Evan You [Mon, 16 Mar 2020 20:24:49 +0000 (16:24 -0400)]
feat(compiler-sfc): add ssr option
Evan You [Mon, 16 Mar 2020 19:38:35 +0000 (15:38 -0400)]
refactor: simplify suspense ssr + adjust behavior
Evan You [Mon, 16 Mar 2020 17:17:57 +0000 (13:17 -0400)]
test: fix resolveAssets test + test resolveDynamicComponent in slots
Evan You [Mon, 16 Mar 2020 17:06:37 +0000 (13:06 -0400)]
fix: simplify and use correct ctx in withCtx
Evan You [Mon, 16 Mar 2020 16:51:59 +0000 (12:51 -0400)]
chore: fix snapshot
Evan You [Mon, 16 Mar 2020 16:47:49 +0000 (12:47 -0400)]
Revert "refactor(directives): remove binding.instance"
This reverts commit
52cc7e823148289b3dcdcb6b521984ab815fce79 .
Evan You [Mon, 16 Mar 2020 16:46:15 +0000 (12:46 -0400)]
refactor: simplify resolveDyanmicComponent
Evan You [Mon, 16 Mar 2020 16:40:58 +0000 (12:40 -0400)]
refactor(template-ref): improve template ref handling
close #836, close #839
Evan You [Mon, 16 Mar 2020 16:20:52 +0000 (12:20 -0400)]
feat(runtime-core): set context for manual slot functions as well
Evan You [Mon, 16 Mar 2020 15:23:29 +0000 (11:23 -0400)]
feat(compiler-core): wrap slot functions with render context
djy0 [Mon, 16 Mar 2020 17:06:03 +0000 (01:06 +0800)]
test(runtime-core): fix test for vnode key (#846)
sqal [Mon, 16 Mar 2020 14:28:17 +0000 (15:28 +0100)]
fix(runtime-core): pass instance proxy as data() argument (#828)
Match current behaviour of vue 2
dependabot-preview[bot] [Mon, 16 Mar 2020 14:27:48 +0000 (10:27 -0400)]
build(deps): bump @babel/parser from 7.8.7 to 7.8.8 (#830)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.8.7 to 7.8.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.8.8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Evan You [Mon, 16 Mar 2020 14:27:03 +0000 (10:27 -0400)]
fix(compiler-core): fix property shorthand detection
fix #845
jods [Mon, 16 Mar 2020 14:19:06 +0000 (15:19 +0100)]
fix(runtime-core): empty boolean props (#844)
close #843
likui [Sun, 15 Mar 2020 15:40:58 +0000 (23:40 +0800)]
feat(types): export `ErrorTypes` (#840)
djy0 [Sun, 15 Mar 2020 15:29:21 +0000 (23:29 +0800)]
chore(runtime-core): fix typo in warning (#841) [ci skip]
Evan You [Fri, 13 Mar 2020 22:02:53 +0000 (18:02 -0400)]
feat(ssr): improve fragment mismatch handling
Evan You [Fri, 13 Mar 2020 17:04:44 +0000 (13:04 -0400)]
test(ssr): hydration suspense tests
Evan You [Fri, 13 Mar 2020 15:59:26 +0000 (11:59 -0400)]
chore: move hydration tests
Evan You [Fri, 13 Mar 2020 15:55:04 +0000 (11:55 -0400)]
refactor(ssr): adjust ssr fragment anchor content
Evan You [Fri, 13 Mar 2020 15:35:17 +0000 (11:35 -0400)]
feat(ssr): hide comment anchors during hydration in dev mode
Evan You [Fri, 13 Mar 2020 02:19:41 +0000 (22:19 -0400)]
feat(ssr/suspense): suspense hydration
In order to support hydration of async components, server-rendered
fragments must be explicitly marked with comment nodes.
dependabot-preview[bot] [Fri, 13 Mar 2020 07:35:50 +0000 (07:35 +0000)]
build(deps-dev): bump minimist from 1.2.4 to 1.2.5
Bumps [minimist](https://github.com/substack/minimist) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.4...1.2.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Thu, 12 Mar 2020 20:13:12 +0000 (16:13 -0400)]
feat(runtime-core): implement RFC-0020
BREAKING CHANGE: data no longer supports object format (per RFC-0020)
Katashin [Thu, 12 Mar 2020 15:46:32 +0000 (23:46 +0800)]
feat(runtime-core): add special property to get class component options (#821)
hareku [Thu, 12 Mar 2020 14:19:30 +0000 (23:19 +0900)]
fix(types): app.component should accept defineComponent return type (#822)
fix #730
dependabot-preview[bot] [Thu, 12 Mar 2020 07:35:37 +0000 (07:35 +0000)]
build(deps-dev): bump minimist from 1.2.3 to 1.2.4
Bumps [minimist](https://github.com/substack/minimist) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.3...1.2.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Cédric Exbrayat [Wed, 11 Mar 2020 20:44:14 +0000 (21:44 +0100)]
fix(runtime-core): always set invalid vnode type (#820)
Currently, when a component used is not properly registered, we have a warning and the vnode type is set to a Comment type in DEV mode. But in prod mode, we have no default value, making such an application broken and throw a strange error (`can not read _isSuspense of undefined`).
This commit avoids such an error in prod mode (as it is currently the case in Vue 2.x).
Evan You [Wed, 11 Mar 2020 20:39:26 +0000 (16:39 -0400)]
fix(build): remove __RUNTIME_COMPILE__ flag
behavior should be consistent in all builds. fix #817
Cédric Exbrayat [Wed, 11 Mar 2020 15:17:10 +0000 (16:17 +0100)]
refactor(Suspense): remove unnecessary casts (#819)