]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Wed, 19 Aug 2020 22:17:42 +0000 (18:17 -0400)]
release: v3.0.0-rc.6
Evan You [Wed, 19 Aug 2020 22:02:17 +0000 (18:02 -0400)]
chore: comments
Evan You [Wed, 19 Aug 2020 21:57:51 +0000 (17:57 -0400)]
fix(runtime-core): fix beforeUpdate call timing to allow state mutation
fix #1899
Evan You [Wed, 19 Aug 2020 21:29:23 +0000 (17:29 -0400)]
fix(compiler-core): generate NEED_PATCH flag for element with vnode hooks
Carlos Rodrigues [Wed, 19 Aug 2020 20:36:42 +0000 (21:36 +0100)]
fix(types): handling PropType<Function> with default value (#1896)
fix #1891
Pick [Wed, 19 Aug 2020 20:22:31 +0000 (04:22 +0800)]
test(reactivity): improve built-in Collection subclass test cases (#1885)
Evan You [Wed, 19 Aug 2020 20:11:29 +0000 (16:11 -0400)]
refactor(types): widen `Component` type to include consutructor types
returned from `defineComponent`
ref: https://github.com/vuejs/vue-router-next/pull/421
also close #1880
Previous `Component` type is now exported as `ConcreteComponent`.
This introduces a minor breaking change when calling `h(comp, { ... })`
will now fail if `comp` is a of generic `Component` type, since it does
not specify what props it expects.
Carlos Rodrigues [Wed, 19 Aug 2020 14:00:48 +0000 (15:00 +0100)]
types(runtime-core): make `FunctionalComponent` with emit string[] to be `Component` (#1879)
fix #1847
HcySunYang [Wed, 19 Aug 2020 14:00:01 +0000 (22:00 +0800)]
types(runtime-core): tweak the type of KeepAlive (#1871)
edison [Wed, 19 Aug 2020 13:53:09 +0000 (21:53 +0800)]
chore: fix typo for `babelParserDefautPlugins` (#1897)
edison [Wed, 19 Aug 2020 13:51:44 +0000 (21:51 +0800)]
chore: remove unused type `VNodeDirectiveData` (#1893)
Carlos Rodrigues [Wed, 19 Aug 2020 03:34:29 +0000 (04:34 +0100)]
types(reactivity): improve typings for `shallowRef` (#1780)
Jordan Pittman [Tue, 18 Aug 2020 16:11:13 +0000 (12:11 -0400)]
feat(reactivity): return array when calling `toRefs` on array (#1768)
close #1764
小妍妍 [Tue, 18 Aug 2020 15:47:38 +0000 (23:47 +0800)]
chore: remove deprecated `<content>` tag (#1647)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content
wxy [Tue, 18 Aug 2020 15:43:14 +0000 (23:43 +0800)]
chore(runtime-dom): remove deprecated tags from jsx typing (#1627)
Evan You [Tue, 18 Aug 2020 15:37:34 +0000 (11:37 -0400)]
types(runtime-core): argument for props validator
Unfortunately it requires explicit annotation for now
Aurelius333 [Tue, 18 Aug 2020 15:25:55 +0000 (11:25 -0400)]
types(runtime-core): make `this` void in prop validators and prop default factories (#1867)
HcySunYang [Tue, 18 Aug 2020 15:23:18 +0000 (23:23 +0800)]
types(runtime-core): improve PropType inference precision (#1863)
Pick [Tue, 18 Aug 2020 15:12:26 +0000 (23:12 +0800)]
refactor(runtime-core): add @internal for instance.proxy (#1849)
dependabot-preview[bot] [Tue, 18 Aug 2020 15:01:52 +0000 (15:01 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 3.9.0 to 3.9.1 (#1887)
Evan You [Tue, 18 Aug 2020 14:52:50 +0000 (10:52 -0400)]
feat(runtime-core): pass current props to prop default value functions
close #1886
ᴜɴвʏтᴇ [Mon, 17 Aug 2020 16:17:46 +0000 (00:17 +0800)]
fix(reactivity): accept subtypes of collections (#1864)
Evan You [Mon, 17 Aug 2020 15:25:27 +0000 (11:25 -0400)]
fix(runtime-core): fix Object props validation for objects with custom toStringTag
fix #1872
Jonathan Wood [Mon, 17 Aug 2020 15:21:01 +0000 (16:21 +0100)]
docs: add indefinite article to bug fix sentence (#1878)
Barthélémy Ledoux [Mon, 17 Aug 2020 15:20:28 +0000 (10:20 -0500)]
feat(compiler-core): add `comments` parser option (#1858)
dependabot-preview[bot] [Mon, 17 Aug 2020 09:18:24 +0000 (09:18 +0000)]
build(deps-dev): bump @types/jest from 26.0.9 to 26.0.10 (#1876)
dependabot-preview[bot] [Mon, 17 Aug 2020 09:15:37 +0000 (09:15 +0000)]
build(deps-dev): bump eslint from 7.6.0 to 7.7.0 (#1875)
dependabot-preview[bot] [Mon, 17 Aug 2020 09:15:25 +0000 (09:15 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.4 to 7.9.5 (#1874)
dependabot-preview[bot] [Mon, 17 Aug 2020 09:12:14 +0000 (09:12 +0000)]
build(deps-dev): bump rollup from 2.25.0 to 2.26.3 (#1873)
kazuya kawaguchi [Fri, 14 Aug 2020 21:47:28 +0000 (06:47 +0900)]
fix(compiler-sfc): custom blocks sourcemap (#1812)
Herrington Darkholme [Fri, 14 Aug 2020 21:40:41 +0000 (05:40 +0800)]
test(types): add prop validator test (#1769)
Due to the limitation of TS, prop validator must be fully annotated
refer to https://github.com/microsoft/TypeScript/issues/38623
susiwen8 [Fri, 14 Aug 2020 21:38:32 +0000 (05:38 +0800)]
chore: remove unecessary 'export' (#1785)
Pick [Fri, 14 Aug 2020 21:37:36 +0000 (05:37 +0800)]
types(reactivity): add dts for proxyRefs & improve typings (#1786)
Aurelius333 [Fri, 14 Aug 2020 21:36:26 +0000 (17:36 -0400)]
types(runtime-core): make `this` void in emits validator (#1842)
Evan You [Fri, 14 Aug 2020 21:35:49 +0000 (17:35 -0400)]
test(watch): add same value skipping trigger test
zhangzhonghe [Fri, 14 Aug 2020 21:26:32 +0000 (05:26 +0800)]
fix(teleport): always inherit root DOM nodes on patch (#1836)
fix #1813
Evan You [Fri, 14 Aug 2020 21:07:42 +0000 (17:07 -0400)]
chore: bump markdown e2e test wait period
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>
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>
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>
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>
Necmettin Karakaya [Fri, 14 Aug 2020 21:05:12 +0000 (05:05 +0800)]
chore: typos (#1670)
edison [Fri, 14 Aug 2020 21:00:49 +0000 (05:00 +0800)]
chore: use `value` instead of `n.value` (#1770)
Evan You [Fri, 14 Aug 2020 13:52:30 +0000 (09:52 -0400)]
chore: remove unnecessary wrap
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
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)
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)
Evan You [Thu, 13 Aug 2020 21:45:21 +0000 (17:45 -0400)]
fix(reactivity): effect should still check sync self-trigger
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
underfin [Thu, 13 Aug 2020 16:36:30 +0000 (00:36 +0800)]
fix(runtime-core): should correctly call `beforeEnter` inside `Suspense` (#1805)
fix #1795
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
Jacob Smith [Wed, 12 Aug 2020 19:52:28 +0000 (16:52 -0300)]
fix(codeframe): Added Math.max to prevent RangeError (#1807)
fix #1806
beary [Wed, 12 Aug 2020 19:50:11 +0000 (03:50 +0800)]
fix(types/jsx): update innerHTML property in jsx typing (#1814)
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)
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)
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)
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)
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)
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)
Evan You [Thu, 6 Aug 2020 16:10:03 +0000 (12:10 -0400)]
refactor(reactivity): readonly collections should not track
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
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
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
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
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
wujieZ [Wed, 5 Aug 2020 15:53:50 +0000 (23:53 +0800)]
fix(reactivity): use isExtensible instead of isFrozen (#1753)
close #1784
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
Evan You [Wed, 5 Aug 2020 13:32:18 +0000 (09:32 -0400)]
chore: remove debugger
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
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
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.
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
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)
Evan You [Mon, 3 Aug 2020 22:01:07 +0000 (18:01 -0400)]
chore: fix tests
Evan You [Mon, 3 Aug 2020 21:56:55 +0000 (17:56 -0400)]
chore: unset removed invokers
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
Yang Mingshan [Mon, 3 Aug 2020 21:19:06 +0000 (05:19 +0800)]
fix(runtime-core/scheduler): prevent duplicate queue (#1767)
Aurelius333 [Mon, 3 Aug 2020 21:14:14 +0000 (17:14 -0400)]
chore(compiler-core): improve X_V_IF_KEY error message (#1757)
Evan You [Mon, 3 Aug 2020 21:13:17 +0000 (17:13 -0400)]
fix(runtime-dom): style binding multi value support
fix #1759
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
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
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)
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)
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)
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
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.
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>
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>
Evan You [Wed, 29 Jul 2020 14:24:02 +0000 (10:24 -0400)]
chore: update cli status [ci skip]
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)
Evan You [Tue, 28 Jul 2020 21:42:05 +0000 (17:42 -0400)]
release: v3.0.0-rc.5
Evan You [Tue, 28 Jul 2020 21:31:46 +0000 (17:31 -0400)]
feat(sfc): support resolving template components from `<script setup>` exports
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.
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
Carlos Rodrigues [Tue, 28 Jul 2020 19:40:23 +0000 (20:40 +0100)]
test(types): test computed get/set type inference (#1709)
Che Guevara [Tue, 28 Jul 2020 19:36:36 +0000 (03:36 +0800)]
test(transition): add invalid durations test case (#1702)
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)
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)
Evan You [Tue, 28 Jul 2020 19:18:41 +0000 (15:18 -0400)]
refactor(compiler-core): emit error on v-if key usage
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