]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
5 years agorefactor: remove null comparisons
Evan You [Wed, 18 Mar 2020 22:14:51 +0000 (18:14 -0400)] 
refactor: remove null comparisons

5 years agotest(runtime-core): tests for vnode hooks
Evan You [Wed, 18 Mar 2020 20:35:04 +0000 (16:35 -0400)] 
test(runtime-core): tests for vnode hooks

5 years agofix(suspense): clear effects on suspense resolve
Evan You [Wed, 18 Mar 2020 19:40:20 +0000 (15:40 -0400)] 
fix(suspense): clear effects on suspense resolve

5 years agotypes: improve directive hook argument types
Evan You [Wed, 18 Mar 2020 16:30:20 +0000 (12:30 -0400)] 
types: improve directive hook argument types

5 years agorefactor: separate vnode hooks and directive hooks
Evan You [Wed, 18 Mar 2020 15:43:32 +0000 (11:43 -0400)] 
refactor: separate vnode hooks and directive hooks

5 years agorefactor: refactor vnode hooks invocation
Evan You [Wed, 18 Mar 2020 13:51:17 +0000 (09:51 -0400)] 
refactor: refactor vnode hooks invocation

5 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.7.8 to 7.7.9
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>
5 years agofix(compiler-core): assign patchFlag for template v-if fragment
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

5 years agofix(runtime-core): fix boolean props validation
Evan You [Tue, 17 Mar 2020 14:35:32 +0000 (10:35 -0400)] 
fix(runtime-core): fix boolean props validation

5 years agochore: update readme todo [ci skip]
Evan You [Mon, 16 Mar 2020 22:59:10 +0000 (18:59 -0400)] 
chore: update readme todo [ci skip]

5 years agorelease: v3.0.0-alpha.9 v3.0.0-alpha.9
Evan You [Mon, 16 Mar 2020 22:56:44 +0000 (18:56 -0400)] 
release: v3.0.0-alpha.9

