]> git.ipfire.org Git - thirdparty/vuejs/core.git/log
thirdparty/vuejs/core.git
4 years agobuild(deps-dev): bump rollup from 2.26.8 to 2.26.9 (#2031)
dependabot-preview[bot] [Wed, 2 Sep 2020 05:09:08 +0000 (05:09 +0000)] 
build(deps-dev): bump rollup from 2.26.8 to 2.26.9 (#2031)

4 years agobuild(deps-dev): bump @types/jest from 26.0.10 to 26.0.12 (#2029)
dependabot-preview[bot] [Wed, 2 Sep 2020 05:04:15 +0000 (05:04 +0000)] 
build(deps-dev): bump @types/jest from 26.0.10 to 26.0.12 (#2029)

4 years agofeat(ssr): serverPrefetch
Evan You [Wed, 2 Sep 2020 02:52:46 +0000 (22:52 -0400)] 
feat(ssr): serverPrefetch

4 years agofix(runtime-core): v-model listeners that already exists on the component should...
HcySunYang [Wed, 2 Sep 2020 02:24:20 +0000 (10:24 +0800)] 
fix(runtime-core): v-model listeners that already exists on the component should not be merged (#2011)

fix #1989

4 years agofix(types): fix `this` type of `this.$watch` (#2022)
Carter Li [Wed, 2 Sep 2020 01:08:01 +0000 (09:08 +0800)] 
fix(types): fix `this` type of `this.$watch` (#2022)

4 years agopolish(teleport): do not warn missing target when teleport is disabled (#2021)
HcySunYang [Wed, 2 Sep 2020 01:05:51 +0000 (09:05 +0800)] 
polish(teleport): do not warn missing target when teleport is disabled (#2021)

4 years agorefactor(runtime-core): remove the deactivated branch in unmountComponent method...
zhangzhonghe [Wed, 2 Sep 2020 01:03:50 +0000 (09:03 +0800)] 
refactor(runtime-core): remove the deactivated branch in unmountComponent method (#2012)

4 years agoperf(reactivity): no need to proxy has/ownKeys for readonly objects
Evan You [Wed, 2 Sep 2020 00:52:48 +0000 (20:52 -0400)] 
perf(reactivity): no need to proxy has/ownKeys for readonly objects

4 years agofix(sfc/scoped-style): inherit scopeId through nested HOCs with inheritAttrs: false
Evan You [Tue, 1 Sep 2020 22:56:02 +0000 (18:56 -0400)] 
fix(sfc/scoped-style): inherit scopeId through nested HOCs with inheritAttrs: false

fix #1988

4 years agofix(runtime-core): enable block tracking when normalizing plain element with slot...
HcySunYang [Tue, 1 Sep 2020 16:38:47 +0000 (00:38 +0800)] 
fix(runtime-core): enable block tracking when normalizing plain element with slot children (#1987)

fix #1980

4 years agofix(runtime-core): ensure consistent $options merge behavior with 2.x (#1986)
ᴜɴвʏтᴇ [Tue, 1 Sep 2020 01:04:06 +0000 (20:04 -0500)] 
fix(runtime-core): ensure consistent $options merge behavior with 2.x (#1986)

close #1978 , close #1979

4 years agofix(runtime-core): fix props/emits resolving with global mixins
Evan You [Mon, 31 Aug 2020 22:32:07 +0000 (18:32 -0400)] 
fix(runtime-core): fix props/emits resolving with global mixins

fix #1975

4 years agobuild(deps-dev): bump rollup from 2.26.7 to 2.26.8 (#2017)
dependabot-preview[bot] [Mon, 31 Aug 2020 11:53:10 +0000 (11:53 +0000)] 
build(deps-dev): bump rollup from 2.26.7 to 2.26.8 (#2017)

4 years agochore: add repository directories
Guillaume Chau [Sun, 30 Aug 2020 13:06:06 +0000 (15:06 +0200)] 
chore: add repository directories

4 years agobuild(deps-dev): bump ts-jest from 26.2.0 to 26.3.0 (#2009)
dependabot-preview[bot] [Sat, 29 Aug 2020 05:09:28 +0000 (05:09 +0000)] 
build(deps-dev): bump ts-jest from 26.2.0 to 26.3.0 (#2009)

4 years agobuild(deps-dev): bump rollup from 2.26.5 to 2.26.7 (#2008)
dependabot-preview[bot] [Sat, 29 Aug 2020 05:07:07 +0000 (05:07 +0000)] 
build(deps-dev): bump rollup from 2.26.5 to 2.26.7 (#2008)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.10 to 7.9.11 (#2007)
dependabot-preview[bot] [Sat, 29 Aug 2020 05:04:38 +0000 (05:04 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.10 to 7.9.11 (#2007)

4 years agobuild(deps-dev): bump @types/puppeteer from 2.1.1 to 2.1.2 (#2006)
dependabot-preview[bot] [Sat, 29 Aug 2020 05:01:34 +0000 (05:01 +0000)] 
build(deps-dev): bump @types/puppeteer from 2.1.1 to 2.1.2 (#2006)

4 years agofix(devtools): make el extra properties non-enumerable
Guillaume Chau [Sat, 29 Aug 2020 03:00:38 +0000 (05:00 +0200)] 
fix(devtools): make el extra properties non-enumerable

4 years agofeat(devtools): expose vnode and component on elements
Guillaume Chau [Sat, 29 Aug 2020 02:53:25 +0000 (04:53 +0200)] 
feat(devtools): expose vnode and component on elements

4 years agofeat(compiler-sfc): analyze script bindings (#1962)
Stanislav Lashmanov [Fri, 28 Aug 2020 20:21:03 +0000 (23:21 +0300)] 
feat(compiler-sfc): analyze script bindings (#1962)

Also expose `scriptAst` and `scriptSetupAst` on returned script block

4 years agorelease: v3.0.0-rc.9 v3.0.0-rc.9
Evan You [Wed, 26 Aug 2020 22:21:18 +0000 (18:21 -0400)] 
release: v3.0.0-rc.9

4 years agofix(runtime-core): fix resolving assets from mixins and extends
Evan You [Wed, 26 Aug 2020 22:09:54 +0000 (18:09 -0400)] 
fix(runtime-core): fix resolving assets from mixins and extends

fix #1963

4 years agostyle(compiler-sfc): tweak api and types export (#1976)
meteorlxy [Wed, 26 Aug 2020 19:22:11 +0000 (03:22 +0800)] 
style(compiler-sfc): tweak api and types export (#1976)

4 years agotest(runtime-core): add tests for componentSlots (#1940)
Pick [Wed, 26 Aug 2020 16:17:21 +0000 (00:17 +0800)] 
test(runtime-core): add tests for componentSlots (#1940)

4 years agoperf(reactivity): avoid triggering Map.has twice on non-reactive keys (#1972)
Pick [Wed, 26 Aug 2020 15:41:18 +0000 (23:41 +0800)] 
perf(reactivity): avoid triggering Map.has twice on non-reactive keys (#1972)

4 years agoperf(reactivity): add existing index or non-integer prop on Array should not trigger...
xxgjzftd [Wed, 26 Aug 2020 15:28:58 +0000 (23:28 +0800)] 
perf(reactivity): add existing index or non-integer prop on Array should not trigger length dependency (#1969)

4 years agofix(runtime-core): properly call lifecycle hooks in chained mixins & extends (#1974)
HcySunYang [Wed, 26 Aug 2020 14:31:23 +0000 (22:31 +0800)] 
fix(runtime-core): properly call lifecycle hooks in chained mixins & extends (#1974)

fix #1973

4 years agofix(runtime-core): class and style should be properly normalized in cloneVNode (...
HcySunYang [Wed, 26 Aug 2020 13:37:28 +0000 (21:37 +0800)] 
fix(runtime-core): class and style should be properly normalized in cloneVNode (#1967)

fix #1964

4 years agodocs(readme): update Vue Router status footer note (#1961)
Erik Montes [Wed, 26 Aug 2020 07:37:11 +0000 (00:37 -0700)] 
docs(readme): update Vue Router status footer note (#1961)

4 years agobuild(deps-dev): bump lint-staged from 10.2.11 to 10.2.13 (#1968)
dependabot-preview[bot] [Wed, 26 Aug 2020 03:17:54 +0000 (03:17 +0000)] 
build(deps-dev): bump lint-staged from 10.2.11 to 10.2.13 (#1968)

4 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.9.1 to 3.10.1 (#1966)
dependabot-preview[bot] [Wed, 26 Aug 2020 03:13:17 +0000 (03:13 +0000)] 
build(deps-dev): bump @typescript-eslint/parser from 3.9.1 to 3.10.1 (#1966)

4 years agorelease: v3.0.0-rc.8 v3.0.0-rc.8
Evan You [Tue, 25 Aug 2020 14:31:52 +0000 (10:31 -0400)] 
release: v3.0.0-rc.8

4 years agofix(keep-alive): should remove wrapped version of injected keep alive hooks (#1959)
zhangzhonghe [Tue, 25 Aug 2020 14:02:39 +0000 (22:02 +0800)] 
fix(keep-alive): should remove wrapped version of injected keep alive hooks (#1959)

4 years agotypes(jsx): make HTMLAttributes and SVGAttributes extend Events (#1941)
Amour1688 [Tue, 25 Aug 2020 13:50:33 +0000 (21:50 +0800)] 
types(jsx): make HTMLAttributes and SVGAttributes extend Events (#1941)

4 years agofix(runtime-dom): avoid setting unchanged input value (#1937)
ᴜɴвʏтᴇ [Tue, 25 Aug 2020 13:47:55 +0000 (21:47 +0800)] 
fix(runtime-dom): avoid setting unchanged input value (#1937)

fix #1935 (fix v-model usage with HTML5 validation)

4 years agofix(types): relax ComponentPublicInstanceConstructor type for class components (...
Katashin [Tue, 25 Aug 2020 01:53:30 +0000 (09:53 +0800)] 
fix(types): relax ComponentPublicInstanceConstructor type for class components (#1943)

4 years agotypes(runtime-core): improve the extracted instance types (#1936)
HcySunYang [Tue, 25 Aug 2020 01:37:22 +0000 (09:37 +0800)] 
types(runtime-core): improve the extracted instance types (#1936)

4 years agobuild(deps): bump postcss-modules from 3.2.1 to 3.2.2 (#1948)
dependabot-preview[bot] [Tue, 25 Aug 2020 01:34:23 +0000 (21:34 -0400)] 
build(deps): bump postcss-modules from 3.2.1 to 3.2.2 (#1948)

Bumps [postcss-modules](https://github.com/css-modules/postcss-modules) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/css-modules/postcss-modules/releases)
- [Changelog](https://github.com/css-modules/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](https://github.com/css-modules/postcss-modules/compare/v3.2.1...v3.2.2)

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 agofix(runtime-core): fix data merge order for mixins/extends
Evan You [Tue, 25 Aug 2020 01:30:04 +0000 (21:30 -0400)] 
fix(runtime-core): fix data merge order for mixins/extends

fix #1953

4 years agotest: improve expect.toHaveBeenWarned() message
Evan You [Tue, 25 Aug 2020 01:23:08 +0000 (21:23 -0400)] 
test: improve expect.toHaveBeenWarned() message

4 years agochore: remove console.log [ci skip]
Evan You [Tue, 25 Aug 2020 01:16:13 +0000 (21:16 -0400)] 
chore: remove console.log [ci skip]

4 years agofix(runtime-core/scheduler): handle nested flushPostFlushCbs calls
Evan You [Mon, 24 Aug 2020 22:46:53 +0000 (18:46 -0400)] 
fix(runtime-core/scheduler): handle nested flushPostFlushCbs calls

fix #1947

4 years agofix(hmr): properly force hmr full component props update
Evan You [Mon, 24 Aug 2020 22:13:17 +0000 (18:13 -0400)] 
fix(hmr): properly force hmr full component props update

fix #1942

4 years agofix(ssr): invoke directive created hook during hydration
Evan You [Mon, 24 Aug 2020 21:24:54 +0000 (17:24 -0400)] 
fix(ssr): invoke directive created hook during hydration

4 years agofeat(directives): introduce `created` custom directive hook and ensure
Evan You [Mon, 24 Aug 2020 21:12:16 +0000 (17:12 -0400)] 
feat(directives): introduce `created` custom directive hook and ensure
`v-model` event listener fire before template/props listeners

fix #1931

4 years agofix(reactivity): fix iOS 12 JSON.stringify error on reactive objects
Evan You [Mon, 24 Aug 2020 19:26:53 +0000 (15:26 -0400)] 
fix(reactivity): fix iOS 12 JSON.stringify error on reactive objects

- Use WeakMap for raw -> reactive/readonly storage. This is slightly
  more expensive than using a field on the taget object but avoids
  polluting the original.

- also fix Collection.forEach callback value

fix #1916

4 years agorefactor(devtools): emit needs to send the instance in args
Guillaume Chau [Mon, 24 Aug 2020 18:23:09 +0000 (20:23 +0200)] 
refactor(devtools): emit needs to send the instance in args

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.8 to 7.9.10 (#1951)
dependabot-preview[bot] [Mon, 24 Aug 2020 11:44:28 +0000 (11:44 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.8 to 7.9.10 (#1951)

4 years agobuild(deps-dev): bump rollup from 2.26.4 to 2.26.5 (#1950)
dependabot-preview[bot] [Mon, 24 Aug 2020 11:42:24 +0000 (11:42 +0000)] 
build(deps-dev): bump rollup from 2.26.4 to 2.26.5 (#1950)

4 years agobuild(deps-dev): bump jest from 26.4.1 to 26.4.2 (#1949)
dependabot-preview[bot] [Mon, 24 Aug 2020 11:40:42 +0000 (11:40 +0000)] 
build(deps-dev): bump jest from 26.4.1 to 26.4.2 (#1949)

4 years agofeat(devtools): catch events
Guillaume Chau [Sun, 23 Aug 2020 23:31:32 +0000 (01:31 +0200)] 
feat(devtools): catch events

4 years agofix(watch): traverse refs in deep watch (#1939)
Yang Mingshan [Sun, 23 Aug 2020 18:41:11 +0000 (02:41 +0800)] 
fix(watch): traverse refs in deep watch (#1939)

ref #1900

4 years agofeat(devtools): expose setupState target object
Guillaume Chau [Sat, 22 Aug 2020 14:40:04 +0000 (16:40 +0200)] 
feat(devtools): expose setupState target object

4 years agofix(devtools): unmountApp not behind compile flag
Guillaume Chau [Sat, 22 Aug 2020 14:34:18 +0000 (16:34 +0200)] 
fix(devtools): unmountApp not behind compile flag

4 years agochore: rename createDevtoolsHook to createDevtoolsComponentHook
Guillaume Chau [Sat, 22 Aug 2020 13:53:21 +0000 (15:53 +0200)] 
chore: rename createDevtoolsHook to createDevtoolsComponentHook

4 years agofeat(runtime-core): support variadic children in `h` for simple JSX compat
Evan You [Sat, 22 Aug 2020 01:54:33 +0000 (21:54 -0400)] 
feat(runtime-core): support variadic children in `h` for simple JSX compat

ref: #1917

4 years agorelease: v3.0.0-rc.7 v3.0.0-rc.7
Evan You [Fri, 21 Aug 2020 18:13:05 +0000 (14:13 -0400)] 
release: v3.0.0-rc.7

4 years agoperf(reactivity): improve ref performance by using class-based implementation (#1900)
Robbin Baauw [Fri, 21 Aug 2020 17:47:41 +0000 (19:47 +0200)] 
perf(reactivity): improve ref performance by using class-based implementation (#1900)

4 years agochore(runtime-core): use ReactiveFlags.SKIP in vnode for consistency (#1901)
Li Chen [Fri, 21 Aug 2020 17:45:42 +0000 (01:45 +0800)] 
chore(runtime-core): use ReactiveFlags.SKIP in vnode for consistency (#1901)

4 years agofix(reactivity): unwrap non-index accessed refs on reactive arrays (#1859)
ᴜɴвʏтᴇ [Fri, 21 Aug 2020 17:36:41 +0000 (01:36 +0800)] 
fix(reactivity): unwrap non-index accessed refs on reactive arrays (#1859)

close #1846

4 years agobuild(deps): bump @babel/parser from 7.11.3 to 7.11.4 (#1923)
dependabot-preview[bot] [Fri, 21 Aug 2020 16:50:38 +0000 (12:50 -0400)] 
build(deps): bump @babel/parser from 7.11.3 to 7.11.4 (#1923)

Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.11.3 to 7.11.4.
- [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.4/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 postcss-modules from 3.2.0 to 3.2.1 (#1920)
dependabot-preview[bot] [Fri, 21 Aug 2020 16:50:34 +0000 (12:50 -0400)] 
build(deps): bump postcss-modules from 3.2.0 to 3.2.1 (#1920)

Bumps [postcss-modules](https://github.com/css-modules/postcss-modules) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/css-modules/postcss-modules/releases)
- [Changelog](https://github.com/css-modules/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](https://github.com/css-modules/postcss-modules/compare/v3.2.0...v3.2.1)

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: use '@vue/shared' instead of '@vue/shared/src' (#1915)
XRenSiu [Fri, 21 Aug 2020 16:50:06 +0000 (00:50 +0800)] 
chore: use '@vue/shared' instead of '@vue/shared/src' (#1915)

4 years agofix(runtime-core): disable block tracking when calling compiled slot function in...
Evan You [Fri, 21 Aug 2020 16:47:45 +0000 (12:47 -0400)] 
fix(runtime-core): disable block tracking when calling compiled slot function in tempalte expressions

fix #1745, fix #1918

4 years agobuild(deps-dev): bump jest from 26.4.0 to 26.4.1 (#1924)
dependabot-preview[bot] [Fri, 21 Aug 2020 11:43:07 +0000 (11:43 +0000)] 
build(deps-dev): bump jest from 26.4.0 to 26.4.1 (#1924)

4 years agobuild(deps-dev): bump @microsoft/api-extractor from 7.9.7 to 7.9.8 (#1922)
dependabot-preview[bot] [Fri, 21 Aug 2020 11:40:56 +0000 (11:40 +0000)] 
build(deps-dev): bump @microsoft/api-extractor from 7.9.7 to 7.9.8 (#1922)

4 years agobuild(deps-dev): bump rollup from 2.26.3 to 2.26.4 (#1921)
dependabot-preview[bot] [Fri, 21 Aug 2020 11:37:47 +0000 (11:37 +0000)] 
build(deps-dev): bump rollup from 2.26.3 to 2.26.4 (#1921)

4 years agobuild(deps): upgrade to TypeScript 4
Evan You [Thu, 20 Aug 2020 21:48:28 +0000 (17:48 -0400)] 
build(deps): upgrade to TypeScript 4

4 years agorefactor(compiler-core): simplify hoistStatic check for nodes without patchFlag
Evan You [Thu, 20 Aug 2020 15:43:34 +0000 (11:43 -0400)] 
refactor(compiler-core): simplify hoistStatic check for nodes without patchFlag

close #1912

4 years agotest(runtime-core): add tests for the optimized mode (#1884)
HcySunYang [Thu, 20 Aug 2020 14:56:31 +0000 (22:56 +0800)] 
test(runtime-core): add tests for the optimized mode (#1884)

4 years agotest: use polling for more stable markdown e2e tests
Evan You [Thu, 20 Aug 2020 14:51:25 +0000 (10:51 -0400)] 
test: use polling for more stable markdown e2e tests

close #1908

4 years agofix(teleport): only inherit el for non-patched nodes
Evan You [Thu, 20 Aug 2020 14:43:57 +0000 (10:43 -0400)] 
fix(teleport): only inherit el for non-patched nodes

fix #1903

4 years agofix(compiler-core): should attach key to single element child of `<template v-for...
underfin [Thu, 20 Aug 2020 14:09:57 +0000 (22:09 +0800)] 
fix(compiler-core): should attach key to single element child of `<template v-for>` (#1910)

4 years agofix(runtime-core): correctly track dynamic nodes in renderSlot (#1911)
HcySunYang [Thu, 20 Aug 2020 13:37:26 +0000 (21:37 +0800)] 
fix(runtime-core): correctly track dynamic nodes in renderSlot (#1911)

4 years agorelease: v3.0.0-rc.6 v3.0.0-rc.6
Evan You [Wed, 19 Aug 2020 22:17:42 +0000 (18:17 -0400)] 
release: v3.0.0-rc.6

4 years agochore: comments
Evan You [Wed, 19 Aug 2020 22:02:17 +0000 (18:02 -0400)] 
chore: comments

4 years agofix(runtime-core): fix beforeUpdate call timing to allow state mutation
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

4 years agofix(compiler-core): generate NEED_PATCH flag for element with vnode hooks
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

4 years agofix(types): handling PropType<Function> with default value (#1896)
Carlos Rodrigues [Wed, 19 Aug 2020 20:36:42 +0000 (21:36 +0100)] 
fix(types): handling PropType<Function> with default value (#1896)

fix #1891

4 years agotest(reactivity): improve built-in Collection subclass test cases (#1885)
Pick [Wed, 19 Aug 2020 20:22:31 +0000 (04:22 +0800)] 
test(reactivity): improve built-in Collection subclass test cases (#1885)

4 years agorefactor(types): widen `Component` type to include consutructor types
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.

4 years agotypes(runtime-core): make `FunctionalComponent` with emit string[] to be `Component...
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

4 years agotypes(runtime-core): tweak the type of KeepAlive (#1871)
HcySunYang [Wed, 19 Aug 2020 14:00:01 +0000 (22:00 +0800)] 
types(runtime-core): tweak the type of KeepAlive (#1871)

4 years agochore: fix typo for `babelParserDefautPlugins` (#1897)
edison [Wed, 19 Aug 2020 13:53:09 +0000 (21:53 +0800)] 
chore: fix typo for `babelParserDefautPlugins` (#1897)

4 years agochore: remove unused type `VNodeDirectiveData` (#1893)
edison [Wed, 19 Aug 2020 13:51:44 +0000 (21:51 +0800)] 
chore: remove unused type `VNodeDirectiveData` (#1893)

4 years agotypes(reactivity): improve typings for `shallowRef` (#1780)
Carlos Rodrigues [Wed, 19 Aug 2020 03:34:29 +0000 (04:34 +0100)] 
types(reactivity): improve typings for `shallowRef` (#1780)

4 years agofeat(reactivity): return array when calling `toRefs` on array (#1768)
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

4 years agochore: remove deprecated `<content>` tag (#1647)
小妍妍 [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

4 years agochore(runtime-dom): remove deprecated tags from jsx typing (#1627)
wxy [Tue, 18 Aug 2020 15:43:14 +0000 (23:43 +0800)] 
chore(runtime-dom): remove deprecated tags from jsx typing (#1627)

4 years agotypes(runtime-core): argument for props validator
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

4 years agotypes(runtime-core): make `this` void in prop validators and prop default factories...
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)

4 years agotypes(runtime-core): improve PropType inference precision (#1863)
HcySunYang [Tue, 18 Aug 2020 15:23:18 +0000 (23:23 +0800)] 
types(runtime-core): improve PropType inference precision (#1863)

4 years agorefactor(runtime-core): add @internal for instance.proxy (#1849)
Pick [Tue, 18 Aug 2020 15:12:26 +0000 (23:12 +0800)] 
refactor(runtime-core): add @internal for instance.proxy (#1849)

4 years agobuild(deps-dev): bump @typescript-eslint/parser from 3.9.0 to 3.9.1 (#1887)
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)

4 years agofeat(runtime-core): pass current props to prop default value functions
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

4 years agofix(reactivity): accept subtypes of collections (#1864)
ᴜɴвʏтᴇ [Mon, 17 Aug 2020 16:17:46 +0000 (00:17 +0800)] 
fix(reactivity): accept subtypes of collections (#1864)

4 years agofix(runtime-core): fix Object props validation for objects with custom toStringTag
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

4 years agodocs: add indefinite article to bug fix sentence (#1878)
Jonathan Wood [Mon, 17 Aug 2020 15:21:01 +0000 (16:21 +0100)] 
docs: add indefinite article to bug fix sentence (#1878)

4 years agofeat(compiler-core): add `comments` parser option (#1858)
Barthélémy Ledoux [Mon, 17 Aug 2020 15:20:28 +0000 (10:20 -0500)] 
feat(compiler-core): add `comments` parser option (#1858)