]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Mon, 14 Sep 2020 16:41:35 +0000 (12:41 -0400)]
fix(compiler-core): fix v-if block handling for components that fail to resolve
fix #2058
HcySunYang [Mon, 14 Sep 2020 15:28:56 +0000 (23:28 +0800)]
fix(types): properly infer return type from async setup (#2051)
fix #2049
Evan You [Mon, 14 Sep 2020 15:26:34 +0000 (11:26 -0400)]
refactor(reactivity): refactor iteration key trigger logic + use more robust Map/Set check
Pick [Mon, 14 Sep 2020 15:16:50 +0000 (23:16 +0800)]
feat(runtime-dom): allow native Set as v-model checkbox source (#1957)
Wuzado [Mon, 14 Sep 2020 14:45:32 +0000 (16:45 +0200)]
chore(readme): update link to the JSX babel plugin (#2104) [ci skip]
dependabot-preview[bot] [Mon, 14 Sep 2020 12:03:04 +0000 (12:03 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.14 to 7.9.15 (#2113)
dependabot-preview[bot] [Mon, 14 Sep 2020 12:02:45 +0000 (12:02 +0000)]
build(deps-dev): bump eslint from 7.8.1 to 7.9.0 (#2114)
dependabot-preview[bot] [Fri, 11 Sep 2020 05:12:43 +0000 (05:12 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.13 to 7.9.14 (#2098)
dependabot-preview[bot] [Wed, 9 Sep 2020 00:05:06 +0000 (00:05 +0000)]
build(deps-dev): bump rollup from 2.26.10 to 2.26.11 (#2075)
dependabot-preview[bot] [Wed, 9 Sep 2020 00:01:55 +0000 (00:01 +0000)]
build(deps-dev): bump @types/puppeteer from 2.1.2 to 2.1.3 (#2074)
dependabot-preview[bot] [Mon, 7 Sep 2020 21:25:00 +0000 (21:25 +0000)]
build(deps-dev): bump rollup from 2.26.9 to 2.26.10 (#2067)
dependabot-preview[bot] [Mon, 7 Sep 2020 12:27:49 +0000 (12:27 +0000)]
build(deps-dev): bump lint-staged from 10.2.13 to 10.3.0 (#2070)
dependabot-preview[bot] [Mon, 7 Sep 2020 12:26:35 +0000 (12:26 +0000)]
build(deps-dev): bump @types/jest from 26.0.12 to 26.0.13 (#2069)
dependabot-preview[bot] [Mon, 7 Sep 2020 12:23:20 +0000 (12:23 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.11 to 7.9.13 (#2068)
Evan You [Fri, 4 Sep 2020 16:00:37 +0000 (12:00 -0400)]
fix(inject): fix support for inject option default function
fix #2050
Evan You [Fri, 4 Sep 2020 15:36:55 +0000 (11:36 -0400)]
fix(sfc): fix scoped style regression for child component with single root + comment
fix #2046
Evan You [Fri, 4 Sep 2020 15:08:53 +0000 (11:08 -0400)]
fix(reactivity): revert
ac81dcf
fix #2043
Evan You [Thu, 3 Sep 2020 15:21:14 +0000 (11:21 -0400)]
fix(runtime-core): warn reserved prefix for setup return properties and ensure consistent dev/prod behavior
close #2042
ᴜɴвʏтᴇ [Thu, 3 Sep 2020 14:35:43 +0000 (09:35 -0500)]
fix(runtime-core): fix priority of option merging (#2041)
dependabot-preview[bot] [Thu, 3 Sep 2020 13:20:45 +0000 (09:20 -0400)]
build(deps): bump @babel/types from 7.11.0 to 7.11.5 (#2030)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.11.0 to 7.11.5.
- [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.5/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>
dependabot-preview[bot] [Thu, 3 Sep 2020 13:20:38 +0000 (09:20 -0400)]
build(deps): bump @babel/parser from 7.11.4 to 7.11.5 (#2028)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.11.4 to 7.11.5.
- [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.5/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] [Thu, 3 Sep 2020 01:32:14 +0000 (01:32 +0000)]
build(deps-dev): bump eslint from 7.7.0 to 7.8.1 (#2032)
Evan You [Wed, 2 Sep 2020 16:41:54 +0000 (12:41 -0400)]
release: v3.0.0-rc.10
Evan You [Wed, 2 Sep 2020 16:29:07 +0000 (12:29 -0400)]
fix(v-once): fix v-once usage with v-if and v-for
fix #2035
Evan You [Wed, 2 Sep 2020 16:15:36 +0000 (12:15 -0400)]
fix(runtime-core): openBlock() should not be tracked when block tracking is disabled
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)
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)
Evan You [Wed, 2 Sep 2020 02:52:46 +0000 (22:52 -0400)]
feat(ssr): serverPrefetch
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
Carter Li [Wed, 2 Sep 2020 01:08:01 +0000 (09:08 +0800)]
fix(types): fix `this` type of `this.$watch` (#2022)
HcySunYang [Wed, 2 Sep 2020 01:05:51 +0000 (09:05 +0800)]
polish(teleport): do not warn missing target when teleport is disabled (#2021)
zhangzhonghe [Wed, 2 Sep 2020 01:03:50 +0000 (09:03 +0800)]
refactor(runtime-core): remove the deactivated branch in unmountComponent method (#2012)
Evan You [Wed, 2 Sep 2020 00:52:48 +0000 (20:52 -0400)]
perf(reactivity): no need to proxy has/ownKeys for readonly objects
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
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
ᴜɴвʏтᴇ [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
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
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)
Guillaume Chau [Sun, 30 Aug 2020 13:06:06 +0000 (15:06 +0200)]
chore: add repository directories
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)
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)
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)
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)
Guillaume Chau [Sat, 29 Aug 2020 03:00:38 +0000 (05:00 +0200)]
fix(devtools): make el extra properties non-enumerable
Guillaume Chau [Sat, 29 Aug 2020 02:53:25 +0000 (04:53 +0200)]
feat(devtools): expose vnode and component on elements
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
Evan You [Wed, 26 Aug 2020 22:21:18 +0000 (18:21 -0400)]
release: v3.0.0-rc.9
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
meteorlxy [Wed, 26 Aug 2020 19:22:11 +0000 (03:22 +0800)]
style(compiler-sfc): tweak api and types export (#1976)
Pick [Wed, 26 Aug 2020 16:17:21 +0000 (00:17 +0800)]
test(runtime-core): add tests for componentSlots (#1940)
Pick [Wed, 26 Aug 2020 15:41:18 +0000 (23:41 +0800)]
perf(reactivity): avoid triggering Map.has twice on non-reactive keys (#1972)
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)
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
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
Erik Montes [Wed, 26 Aug 2020 07:37:11 +0000 (00:37 -0700)]
docs(readme): update Vue Router status footer note (#1961)
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)
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)
Evan You [Tue, 25 Aug 2020 14:31:52 +0000 (10:31 -0400)]
release: v3.0.0-rc.8
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)
Amour1688 [Tue, 25 Aug 2020 13:50:33 +0000 (21:50 +0800)]
types(jsx): make HTMLAttributes and SVGAttributes extend Events (#1941)
ᴜɴвʏтᴇ [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)
Katashin [Tue, 25 Aug 2020 01:53:30 +0000 (09:53 +0800)]
fix(types): relax ComponentPublicInstanceConstructor type for class components (#1943)
HcySunYang [Tue, 25 Aug 2020 01:37:22 +0000 (09:37 +0800)]
types(runtime-core): improve the extracted instance types (#1936)
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>
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
Evan You [Tue, 25 Aug 2020 01:23:08 +0000 (21:23 -0400)]
test: improve expect.toHaveBeenWarned() message
Evan You [Tue, 25 Aug 2020 01:16:13 +0000 (21:16 -0400)]
chore: remove console.log [ci skip]
Evan You [Mon, 24 Aug 2020 22:46:53 +0000 (18:46 -0400)]
fix(runtime-core/scheduler): handle nested flushPostFlushCbs calls
fix #1947
Evan You [Mon, 24 Aug 2020 22:13:17 +0000 (18:13 -0400)]
fix(hmr): properly force hmr full component props update
fix #1942
Evan You [Mon, 24 Aug 2020 21:24:54 +0000 (17:24 -0400)]
fix(ssr): invoke directive created hook during hydration
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
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
Guillaume Chau [Mon, 24 Aug 2020 18:23:09 +0000 (20:23 +0200)]
refactor(devtools): emit needs to send the instance in args
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)
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)
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)
Guillaume Chau [Sun, 23 Aug 2020 23:31:32 +0000 (01:31 +0200)]
feat(devtools): catch events
Yang Mingshan [Sun, 23 Aug 2020 18:41:11 +0000 (02:41 +0800)]
fix(watch): traverse refs in deep watch (#1939)
ref #1900
Guillaume Chau [Sat, 22 Aug 2020 14:40:04 +0000 (16:40 +0200)]
feat(devtools): expose setupState target object
Guillaume Chau [Sat, 22 Aug 2020 14:34:18 +0000 (16:34 +0200)]
fix(devtools): unmountApp not behind compile flag
Guillaume Chau [Sat, 22 Aug 2020 13:53:21 +0000 (15:53 +0200)]
chore: rename createDevtoolsHook to createDevtoolsComponentHook
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
Evan You [Fri, 21 Aug 2020 18:13:05 +0000 (14:13 -0400)]
release: v3.0.0-rc.7
Robbin Baauw [Fri, 21 Aug 2020 17:47:41 +0000 (19:47 +0200)]
perf(reactivity): improve ref performance by using class-based implementation (#1900)
Li Chen [Fri, 21 Aug 2020 17:45:42 +0000 (01:45 +0800)]
chore(runtime-core): use ReactiveFlags.SKIP in vnode for consistency (#1901)
ᴜɴвʏтᴇ [Fri, 21 Aug 2020 17:36:41 +0000 (01:36 +0800)]
fix(reactivity): unwrap non-index accessed refs on reactive arrays (#1859)
close #1846
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>
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>
XRenSiu [Fri, 21 Aug 2020 16:50:06 +0000 (00:50 +0800)]
chore: use '@vue/shared' instead of '@vue/shared/src' (#1915)
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
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)
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)
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)
Evan You [Thu, 20 Aug 2020 21:48:28 +0000 (17:48 -0400)]
build(deps): upgrade to TypeScript 4
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
HcySunYang [Thu, 20 Aug 2020 14:56:31 +0000 (22:56 +0800)]
test(runtime-core): add tests for the optimized mode (#1884)
Evan You [Thu, 20 Aug 2020 14:51:25 +0000 (10:51 -0400)]
test: use polling for more stable markdown e2e tests
close #1908
Evan You [Thu, 20 Aug 2020 14:43:57 +0000 (10:43 -0400)]
fix(teleport): only inherit el for non-patched nodes
fix #1903
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)
HcySunYang [Thu, 20 Aug 2020 13:37:26 +0000 (21:37 +0800)]
fix(runtime-core): correctly track dynamic nodes in renderSlot (#1911)