5 years agofix(runtime-dom): patch xlink attribute (#842)
likui [Mon, 16 Mar 2020 22:46:01 +0000 (06:46 +0800)] 
fix(runtime-dom): patch xlink attribute (#842)

5 years agorefactor(componentProps): extract validate prop name logic (#825)
yang [Mon, 16 Mar 2020 22:45:08 +0000 (06:45 +0800)] 
refactor(componentProps): extract validate prop name logic (#825)

5 years agotypes(ComponentInternalInstance): ComponentInternalInstance.type could reuse Componen...
yang [Mon, 16 Mar 2020 22:41:11 +0000 (06:41 +0800)] 
types(ComponentInternalInstance): ComponentInternalInstance.type could reuse Component type (#824)

5 years agofeat(ssr): support getSSRProps for vnode directives
Evan You [Mon, 16 Mar 2020 22:36:19 +0000 (18:36 -0400)] 
feat(ssr): support getSSRProps for vnode directives

5 years agofix(compiler-ssr): should pass necessary tag names for dynamic v-bind
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

5 years agofix(compiler-ssr): fix input w/ v-bind="obj" codegen
Evan You [Mon, 16 Mar 2020 22:14:49 +0000 (18:14 -0400)] 
fix(compiler-ssr): fix input w/ v-bind="obj" codegen

5 years agorefactor(compiler): remove modelValue from generated code for native v-model
Evan You [Mon, 16 Mar 2020 21:51:56 +0000 (17:51 -0400)] 
refactor(compiler): remove modelValue from generated code for native v-model

5 years agofeat(compiler-sfc): add ssr option
Evan You [Mon, 16 Mar 2020 20:24:49 +0000 (16:24 -0400)] 
feat(compiler-sfc): add ssr option

5 years agorefactor: simplify suspense ssr + adjust behavior
Evan You [Mon, 16 Mar 2020 19:38:35 +0000 (15:38 -0400)] 
refactor: simplify suspense ssr + adjust behavior

5 years agotest: fix resolveAssets test + test resolveDynamicComponent in slots
Evan You [Mon, 16 Mar 2020 17:17:57 +0000 (13:17 -0400)] 
test: fix resolveAssets test + test resolveDynamicComponent in slots

5 years agofix: simplify and use correct ctx in withCtx
Evan You [Mon, 16 Mar 2020 17:06:37 +0000 (13:06 -0400)] 
fix: simplify and use correct ctx in withCtx

5 years agochore: fix snapshot
Evan You [Mon, 16 Mar 2020 16:51:59 +0000 (12:51 -0400)] 
chore: fix snapshot

5 years agoRevert "refactor(directives): remove binding.instance"
Evan You [Mon, 16 Mar 2020 16:47:49 +0000 (12:47 -0400)] 
Revert "refactor(directives): remove binding.instance"

This reverts commit 52cc7e823148289b3dcdcb6b521984ab815fce79.

5 years agorefactor: simplify resolveDyanmicComponent
Evan You [Mon, 16 Mar 2020 16:46:15 +0000 (12:46 -0400)] 
refactor: simplify resolveDyanmicComponent

5 years agorefactor(template-ref): improve template ref handling
Evan You [Mon, 16 Mar 2020 16:40:58 +0000 (12:40 -0400)] 
refactor(template-ref): improve template ref handling

close #836, close #839

5 years agofeat(runtime-core): set context for manual slot functions as well
Evan You [Mon, 16 Mar 2020 16:20:52 +0000 (12:20 -0400)] 
feat(runtime-core): set context for manual slot functions as well

5 years agofeat(compiler-core): wrap slot functions with render context
Evan You [Mon, 16 Mar 2020 15:23:29 +0000 (11:23 -0400)] 
feat(compiler-core): wrap slot functions with render context

5 years agotest(runtime-core): fix test for vnode key (#846)
djy0 [Mon, 16 Mar 2020 17:06:03 +0000 (01:06 +0800)] 
test(runtime-core): fix test for vnode key (#846)

5 years agofix(runtime-core): pass instance proxy as data() argument (#828)
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

5 years agobuild(deps): bump @babel/parser from 7.8.7 to 7.8.8 (#830)
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>
5 years agofix(compiler-core): fix property shorthand detection
Evan You [Mon, 16 Mar 2020 14:27:03 +0000 (10:27 -0400)] 
fix(compiler-core): fix property shorthand detection

fix #845

5 years agofix(runtime-core): empty boolean props (#844)
jods [Mon, 16 Mar 2020 14:19:06 +0000 (15:19 +0100)] 
fix(runtime-core): empty boolean props (#844)

close #843

5 years agofeat(types): export `ErrorTypes` (#840)
likui [Sun, 15 Mar 2020 15:40:58 +0000 (23:40 +0800)] 
feat(types): export `ErrorTypes` (#840)

5 years agochore(runtime-core): fix typo in warning (#841) [ci skip]
djy0 [Sun, 15 Mar 2020 15:29:21 +0000 (23:29 +0800)] 
chore(runtime-core): fix typo in warning (#841) [ci skip]

5 years agofeat(ssr): improve fragment mismatch handling
Evan You [Fri, 13 Mar 2020 22:02:53 +0000 (18:02 -0400)] 
feat(ssr): improve fragment mismatch handling

5 years agotest(ssr): hydration suspense tests
Evan You [Fri, 13 Mar 2020 17:04:44 +0000 (13:04 -0400)] 
test(ssr): hydration suspense tests

5 years agochore: move hydration tests
Evan You [Fri, 13 Mar 2020 15:59:26 +0000 (11:59 -0400)] 
chore: move hydration tests

5 years agorefactor(ssr): adjust ssr fragment anchor content
Evan You [Fri, 13 Mar 2020 15:55:04 +0000 (11:55 -0400)] 
refactor(ssr): adjust ssr fragment anchor content

5 years agofeat(ssr): hide comment anchors during hydration in dev mode
Evan You [Fri, 13 Mar 2020 15:35:17 +0000 (11:35 -0400)] 
feat(ssr): hide comment anchors during hydration in dev mode

5 years agofeat(ssr/suspense): suspense hydration
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.

5 years agobuild(deps-dev): bump minimist from 1.2.4 to 1.2.5
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>
5 years agofeat(runtime-core): implement RFC-0020
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)

5 years agofeat(runtime-core): add special property to get class component options (#821)
Katashin [Thu, 12 Mar 2020 15:46:32 +0000 (23:46 +0800)] 
feat(runtime-core): add special property to get class component options (#821)

5 years agofix(types): app.component should accept defineComponent return type (#822)
hareku [Thu, 12 Mar 2020 14:19:30 +0000 (23:19 +0900)] 
fix(types): app.component should accept defineComponent return type (#822)

fix #730

5 years agobuild(deps-dev): bump minimist from 1.2.3 to 1.2.4
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>
5 years agofix(runtime-core): always set invalid vnode type (#820)
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).

5 years agofix(build): remove __RUNTIME_COMPILE__ flag
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

5 years agorefactor(Suspense): remove unnecessary casts (#819)
Cédric Exbrayat [Wed, 11 Mar 2020 15:17:10 +0000 (16:17 +0100)] 
refactor(Suspense): remove unnecessary casts (#819)

5 years agobuild(deps-dev): bump minimist from 1.2.0 to 1.2.3
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>
5 years agotest: fix & improve ssr warning assertion
Evan You [Tue, 10 Mar 2020 21:13:27 +0000 (17:13 -0400)] 
test: fix & improve ssr warning assertion

5 years agofeat(ssr): compiler-ssr support for Suspense
Evan You [Tue, 10 Mar 2020 20:52:08 +0000 (16:52 -0400)] 
feat(ssr): compiler-ssr support for Suspense

5 years agorefactor(ssr): improve ssr async setup / suspense error handling
Evan You [Tue, 10 Mar 2020 19:28:13 +0000 (15:28 -0400)] 
refactor(ssr): improve ssr async setup / suspense error handling

5 years agotest(srr): group portal tests
Evan You [Tue, 10 Mar 2020 19:23:14 +0000 (15:23 -0400)] 
test(srr): group portal tests

5 years agobuild(deps-dev): bump rollup-plugin-terser from 5.2.0 to 5.3.0
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>
5 years agofeat(server-renderer): render suspense in vnode mode (#727)
Dmitry Sharshakov [Mon, 9 Mar 2020 22:20:30 +0000 (01:20 +0300)] 
feat(server-renderer): render suspense in vnode mode (#727)

5 years agotest(runtime-core/renderer): tests for rendering elements (#699)
hareku [Mon, 9 Mar 2020 21:08:05 +0000 (06:08 +0900)] 
test(runtime-core/renderer): tests for rendering elements (#699)

5 years agorefactor(runtime-core): adjust patchProp value arguments order
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.

5 years agofix(runtime-core): pass prev value to hostPatchProp (#809)
hareku [Mon, 9 Mar 2020 20:08:10 +0000 (05:08 +0900)] 
fix(runtime-core): pass prev value to hostPatchProp (#809)

fix #808

5 years agofix(runtime-core): should allow empty string and 0 as valid vnode key (#807)
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)

5 years agotypes(reactivity): remove this in get accessor, fix #800 (#806)
djy0 [Mon, 9 Mar 2020 20:01:49 +0000 (04:01 +0800)] 
types(reactivity): remove this in get accessor, fix #800 (#806)

5 years agotypes(runtime-core): update error type to unknown (#798)
hareku [Mon, 9 Mar 2020 19:58:52 +0000 (04:58 +0900)] 
types(runtime-core): update error type to unknown (#798)

5 years agobuild(deps-dev): bump rollup from 1.32.0 to 1.32.1 (#810)
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>
5 years agorelease: v3.0.0-alpha.8 v3.0.0-alpha.8
Evan You [Fri, 6 Mar 2020 20:58:40 +0000 (15:58 -0500)] 
release: v3.0.0-alpha.8

5 years agotest(ssr): test for hydration mismatch handling
Evan You [Fri, 6 Mar 2020 20:39:54 +0000 (15:39 -0500)] 
test(ssr): test for hydration mismatch handling

5 years agotest(ssr): ssr + hydration integration test
Evan You [Fri, 6 Mar 2020 20:14:12 +0000 (15:14 -0500)] 
test(ssr): ssr + hydration integration test

5 years agofix(ssr): fix ssr on-the-fly compilation + slot fallback branch helper injection
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

5 years agofix(reactivity): allow effect trigger inside no-track execution contexts
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

5 years agochore(template-explorer): bump monaco version for live deployed page
Evan You [Fri, 6 Mar 2020 17:02:38 +0000 (12:02 -0500)] 
chore(template-explorer): bump monaco version for live deployed page

5 years agochore(template-explorer): update monaco dependency (#793)
Cédric Exbrayat [Fri, 6 Mar 2020 17:01:13 +0000 (18:01 +0100)] 
chore(template-explorer): update monaco dependency (#793)

5 years agotypes(reactivity): add undefined type to ref/shallowRef when no args (#791)
hareku [Fri, 6 Mar 2020 16:32:39 +0000 (01:32 +0900)] 
types(reactivity): add undefined type to ref/shallowRef when no args (#791)

5 years agofix(reactivity): should not trigger length dependency on Array delete
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

5 years agobuild(deps): bump @babel/parser from 7.8.6 to 7.8.7 (#797)
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>
5 years agobuild(deps): bump @babel/types from 7.8.6 to 7.8.7 (#796)
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>
5 years agofix(reactivity): Map/Set identity methods should work even if raw value contains...
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

5 years agotypes: remove 'this' annotation from 'get' accessor (#801)
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

5 years agotest(ssr): more hydration tests
Evan You [Thu, 5 Mar 2020 16:29:50 +0000 (10:29 -0600)] 
test(ssr): more hydration tests

5 years agotest(ssr): hydratioon tests (wip)
Evan You [Wed, 4 Mar 2020 23:06:50 +0000 (17:06 -0600)] 
test(ssr): hydratioon tests (wip)

5 years agofeat(ssr): hydration mismatch handling
Evan You [Tue, 3 Mar 2020 21:12:38 +0000 (15:12 -0600)] 
feat(ssr): hydration mismatch handling

5 years agofix(directives): ignore invalid directive hooks
Evan You [Tue, 3 Mar 2020 18:26:32 +0000 (12:26 -0600)] 
fix(directives): ignore invalid directive hooks

fix #795

5 years agochore: fix componentRenderUtils.ts comment typo (#790) [ci skip]
火石 [Tue, 3 Mar 2020 16:05:07 +0000 (00:05 +0800)] 
chore: fix componentRenderUtils.ts comment typo (#790) [ci skip]

5 years agobuild(deps-dev): bump typescript from 3.8.2 to 3.8.3
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>
5 years agochore: update @vue/shared readme [ci skip]
Evan You [Sun, 1 Mar 2020 03:05:41 +0000 (22:05 -0500)] 
chore: update @vue/shared readme [ci skip]

5 years agobuild: make @vue/shared public
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

5 years agorefactor(runtime-core): adjust attr fallthrough behavior
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)

5 years agobuild(deps-dev): bump rollup from 1.31.1 to 1.32.0
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>
5 years agofix(runtime-core): ensure inhertied attrs update on optimized child root
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

5 years agochore: fix snapshot
Evan You [Thu, 27 Feb 2020 22:15:51 +0000 (17:15 -0500)] 
chore: fix snapshot

5 years agofeat(compiler-core): switch to @babel/parser for expression parsing
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.

5 years agorefactor(hydration): move fragment to seaprate function + skip normalization in optim...
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

5 years agofix(slots): fix conditional slot
Evan You [Thu, 27 Feb 2020 02:43:27 +0000 (21:43 -0500)] 
fix(slots): fix conditional slot

fix #787

5 years agotest: fix options usage of reactive
Evan You [Thu, 27 Feb 2020 02:29:41 +0000 (21:29 -0500)] 
test: fix options usage of reactive

5 years agorefactor(runtime-core): revert setup() result reactive conversion
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.

5 years agorefactor(fragments): remove visible anchors for fragments
Evan You [Wed, 26 Feb 2020 21:32:06 +0000 (16:32 -0500)] 
refactor(fragments): remove visible anchors for fragments

5 years agofix(portal): fix portal placeholder text
Evan You [Wed, 26 Feb 2020 21:07:00 +0000 (16:07 -0500)] 
fix(portal): fix portal placeholder text

5 years agorefactor(compiler-ssr): extract portal processing + emit errors
Evan You [Wed, 26 Feb 2020 20:05:11 +0000 (15:05 -0500)] 
refactor(compiler-ssr): extract portal processing + emit errors

5 years agofeat(compiler-ssr): compile portal (#775)
Dmitry Sharshakov [Wed, 26 Feb 2020 19:59:53 +0000 (22:59 +0300)] 
feat(compiler-ssr): compile portal (#775)

5 years agorelease: v3.0.0-alpha.7 v3.0.0-alpha.7
Evan You [Wed, 26 Feb 2020 19:36:38 +0000 (14:36 -0500)] 
release: v3.0.0-alpha.7

5 years agorefactor: use consistent name for watch invalidation register function
Evan You [Wed, 26 Feb 2020 15:12:32 +0000 (10:12 -0500)] 
refactor: use consistent name for watch invalidation register function

5 years agofix(runtime-core): set appContext.provides to Object.create(null) (#781)
djy0 [Wed, 26 Feb 2020 15:20:10 +0000 (23:20 +0800)] 
fix(runtime-core): set appContext.provides to Object.create(null) (#781)