]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
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)

5 years agofix(template-explorer): rename watch -> watchEffect (#780)
djy0 [Wed, 26 Feb 2020 15:13:07 +0000 (23:13 +0800)] 
fix(template-explorer): rename watch -> watchEffect (#780)

5 years agochore: fixes a small typo and prettifies the document (#778)
Praveen Puglia [Wed, 26 Feb 2020 15:11:49 +0000 (20:41 +0530)] 
chore: fixes a small typo and prettifies the document (#778)

5 years agobuild(deps-dev): bump @types/puppeteer from 2.0.0 to 2.0.1
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>
5 years agofix(types): shallowRef should not unwrap value type
Evan You [Wed, 26 Feb 2020 01:43:01 +0000 (20:43 -0500)] 
fix(types): shallowRef should not unwrap value type

5 years agotest: add type test for nested refs in ref.value
Evan You [Wed, 26 Feb 2020 01:38:02 +0000 (20:38 -0500)] 
test: add type test for nested refs in ref.value

5 years agofix(types): ref value type unwrapping should happen at creation time
Evan You [Wed, 26 Feb 2020 00:44:06 +0000 (19:44 -0500)] 
fix(types): ref value type unwrapping should happen at creation time

5 years agorefactor: remove old watch signature support
Evan You [Tue, 25 Feb 2020 23:57:41 +0000 (18:57 -0500)] 
refactor: remove old watch signature support

5 years agorefactor(directives): remove binding.instance
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.

5 years agofix(template-ref): fix string template refs inside slots
Evan You [Tue, 25 Feb 2020 23:29:51 +0000 (18:29 -0500)] 
fix(template-ref): fix string template refs inside slots

5 years agofix(renderSlot): set slot render as a STABLE_FRAGMENT (#776)
ysj16 [Tue, 25 Feb 2020 15:41:44 +0000 (23:41 +0800)] 
fix(renderSlot): set slot render as a STABLE_FRAGMENT (#776)

fix #766

5 years agofix(runtime-core): fix slot fallback + slots typing
Evan You [Tue, 25 Feb 2020 04:05:35 +0000 (23:05 -0500)] 
fix(runtime-core): fix slot fallback + slots typing

fix #773

5 years agofix(runtime-core): make watchEffect ignore deep option (#765)
djy0 [Mon, 24 Feb 2020 17:03:02 +0000 (01:03 +0800)] 
fix(runtime-core): make watchEffect ignore deep option (#765)

5 years agochore: fix typo (#764) [ci skip]
djy0 [Mon, 24 Feb 2020 17:01:26 +0000 (01:01 +0800)] 
chore: fix typo (#764) [ci skip]

5 years agorefactor(ssr): extract buffer resolving and resolvePortals (#771)
Xin Du (Clark) [Mon, 24 Feb 2020 16:23:35 +0000 (16:23 +0000)] 
refactor(ssr): extract buffer resolving and resolvePortals (#771)

5 years agochore: changelog edits [ci skip]
Evan You [Sat, 22 Feb 2020 07:28:56 +0000 (08:28 +0100)] 
chore: changelog edits [ci skip]

5 years agorelease: v3.0.0-alpha.6 v3.0.0-alpha.6
Evan You [Sat, 22 Feb 2020 07:25:32 +0000 (08:25 +0100)] 
release: v3.0.0-alpha.6

5 years agofeat(runtime-core): add watchEffect API
Evan You [Sat, 22 Feb 2020 07:19:10 +0000 (08:19 +0100)] 
feat(runtime-core): add watchEffect API

BREAKING CHANGE: replae `watch(fn, options?)` with `watchEffect`

    The `watch(fn, options?)` signature has been replaced by the new
    `watchEffect` API, which has the same usage and behavior. `watch`
    now only supports the `watch(source, cb, options?)` signautre.

5 years agochore: remove debugger [ci skip]
Evan You [Sat, 22 Feb 2020 04:19:22 +0000 (05:19 +0100)] 
chore: remove debugger [ci skip]

5 years agoperf(effect): optimize effect trigger for array length mutation (#761)
guaijie [Sat, 22 Feb 2020 04:17:30 +0000 (12:17 +0800)] 
perf(effect): optimize effect trigger for array length mutation (#761)

5 years agofeat(reactivity): expose unref and shallowRef
Evan You [Sat, 22 Feb 2020 03:39:32 +0000 (04:39 +0100)] 
feat(reactivity): expose unref and shallowRef

5 years agochore: fix test type
Evan You [Sat, 22 Feb 2020 02:54:20 +0000 (03:54 +0100)] 
chore: fix test type

5 years agorefactor: preserve refs in reactive arrays
Evan You [Fri, 21 Feb 2020 16:48:39 +0000 (17:48 +0100)] 
refactor: preserve refs in reactive arrays

BREAKING CHANGE: reactive arrays no longer unwraps contained refs

    When reactive arrays contain refs, especially a mix of refs and
    plain values, Array prototype methods will fail to function
    properly - e.g. sort() or reverse() will overwrite the ref's value
    instead of moving it (see #737).

    Ensuring correct behavior for all possible Array methods while
    retaining the ref unwrapping behavior is exceedinly complicated; In
    addition, even if Vue handles the built-in methods internally, it
    would still break when the user attempts to use a 3rd party utility
    functioon (e.g. lodash) on a reactive array containing refs.

    After this commit, similar to other collection types like Map and
    Set, Arrays will no longer automatically unwrap contained refs.

    The usage of mixed refs and plain values in Arrays should be rare in
    practice. In cases where this is necessary, the user can create a
    computed property that performs the unwrapping.

5 years agofix(types): improve ref typing, close #759
Evan You [Fri, 21 Feb 2020 16:45:42 +0000 (17:45 +0100)] 
fix(types): improve ref typing, close #759

5 years agoperf(reactivity): only trigger all effects on Array length mutation if new length...
Evan You [Fri, 21 Feb 2020 14:05:16 +0000 (15:05 +0100)] 
perf(reactivity): only trigger all effects on Array length mutation if new length is shorter than old length

5 years agobuild(deps-dev): bump typescript from 3.7.5 to 3.8.2
dependabot-preview[bot] [Fri, 21 Feb 2020 13:46:21 +0000 (13:46 +0000)] 
build(deps-dev): bump typescript from 3.7.5 to 3.8.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agochore: typo (#744) [ci skip]
Reed Jones [Fri, 21 Feb 2020 13:44:58 +0000 (06:44 -0700)] 
chore: typo (#744) [ci skip]

5 years agotest(reactivity): test for ref without init value (#746)
hareku [Fri, 21 Feb 2020 13:44:41 +0000 (22:44 +0900)] 
test(reactivity): test for ref without init value (#746)

5 years agofix(sfc): inherit parent scopeId on child rooot (#756)
hareku [Fri, 21 Feb 2020 13:44:13 +0000 (22:44 +0900)] 
fix(sfc): inherit parent scopeId on child rooot (#756)

5 years agofix(compiler-dom): properly stringify class/style bindings when hoisting static strings
Evan You [Fri, 21 Feb 2020 12:10:13 +0000 (13:10 +0100)] 
fix(compiler-dom): properly stringify class/style bindings when hoisting static strings

5 years agochore: use undefined for TS 3.8 compat
Evan You [Fri, 21 Feb 2020 10:27:08 +0000 (11:27 +0100)] 
chore: use undefined for TS 3.8 compat

5 years agofix(reactivity): should trigger all effects when array length is mutated (#754)
guaijie [Fri, 21 Feb 2020 10:38:07 +0000 (18:38 +0800)] 
fix(reactivity): should trigger all effects when array length is mutated (#754)

5 years agochore: use 'const' instead of 'let' (#755) [ci skip]
Luxiaosong [Fri, 21 Feb 2020 10:21:24 +0000 (18:21 +0800)] 
chore: use 'const' instead of 'let' (#755) [ci skip]

5 years agofix(types): update setup binding unwrap types for 6b10f0c
Evan You [Wed, 19 Feb 2020 17:29:01 +0000 (18:29 +0100)] 
fix(types): update setup binding unwrap types for 6b10f0c

close #738

5 years agobuild: use buildOption to determine runtime compile build (#742)
basvanmeurs [Wed, 19 Feb 2020 14:50:24 +0000 (15:50 +0100)] 
build: use buildOption to determine runtime compile build (#742)

This makes it possible to create a separate package that uses runtime compilation.

5 years agofix(compiler-core): should alias name in helperString (#743)
likui [Wed, 19 Feb 2020 14:49:46 +0000 (22:49 +0800)] 
fix(compiler-core): should alias name in helperString (#743)

fix #740

5 years agorelease: v3.0.0-alpha.5 v3.0.0-alpha.5
Evan You [Tue, 18 Feb 2020 20:00:55 +0000 (15:00 -0500)] 
release: v3.0.0-alpha.5

5 years agochore: readme
Evan You [Tue, 18 Feb 2020 19:56:18 +0000 (14:56 -0500)] 
chore: readme

5 years agobuild: remove compiler-ssr and server-renderer from skipped packages
Evan You [Tue, 18 Feb 2020 19:48:56 +0000 (14:48 -0500)] 
build: remove compiler-ssr and server-renderer from skipped packages

5 years agobuild(deps): bump postcss from 7.0.26 to 7.0.27 (#734)
dependabot-preview[bot] [Tue, 18 Feb 2020 19:56:39 +0000 (14:56 -0500)] 
build(deps): bump postcss from 7.0.26 to 7.0.27 (#734)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.26 to 7.0.27.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.26...7.0.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years agofix(runtime-core): ensure renderCache always exists
Evan You [Tue, 18 Feb 2020 19:43:04 +0000 (14:43 -0500)] 
fix(runtime-core): ensure renderCache always exists

5 years agofix(v-on): transform click.right and click.middle modifiers
Evan You [Tue, 18 Feb 2020 19:32:06 +0000 (14:32 -0500)] 
fix(v-on): transform click.right and click.middle modifiers

fix #735

5 years agorefactor: extract remove util
Evan You [Tue, 18 Feb 2020 18:52:59 +0000 (13:52 -0500)] 
refactor: extract remove util