]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agotypes(runtime-core): make `this` void in emits validator (#1842)
Aurelius333 [Fri, 14 Aug 2020 21:36:26 +0000 (17:36 -0400)] 
types(runtime-core): make `this` void in emits validator (#1842)

4 years agotest(watch): add same value skipping trigger test
Evan You [Fri, 14 Aug 2020 21:35:49 +0000 (17:35 -0400)] 
test(watch): add same value skipping trigger test

4 years agofix(teleport): always inherit root DOM nodes on patch (#1836)
zhangzhonghe [Fri, 14 Aug 2020 21:26:32 +0000 (05:26 +0800)] 
fix(teleport): always inherit root DOM nodes on patch (#1836)

fix #1813

4 years agochore: bump markdown e2e test wait period
Evan You [Fri, 14 Aug 2020 21:07:42 +0000 (17:07 -0400)] 
chore: bump markdown e2e test wait period

4 years agobuild(deps-dev): bump jest from 26.3.0 to 26.4.0 (#1845)
dependabot-preview[bot] [Fri, 14 Aug 2020 21:06:49 +0000 (17:06 -0400)] 
build(deps-dev): bump jest from 26.3.0 to 26.4.0 (#1845)

Bumps [jest](https://github.com/facebook/jest) from 26.3.0 to 26.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.3.0...v26.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.8.0 to 3.9.0 (#1831)
dependabot-preview[bot] [Fri, 14 Aug 2020 21:06:18 +0000 (17:06 -0400)] 
build(deps-dev): bump @typescript-eslint/parser from 3.8.0 to 3.9.0 (#1831)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.9.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agobuild(deps): bump @babel/parser from 7.10.5 to 7.11.3 (#1820)
dependabot-preview[bot] [Fri, 14 Aug 2020 21:05:58 +0000 (17:05 -0400)] 
build(deps): bump @babel/parser from 7.10.5 to 7.11.3 (#1820)

Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.10.5 to 7.11.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.3/packages/babel-parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agobuild(deps): bump @babel/types from 7.10.5 to 7.11.0 (#1749)
dependabot-preview[bot] [Fri, 14 Aug 2020 21:05:42 +0000 (17:05 -0400)] 
build(deps): bump @babel/types from 7.10.5 to 7.11.0 (#1749)

Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agochore: typos (#1670)
Necmettin Karakaya [Fri, 14 Aug 2020 21:05:12 +0000 (05:05 +0800)] 
chore: typos (#1670)

4 years agochore: use `value` instead of `n.value` (#1770)
edison [Fri, 14 Aug 2020 21:00:49 +0000 (05:00 +0800)] 
chore: use `value` instead of `n.value` (#1770)

4 years agochore: remove unnecessary wrap
Evan You [Fri, 14 Aug 2020 13:52:30 +0000 (09:52 -0400)] 
chore: remove unnecessary wrap

4 years agofix(runtime-core/scheduler): sort postFlushCbs to ensure refs are set before lifecycl...
HcySunYang [Fri, 14 Aug 2020 13:50:23 +0000 (21:50 +0800)] 
fix(runtime-core/scheduler): sort postFlushCbs to ensure refs are set before lifecycle hooks (#1854)

fix #1852

4 years agobuild(deps-dev): bump rollup from 2.23.1 to 2.25.0 (#1856)
dependabot-preview[bot] [Fri, 14 Aug 2020 10:31:27 +0000 (10:31 +0000)] 
build(deps-dev): bump rollup from 2.23.1 to 2.25.0 (#1856)

4 years agobuild(deps-dev): bump lodash from 4.17.19 to 4.17.20 (#1855)
dependabot-preview[bot] [Fri, 14 Aug 2020 10:29:36 +0000 (10:29 +0000)] 
build(deps-dev): bump lodash from 4.17.19 to 4.17.20 (#1855)

4 years agofix(reactivity): effect should still check sync self-trigger
Evan You [Thu, 13 Aug 2020 21:45:21 +0000 (17:45 -0400)] 
fix(reactivity): effect should still check sync self-trigger

4 years agofix(runtime-core/scheduler): allow component render functions to trigger itself
Evan You [Thu, 13 Aug 2020 21:27:14 +0000 (17:27 -0400)] 
fix(runtime-core/scheduler): allow component render functions to trigger itself

fix #1801

4 years agofix(runtime-core): should correctly call `beforeEnter` inside `Suspense` (#1805)
underfin [Thu, 13 Aug 2020 16:36:30 +0000 (00:36 +0800)] 
fix(runtime-core): should correctly call `beforeEnter` inside `Suspense` (#1805)

fix #1795

4 years agofix(runtime-core): separate null vs. non-null ref value updates (#1835)
HcySunYang [Thu, 13 Aug 2020 16:27:17 +0000 (00:27 +0800)] 
fix(runtime-core): separate null vs. non-null ref value updates (#1835)

fix #1789, fix #1834

4 years agofix(codeframe): Added Math.max to prevent RangeError (#1807)
Jacob Smith [Wed, 12 Aug 2020 19:52:28 +0000 (16:52 -0300)] 
fix(codeframe): Added Math.max to prevent RangeError (#1807)

fix #1806

4 years agofix(types/jsx): update innerHTML property in jsx typing (#1814)
beary [Wed, 12 Aug 2020 19:50:11 +0000 (03:50 +0800)] 
fix(types/jsx): update innerHTML property in jsx typing (#1814)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.2 to 7.9.4 (#1839)
dependabot-preview[bot] [Wed, 12 Aug 2020 14:33:29 +0000 (14:33 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.2 to 7.9.4 (#1839)

4 years agobuild(deps-dev): bump conventional-changelog-cli from 2.0.34 to 2.1.0 (#1838)
dependabot-preview[bot] [Wed, 12 Aug 2020 14:30:51 +0000 (14:30 +0000)] 
build(deps-dev): bump conventional-changelog-cli from 2.0.34 to 2.1.0 (#1838)

4 years agobuild(deps-dev): bump ts-jest from 26.1.4 to 26.2.0 (#1833)
dependabot-preview[bot] [Tue, 11 Aug 2020 12:50:01 +0000 (12:50 +0000)] 
build(deps-dev): bump ts-jest from 26.1.4 to 26.2.0 (#1833)

4 years agobuild(deps-dev): bump jest from 26.2.2 to 26.3.0 (#1832)
dependabot-preview[bot] [Tue, 11 Aug 2020 12:44:53 +0000 (12:44 +0000)] 
build(deps-dev): bump jest from 26.2.2 to 26.3.0 (#1832)

4 years agobuild(deps-dev): bump rollup from 2.23.0 to 2.23.1 (#1821)
dependabot-preview[bot] [Mon, 10 Aug 2020 09:49:23 +0000 (09:49 +0000)] 
build(deps-dev): bump rollup from 2.23.0 to 2.23.1 (#1821)

4 years agobuild(deps-dev): bump rollup-plugin-typescript2 from 0.27.1 to 0.27.2 (#1819)
dependabot-preview[bot] [Mon, 10 Aug 2020 09:36:26 +0000 (09:36 +0000)] 
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.1 to 0.27.2 (#1819)

4 years agorefactor(reactivity): readonly collections should not track
Evan You [Thu, 6 Aug 2020 16:10:03 +0000 (12:10 -0400)] 
refactor(reactivity): readonly collections should not track

4 years agofix(reactivity): readonly+reactive collection should also expose readonly+reactive...
Evan You [Thu, 6 Aug 2020 15:18:16 +0000 (11:18 -0400)] 
fix(reactivity): readonly+reactive collection should also expose readonly+reactive values

fix #1772

4 years agofix(transition): transition should accept multiple handlers on same event
Evan You [Thu, 6 Aug 2020 14:28:03 +0000 (10:28 -0400)] 
fix(transition): transition should accept multiple handlers on same event

fix #1746

4 years agofix(runtime-core): avoid manual slot invocation in template expressions interfering...
Evan You [Thu, 6 Aug 2020 14:16:13 +0000 (10:16 -0400)] 
fix(runtime-core): avoid manual slot invocation in template expressions interfering with block tracking

fix #1745

4 years agofix(keep-alive): fix activated hook invocation on nested components (#1743)
zhangzhonghe [Thu, 6 Aug 2020 13:42:52 +0000 (21:42 +0800)] 
fix(keep-alive): fix activated hook invocation on nested components (#1743)

fix #1742

4 years agofix(runtime-dom): patch `form` as an attribute (#1788)
Eduardo San Martin Morote [Thu, 6 Aug 2020 13:32:28 +0000 (15:32 +0200)] 
fix(runtime-dom): patch `form` as an attribute (#1788)

Close #1787

4 years agofix(reactivity): use isExtensible instead of isFrozen (#1753)
wujieZ [Wed, 5 Aug 2020 15:53:50 +0000 (23:53 +0800)] 
fix(reactivity): use isExtensible instead of isFrozen (#1753)

close #1784

4 years agorefactor(runtime-core/scheduler): dedicated preFlush queue
Evan You [Wed, 5 Aug 2020 14:55:23 +0000 (10:55 -0400)] 
refactor(runtime-core/scheduler): dedicated preFlush queue

properly fix #1763, #1777, #1781

4 years agochore: remove debugger
Evan You [Wed, 5 Aug 2020 13:32:18 +0000 (09:32 -0400)] 
chore: remove debugger

4 years agofix(watch): exhaust pre-flush watchers + avoid duplicate render by pre-flush watchers
Evan You [Tue, 4 Aug 2020 17:20:09 +0000 (13:20 -0400)] 
fix(watch): exhaust pre-flush watchers + avoid duplicate render by pre-flush watchers

close #1777

4 years agofix(watch): allow handler to be a string (#1775)
Eduardo San Martin Morote [Tue, 4 Aug 2020 16:42:47 +0000 (18:42 +0200)] 
fix(watch): allow handler to be a string (#1775)

fix #1774

4 years agodx(compiler-core): warn on `<template v-for>` key misplacement
Evan You [Tue, 4 Aug 2020 16:20:32 +0000 (12:20 -0400)] 
dx(compiler-core): warn on `<template v-for>` key misplacement

Note: the behavior is different from Vue 2. `<template v-for>` are compiled
into an array of Fragment vnodes so the key should be placed the `<template>`
for v-for to use it for diffing.

4 years agofix(compiler-core): v-if key error should only be checking same key on different...
Evan You [Tue, 4 Aug 2020 16:01:07 +0000 (12:01 -0400)] 
fix(compiler-core): v-if key error should only be checking same key on different branches

4 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0 (#1776)
dependabot-preview[bot] [Tue, 4 Aug 2020 12:27:35 +0000 (12:27 +0000)] 
build(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0 (#1776)

4 years agochore: fix tests
Evan You [Mon, 3 Aug 2020 22:01:07 +0000 (18:01 -0400)] 
chore: fix tests

4 years agochore: unset removed invokers
Evan You [Mon, 3 Aug 2020 21:56:55 +0000 (17:56 -0400)] 
chore: unset removed invokers

4 years agofix(runtime-dom): fix v-on same computed handler on multiple elements
Evan You [Mon, 3 Aug 2020 21:55:22 +0000 (17:55 -0400)] 
fix(runtime-dom): fix v-on same computed handler on multiple elements

fix #1747

4 years agofix(runtime-core/scheduler): prevent duplicate queue (#1767)
Yang Mingshan [Mon, 3 Aug 2020 21:19:06 +0000 (05:19 +0800)] 
fix(runtime-core/scheduler): prevent duplicate queue (#1767)

4 years agochore(compiler-core): improve X_V_IF_KEY error message (#1757)
Aurelius333 [Mon, 3 Aug 2020 21:14:14 +0000 (17:14 -0400)] 
chore(compiler-core): improve X_V_IF_KEY error message (#1757)

4 years agofix(runtime-dom): style binding multi value support
Evan You [Mon, 3 Aug 2020 21:13:17 +0000 (17:13 -0400)] 
fix(runtime-dom): style binding multi value support

fix #1759

4 years agofix(runtome-core): do not cache property access in beforeCreate hook
Evan You [Mon, 3 Aug 2020 21:04:45 +0000 (17:04 -0400)] 
fix(runtome-core): do not cache property access in beforeCreate hook

fix #1756

4 years agofix(watch): pre-flush watcher watching props should trigger before component update
Evan You [Mon, 3 Aug 2020 20:49:13 +0000 (16:49 -0400)] 
fix(watch): pre-flush watcher watching props should trigger before component update

fix #1763

4 years agobuild(deps-dev): bump eslint from 7.5.0 to 7.6.0 (#1765)
dependabot-preview[bot] [Mon, 3 Aug 2020 10:01:40 +0000 (10:01 +0000)] 
build(deps-dev): bump eslint from 7.5.0 to 7.6.0 (#1765)

4 years agobuild(deps-dev): bump @types/jest from 26.0.7 to 26.0.8 (#1750)
dependabot-preview[bot] [Fri, 31 Jul 2020 16:45:00 +0000 (16:45 +0000)] 
build(deps-dev): bump @types/jest from 26.0.7 to 26.0.8 (#1750)

4 years agobuild(deps-dev): bump jest from 26.1.0 to 26.2.2 (#1748)
dependabot-preview[bot] [Fri, 31 Jul 2020 16:41:24 +0000 (16:41 +0000)] 
build(deps-dev): bump jest from 26.1.0 to 26.2.2 (#1748)

4 years agofix(watch): should trigger watcher callback on triggerRef when watching ref source
Evan You [Thu, 30 Jul 2020 22:29:38 +0000 (18:29 -0400)] 
fix(watch): should trigger watcher callback on triggerRef when watching ref source

fix #1736

4 years agofix(runtime-core/scheduler): only allow watch callbacks to be self-triggering
Evan You [Thu, 30 Jul 2020 21:54:05 +0000 (17:54 -0400)] 
fix(runtime-core/scheduler): only allow watch callbacks to be self-triggering

fix #1740

Previous fix for #1727 caused `watchEffect` to also recursively trigger
itself on reactive array mutations which implicitly registers array
`.length` as dependencies and mutates it at the same time.

This fix limits recursive trigger behavior to only `watch()` callbacks
since code inside the callback do not register dependencies and
mutations are always explicitly intended.

4 years agobuild(deps): bump csstype from 2.6.11 to 2.6.13 (#1737)
dependabot-preview[bot] [Thu, 30 Jul 2020 20:45:36 +0000 (16:45 -0400)] 
build(deps): bump csstype from 2.6.11 to 2.6.13 (#1737)

Bumps [csstype](https://github.com/frenic/csstype) from 2.6.11 to 2.6.13.
- [Release notes](https://github.com/frenic/csstype/releases)
- [Commits](https://github.com/frenic/csstype/compare/v2.6.11...v2.6.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agobuild(deps): [security] bump elliptic from 6.5.2 to 6.5.3 (#1735)
dependabot-preview[bot] [Thu, 30 Jul 2020 20:45:16 +0000 (16:45 -0400)] 
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3 (#1735)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agochore: update cli status [ci skip]
Evan You [Wed, 29 Jul 2020 14:24:02 +0000 (10:24 -0400)] 
chore: update cli status [ci skip]

4 years agofix(runtime-core): check if the key is string on undefined property warning (#1731)
Carlos Rodrigues [Wed, 29 Jul 2020 14:06:36 +0000 (15:06 +0100)] 
fix(runtime-core): check if the key is string on undefined property warning (#1731)

4 years agorelease: v3.0.0-rc.5 v3.0.0-rc.5
Evan You [Tue, 28 Jul 2020 21:42:05 +0000 (17:42 -0400)] 
release: v3.0.0-rc.5

4 years agofeat(sfc): support resolving template components from `<script setup>` exports
Evan You [Tue, 28 Jul 2020 21:31:46 +0000 (17:31 -0400)] 
feat(sfc): support resolving template components from `<script setup>` exports

4 years agofeat(reactivity): `proxyRefs` method and `ShallowUnwrapRefs` type (#1682)
Evan You [Tue, 28 Jul 2020 20:30:56 +0000 (16:30 -0400)] 
feat(reactivity): `proxyRefs` method and `ShallowUnwrapRefs` type (#1682)

* feat(reactivity): `proxyRefs` method and `ShallowUnwrapRefs` type

BREAKING CHANGE: template auto ref unwrapping are now applied shallowly,
i.e. only at the root level. See https://github.com/vuejs/vue-next/pull/1682 for
more details.

4 years agofix(hmr): should update el for `HYDRATE_EVENTS` patchFlags node (#1707)
underfin [Tue, 28 Jul 2020 19:52:20 +0000 (03:52 +0800)] 
fix(hmr): should update el for `HYDRATE_EVENTS` patchFlags node (#1707)

fix https://github.com/vitejs/vite/issues/613

4 years agotest(types): test computed get/set type inference (#1709)
Carlos Rodrigues [Tue, 28 Jul 2020 19:40:23 +0000 (20:40 +0100)] 
test(types): test computed get/set type inference (#1709)

4 years agotest(transition): add invalid durations test case (#1702)
Che Guevara [Tue, 28 Jul 2020 19:36:36 +0000 (03:36 +0800)] 
test(transition): add invalid durations test case (#1702)

4 years agotest(types): test dts for Options API method return type inference (#1708)
Carlos Rodrigues [Tue, 28 Jul 2020 19:31:23 +0000 (20:31 +0100)] 
test(types): test dts for Options API method return type inference (#1708)

4 years agofix(style-vars): fix css vars on component with suspense as root (#1718)
underfin [Tue, 28 Jul 2020 19:30:18 +0000 (03:30 +0800)] 
fix(style-vars): fix css vars on component with suspense as root (#1718)

5 years agorefactor(compiler-core): emit error on v-if key usage
Evan You [Tue, 28 Jul 2020 19:18:41 +0000 (15:18 -0400)] 
refactor(compiler-core): emit error on v-if key usage

5 years agofix(runtime-core): dev root resolution should differentiate user comments vs v-if...
Evan You [Tue, 28 Jul 2020 18:15:20 +0000 (14:15 -0400)] 
fix(runtime-core): dev root resolution should differentiate user comments vs v-if comments

fix #1704

5 years agofix(compiler-sfc): `less` and `stylus` output deps path is absolute p… (#1685)
underfin [Tue, 28 Jul 2020 17:45:24 +0000 (01:45 +0800)] 
fix(compiler-sfc): `less` and `stylus` output deps path is absolute p… (#1685)

5 years agofix(runtime-core): fix scheduler dedupe when not flushing
Evan You [Tue, 28 Jul 2020 17:23:09 +0000 (13:23 -0400)] 
fix(runtime-core): fix scheduler dedupe when not flushing

5 years agofix(runtime-core): scheduler should allow intentional self triggering effects
Evan You [Tue, 28 Jul 2020 16:29:43 +0000 (12:29 -0400)] 
fix(runtime-core): scheduler should allow intentional self triggering effects

fix #1727

5 years agorefactor: remove unnecessary conditions and test case
Evan You [Tue, 28 Jul 2020 16:09:03 +0000 (12:09 -0400)] 
refactor: remove unnecessary conditions and test case

5 years agofix(reactivity): fix ref mutation debugger event values
Evan You [Tue, 28 Jul 2020 16:01:25 +0000 (12:01 -0400)] 
fix(reactivity): fix ref mutation debugger event values

5 years agofix(v-model): enable v-model type detection on custom elements
Evan You [Tue, 28 Jul 2020 15:44:27 +0000 (11:44 -0400)] 
fix(v-model): enable v-model type detection on custom elements

5 years agofix(runtime-core): use correct container for moving `Teleport` content (#1703)
underfin [Tue, 28 Jul 2020 15:23:39 +0000 (23:23 +0800)] 
fix(runtime-core): use correct container for moving `Teleport` content (#1703)

5 years agofix(compiler-core): always compile Teleport and Suspense as blocks
Evan You [Tue, 28 Jul 2020 15:12:43 +0000 (11:12 -0400)] 
fix(compiler-core): always compile Teleport and Suspense as blocks

5 years agofix: runtime compilation marker should be applied in exposed compile function
Evan You [Tue, 28 Jul 2020 15:11:26 +0000 (11:11 -0400)] 
fix: runtime compilation marker should be applied in exposed compile function

5 years agotest: improve unexpected warning output
Evan You [Tue, 28 Jul 2020 04:24:12 +0000 (00:24 -0400)] 
test: improve unexpected warning output

5 years agorefactor(runtime-core): make nextTick() promise reject on scheduler flush error
Evan You [Tue, 28 Jul 2020 04:20:30 +0000 (00:20 -0400)] 
refactor(runtime-core): make nextTick() promise reject on scheduler flush error

5 years agorefactor(runtime-core): adjust error handling behavior
Evan You [Tue, 28 Jul 2020 04:17:59 +0000 (00:17 -0400)] 
refactor(runtime-core): adjust error handling behavior

- Crash in dev to make the errors more noticeable
- Recover in prod to reduce impact on end users

5 years agobuild(deps-dev): bump ts-jest from 26.1.3 to 26.1.4 (#1726)
dependabot-preview[bot] [Tue, 28 Jul 2020 09:21:13 +0000 (09:21 +0000)] 
build(deps-dev): bump ts-jest from 26.1.3 to 26.1.4 (#1726)

5 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1 (#1725)
dependabot-preview[bot] [Tue, 28 Jul 2020 09:19:49 +0000 (09:19 +0000)] 
build(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1 (#1725)

5 years agotest: move mockWarn into setup files
Evan You [Tue, 28 Jul 2020 02:58:37 +0000 (22:58 -0400)] 
test: move mockWarn into setup files

5 years agofix(compiler-core): prevent generating invalid code for v-bind with empty expression...
underfin [Mon, 27 Jul 2020 22:31:08 +0000 (06:31 +0800)] 
fix(compiler-core): prevent generating invalid code for v-bind with empty expression (#1720)

5 years agofix(compiler-core/v-on): only cache empty handler when the option is used
Evan You [Mon, 27 Jul 2020 22:26:47 +0000 (18:26 -0400)] 
fix(compiler-core/v-on): only cache empty handler when the option is used

fix #1716

The original idea is that the empty handler can be cached in all cases,
but this contradicts with the assumption that `hasCachedProps` check in
the static hoist transform can simply return `false` in the browser
build.

5 years agochore: update snapshot
Evan You [Mon, 27 Jul 2020 21:45:30 +0000 (17:45 -0400)] 
chore: update snapshot

5 years agofix(runtime-core): respect render function from mixins
Evan You [Mon, 27 Jul 2020 21:44:17 +0000 (17:44 -0400)] 
fix(runtime-core): respect render function from mixins

fix #1630

5 years agofix(v-model): allow v-model usage on declared custom elements
Evan You [Mon, 27 Jul 2020 21:09:21 +0000 (17:09 -0400)] 
fix(v-model): allow v-model usage on declared custom elements

fix #1699

5 years agofix(transition): should call transition hooks inside already resolved suspense (...
underfin [Mon, 27 Jul 2020 20:47:07 +0000 (04:47 +0800)] 
fix(transition): should call transition hooks inside already resolved suspense (#1698)

fix #1689

5 years agobuild(deps-dev): bump rollup from 2.22.2 to 2.23.0 (#1694)
dependabot-preview[bot] [Fri, 24 Jul 2020 08:22:03 +0000 (08:22 +0000)] 
build(deps-dev): bump rollup from 2.22.2 to 2.23.0 (#1694)

5 years agobuild(deps-dev): bump @ls-lint/ls-lint from 1.9.0 to 1.9.2 (#1693)
dependabot-preview[bot] [Fri, 24 Jul 2020 08:21:57 +0000 (08:21 +0000)] 
build(deps-dev): bump @ls-lint/ls-lint from 1.9.0 to 1.9.2 (#1693)

5 years agobuild(deps-dev): bump @types/jest from 26.0.5 to 26.0.7 (#1692)
dependabot-preview[bot] [Fri, 24 Jul 2020 08:19:57 +0000 (08:19 +0000)] 
build(deps-dev): bump @types/jest from 26.0.5 to 26.0.7 (#1692)

5 years agochore: revert accidentally commented line
Evan You [Thu, 23 Jul 2020 18:53:09 +0000 (14:53 -0400)] 
chore: revert accidentally commented line

5 years agofix(build): fix component resolution when disabling options API
Evan You [Thu, 23 Jul 2020 18:33:15 +0000 (14:33 -0400)] 
fix(build): fix component resolution when disabling options API

fix #1688

5 years agofeat: support delimiters option for runtime compilation
Evan You [Thu, 23 Jul 2020 01:29:59 +0000 (21:29 -0400)] 
feat: support delimiters option for runtime compilation

close #1679

5 years agofix(reactivity): avoid tracking internal symbols in has trap
Evan You [Thu, 23 Jul 2020 01:19:10 +0000 (21:19 -0400)] 
fix(reactivity): avoid tracking internal symbols in has trap

fix #1683

5 years agofix(compiler-sfc): fix rewrite named export default (#1675)
underfin [Thu, 23 Jul 2020 01:00:41 +0000 (09:00 +0800)] 
fix(compiler-sfc): fix rewrite named export default (#1675)

5 years agochore: add docs link and change beta to RC (#1673) [ci skip]
Erik Campobadal Forés [Thu, 23 Jul 2020 00:59:05 +0000 (02:59 +0200)] 
chore: add docs link and change beta to RC (#1673) [ci skip]

5 years agobuild(deps-dev): bump rollup from 2.22.1 to 2.22.2 (#1677)
dependabot-preview[bot] [Thu, 23 Jul 2020 00:58:17 +0000 (20:58 -0400)] 
build(deps-dev): bump rollup from 2.22.1 to 2.22.2 (#1677)

Bumps [rollup](https://github.com/rollup/rollup) from 2.22.1 to 2.22.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/v2.22.1...v2.22.2)

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-rc.4 v3.0.0-rc.4
Evan You [Tue, 21 Jul 2020 19:40:46 +0000 (15:40 -0400)] 
release: v3.0.0-rc.4

5 years agofix(deps): move @babel/types back to dependencies
Evan You [Tue, 21 Jul 2020 19:39:54 +0000 (15:39 -0400)] 
fix(deps): move @babel/types back to dependencies