]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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)
dependabot-preview[bot] [Wed, 11 Mar 2020 07:27:38 +0000 (07:27 +0000)]
build(deps-dev): bump minimist from 1.2.0 to 1.2.3
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Tue, 10 Mar 2020 21:13:27 +0000 (17:13 -0400)]
test: fix & improve ssr warning assertion
Evan You [Tue, 10 Mar 2020 20:52:08 +0000 (16:52 -0400)]
feat(ssr): compiler-ssr support for Suspense
Evan You [Tue, 10 Mar 2020 19:28:13 +0000 (15:28 -0400)]
refactor(ssr): improve ssr async setup / suspense error handling
Evan You [Tue, 10 Mar 2020 19:23:14 +0000 (15:23 -0400)]
test(srr): group portal tests
dependabot-preview[bot] [Tue, 10 Mar 2020 07:54:04 +0000 (07:54 +0000)]
build(deps-dev): bump rollup-plugin-terser from 5.2.0 to 5.3.0
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.2.0...v5.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Dmitry Sharshakov [Mon, 9 Mar 2020 22:20:30 +0000 (01:20 +0300)]
feat(server-renderer): render suspense in vnode mode (#727)
hareku [Mon, 9 Mar 2020 21:08:05 +0000 (06:08 +0900)]
test(runtime-core/renderer): tests for rendering elements (#699)
Evan You [Mon, 9 Mar 2020 20:15:49 +0000 (16:15 -0400)]
refactor(runtime-core): adjust patchProp value arguments order
BREAKING CHANGE: `RendererOptions.patchProp` arguments order has changed
The `prevValue` and `nextValue` position has been swapped to keep it
consistent with other functions in the renderer implementation. This
only affects custom renderers using the `createRenderer` API.
hareku [Mon, 9 Mar 2020 20:08:10 +0000 (05:08 +0900)]
fix(runtime-core): pass prev value to hostPatchProp (#809)
fix #808
djy0 [Mon, 9 Mar 2020 20:03:57 +0000 (04:03 +0800)]
fix(runtime-core): should allow empty string and 0 as valid vnode key (#807)
djy0 [Mon, 9 Mar 2020 20:01:49 +0000 (04:01 +0800)]
types(reactivity): remove this in get accessor, fix #800 (#806)
hareku [Mon, 9 Mar 2020 19:58:52 +0000 (04:58 +0900)]
types(runtime-core): update error type to unknown (#798)
dependabot-preview[bot] [Mon, 9 Mar 2020 19:57:28 +0000 (15:57 -0400)]
build(deps-dev): bump rollup from 1.32.0 to 1.32.1 (#810)
Bumps [rollup](https://github.com/rollup/rollup) from 1.32.0 to 1.32.1.
- [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.32.0...v1.32.1)
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 [Fri, 6 Mar 2020 20:58:40 +0000 (15:58 -0500)]
release: v3.0.0-alpha.8
Evan You [Fri, 6 Mar 2020 20:39:54 +0000 (15:39 -0500)]
test(ssr): test for hydration mismatch handling
Evan You [Fri, 6 Mar 2020 20:14:12 +0000 (15:14 -0500)]
test(ssr): ssr + hydration integration test
Evan You [Fri, 6 Mar 2020 19:52:15 +0000 (14:52 -0500)]
fix(ssr): fix ssr on-the-fly compilation + slot fallback branch helper injection
Evan You [Fri, 6 Mar 2020 17:11:37 +0000 (12:11 -0500)]
fix(reactivity): allow effect trigger inside no-track execution contexts
fix #804
Evan You [Fri, 6 Mar 2020 17:02:38 +0000 (12:02 -0500)]
chore(template-explorer): bump monaco version for live deployed page
Cédric Exbrayat [Fri, 6 Mar 2020 17:01:13 +0000 (18:01 +0100)]
chore(template-explorer): update monaco dependency (#793)
hareku [Fri, 6 Mar 2020 16:32:39 +0000 (01:32 +0900)]
types(reactivity): add undefined type to ref/shallowRef when no args (#791)
Evan You [Fri, 6 Mar 2020 16:30:56 +0000 (11:30 -0500)]
fix(reactivity): should not trigger length dependency on Array delete
close #774
dependabot-preview[bot] [Fri, 6 Mar 2020 16:24:21 +0000 (11:24 -0500)]
build(deps): bump @babel/parser from 7.8.6 to 7.8.7 (#797)
Bumps [@babel/parser](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [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.6...v7.8.7)
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] [Fri, 6 Mar 2020 16:24:09 +0000 (11:24 -0500)]
build(deps): bump @babel/types from 7.8.6 to 7.8.7 (#796)
Bumps [@babel/types](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [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.6...v7.8.7)
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 [Fri, 6 Mar 2020 16:10:02 +0000 (11:10 -0500)]
fix(reactivity): Map/Set identity methods should work even if raw value contains reactive entries
fix #799
Evan You [Thu, 5 Mar 2020 22:57:52 +0000 (16:57 -0600)]
types: remove 'this' annotation from 'get' accessor (#801)
The next version of Typescript disallows 'this' parameter annotations on
accessors, which causes vue-next to fail to compile.
This PR removes the annotation and adds a cast instead.
Fixes #800
Evan You [Thu, 5 Mar 2020 16:29:50 +0000 (10:29 -0600)]
test(ssr): more hydration tests
Evan You [Wed, 4 Mar 2020 23:06:50 +0000 (17:06 -0600)]
test(ssr): hydratioon tests (wip)
Evan You [Tue, 3 Mar 2020 21:12:38 +0000 (15:12 -0600)]
feat(ssr): hydration mismatch handling
Evan You [Tue, 3 Mar 2020 18:26:32 +0000 (12:26 -0600)]
fix(directives): ignore invalid directive hooks
fix #795
火石 [Tue, 3 Mar 2020 16:05:07 +0000 (00:05 +0800)]
chore: fix componentRenderUtils.ts comment typo (#790) [ci skip]
dependabot-preview[bot] [Mon, 2 Mar 2020 08:19:01 +0000 (08:19 +0000)]
build(deps-dev): bump typescript from 3.8.2 to 3.8.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.2...v3.8.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Sun, 1 Mar 2020 03:05:41 +0000 (22:05 -0500)]
chore: update @vue/shared readme [ci skip]
Evan You [Sun, 1 Mar 2020 03:04:42 +0000 (22:04 -0500)]
build: make @vue/shared public
This avoids it being inlined multiple times in esm bundler builds
Evan You [Fri, 28 Feb 2020 22:53:26 +0000 (17:53 -0500)]
refactor(runtime-core): adjust attr fallthrough behavior
BREAKING CHANGE: adjust attr fallthrough behavior
Updated per pending RFC https://github.com/vuejs/rfcs/pull/137
- Implicit fallthrough now by default only applies for a whitelist
of attributes (class, style, event listeners, a11y attributes, and
data attributes).
- Fallthrough is now applied regardless of whether the component has
explicitly declared props. (close #749)
dependabot-preview[bot] [Fri, 28 Feb 2020 07:59:24 +0000 (07:59 +0000)]
build(deps-dev): bump rollup from 1.31.1 to 1.32.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.31.1 to 1.32.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.31.1...v1.32.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Fri, 28 Feb 2020 02:51:57 +0000 (21:51 -0500)]
fix(runtime-core): ensure inhertied attrs update on optimized child root
fix #677, close #784
Evan You [Thu, 27 Feb 2020 22:15:51 +0000 (17:15 -0500)]
chore: fix snapshot
Evan You [Thu, 27 Feb 2020 21:53:51 +0000 (16:53 -0500)]
feat(compiler-core): switch to @babel/parser for expression parsing
This enables default support for parsing bigInt, optional chaining
and nullish coalescing, and also adds the `expressionPlugins`
compiler option for enabling additional parsing plugins listed at
https://babeljs.io/docs/en/next/babel-parser#plugins.
Evan You [Thu, 27 Feb 2020 16:26:39 +0000 (11:26 -0500)]
refactor(hydration): move fragment to seaprate function + skip normalization in optimized mode
Evan You [Thu, 27 Feb 2020 02:43:27 +0000 (21:43 -0500)]
fix(slots): fix conditional slot
fix #787
Evan You [Thu, 27 Feb 2020 02:29:41 +0000 (21:29 -0500)]
test: fix options usage of reactive
Evan You [Thu, 27 Feb 2020 00:01:42 +0000 (19:01 -0500)]
refactor(runtime-core): revert setup() result reactive conversion
BREAKING CHANGE: revert setup() result reactive conversion
Revert
6b10f0c &
a840e7d . The motivation of the original change was
avoiding unnecessary deep conversions, but that can be achieved by
explicitly marking values non-reactive via `markNonReactive`.
Removing the reactive conversion behavior leads to an usability
issue in that plain objects containing refs (which is what most
composition functions will return), when exposed as a nested
property from `setup()`, will not unwrap the refs in templates. This
goes against the "no .value in template" intuition and the only
workaround requires users to manually wrap it again with `reactive()`.
So in this commit we are reverting to the previous behavior where
objects returned from `setup()` are implicitly wrapped with
`reactive()` for deep ref unwrapping.
Evan You [Wed, 26 Feb 2020 21:32:06 +0000 (16:32 -0500)]
refactor(fragments): remove visible anchors for fragments
Evan You [Wed, 26 Feb 2020 21:07:00 +0000 (16:07 -0500)]
fix(portal): fix portal placeholder text
Evan You [Wed, 26 Feb 2020 20:05:11 +0000 (15:05 -0500)]
refactor(compiler-ssr): extract portal processing + emit errors
Dmitry Sharshakov [Wed, 26 Feb 2020 19:59:53 +0000 (22:59 +0300)]
feat(compiler-ssr): compile portal (#775)
Evan You [Wed, 26 Feb 2020 19:36:38 +0000 (14:36 -0500)]
release: v3.0.0-alpha.7
Evan You [Wed, 26 Feb 2020 15:12:32 +0000 (10:12 -0500)]
refactor: use consistent name for watch invalidation register function
djy0 [Wed, 26 Feb 2020 15:20:10 +0000 (23:20 +0800)]
fix(runtime-core): set appContext.provides to Object.create(null) (#781)
djy0 [Wed, 26 Feb 2020 15:13:07 +0000 (23:13 +0800)]
fix(template-explorer): rename watch -> watchEffect (#780)
Praveen Puglia [Wed, 26 Feb 2020 15:11:49 +0000 (20:41 +0530)]
chore: fixes a small typo and prettifies the document (#778)
dependabot-preview[bot] [Wed, 26 Feb 2020 07:46:26 +0000 (07:46 +0000)]
build(deps-dev): bump @types/puppeteer from 2.0.0 to 2.0.1
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Evan You [Wed, 26 Feb 2020 01:43:01 +0000 (20:43 -0500)]
fix(types): shallowRef should not unwrap value type
Evan You [Wed, 26 Feb 2020 01:38:02 +0000 (20:38 -0500)]
test: add type test for nested refs in ref.value
Evan You [Wed, 26 Feb 2020 00:44:06 +0000 (19:44 -0500)]
fix(types): ref value type unwrapping should happen at creation time
Evan You [Tue, 25 Feb 2020 23:57:41 +0000 (18:57 -0500)]
refactor: remove old watch signature support
Evan You [Wed, 26 Feb 2020 00:35:48 +0000 (19:35 -0500)]
refactor(directives): remove binding.instance
BREAKING CHANGE: custom directive bindings no longer expose instance
This is a rarely used property that creates extra complexity in
ensuring it points to the correct instance. From a design
perspective, a custom directive should be scoped to the element and
data it is bound to and should not have access to the entire
instance in the first place.
Evan You [Tue, 25 Feb 2020 23:29:51 +0000 (18:29 -0500)]
fix(template-ref): fix string template refs inside slots
ysj16 [Tue, 25 Feb 2020 15:41:44 +0000 (23:41 +0800)]
fix(renderSlot): set slot render as a STABLE_FRAGMENT (#776)
fix #766
Evan You [Tue, 25 Feb 2020 04:05:35 +0000 (23:05 -0500)]
fix(runtime-core): fix slot fallback + slots typing
fix #773