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