]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Evan You [Thu, 8 Oct 2020 01:46:25 +0000 (21:46 -0400)]
chore: add missing feature flag to jest config
ᴜɴвʏтᴇ [Thu, 8 Oct 2020 00:57:17 +0000 (08:57 +0800)]
fix(compiler-core): allow spaces between if-else branches (#2305)
fix #2299
Evan You [Wed, 7 Oct 2020 21:49:03 +0000 (17:49 -0400)]
fix(runtime-core/template-refs): do not reset refs object before updates
fix #2283
Evan You [Wed, 7 Oct 2020 20:58:19 +0000 (16:58 -0400)]
fix(runtime-core): error handling for created/beforeCreate hooks
fix #2268
edison [Wed, 7 Oct 2020 19:06:41 +0000 (03:06 +0800)]
fix(runtime-dom): v-model should support number modifier with select tag (#2308)
close #2252
dependabot-preview[bot] [Wed, 7 Oct 2020 03:12:21 +0000 (03:12 +0000)]
build(deps-dev): bump @types/node from 14.11.2 to 14.11.5 (#2319)
dependabot-preview[bot] [Wed, 7 Oct 2020 03:05:18 +0000 (03:05 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.10.1 to 7.10.4 (#2320)
dependabot-preview[bot] [Wed, 7 Oct 2020 03:01:56 +0000 (03:01 +0000)]
build(deps-dev): bump jest from 26.5.0 to 26.5.2 (#2318)
dependabot-preview[bot] [Wed, 7 Oct 2020 02:59:59 +0000 (02:59 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0 (#2317)
Evan You [Tue, 6 Oct 2020 22:31:04 +0000 (18:31 -0400)]
test(compiler-core): add test case for v-on event case conversion
shadowings-zy [Tue, 6 Oct 2020 22:28:56 +0000 (06:28 +0800)]
fix(runtime-core): use consistent camelCase event casing for render functions (#2278)
close #2249
Evan You [Tue, 6 Oct 2020 22:16:20 +0000 (18:16 -0400)]
fix(reactivity): should not trigger watch on computed ref when value is unchanged
fix #2231
Evan You [Tue, 6 Oct 2020 19:31:29 +0000 (15:31 -0400)]
fix(runtime-core): fix SSR memoery leak due to props normalization cache
fix #2225
The previous props/emits normlaization was caching normalized result per
app instance, but during SSR there is a new app instance created for
every request.
The fix now de-opts props/emits normlaization caching when there are
props/emits declared in global mixins - which is a very rare use case.
Evan You [Tue, 6 Oct 2020 15:35:51 +0000 (11:35 -0400)]
perf: do not enable hmr in non-browser envs
Evan You [Mon, 5 Oct 2020 22:18:38 +0000 (18:18 -0400)]
fix(runtime-core): ensure this context for $nextTick callback
fix #2282
Evan You [Mon, 5 Oct 2020 21:53:17 +0000 (17:53 -0400)]
fix(compiler-core): consistently remove comment nodes for pre tags in production
close #2217
ᴜɴвʏтᴇ [Mon, 5 Oct 2020 21:37:26 +0000 (05:37 +0800)]
fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 (#2289)
fix #2267
HcySunYang [Mon, 5 Oct 2020 20:36:02 +0000 (04:36 +0800)]
fix(reactivity): should add allowRecurse to the effect (#2213)
So that the scheduler also respects effect's allowRecurse option.
fix #2200
Philipp Rudloff [Mon, 5 Oct 2020 20:05:43 +0000 (22:05 +0200)]
fix(runtime-core): vnode.el is null in watcher after rerendering (#2295)
fix #2170
Evan You [Mon, 5 Oct 2020 16:02:01 +0000 (12:02 -0400)]
chore(readme): update eslint-plugin-vue status [ci skip]
Evan You [Mon, 5 Oct 2020 16:00:41 +0000 (12:00 -0400)]
chore: add github sponsors to funding.yml [ci skip]
HcySunYang [Mon, 5 Oct 2020 15:58:37 +0000 (23:58 +0800)]
fix(compiler-core): make v-once work with v-if/else-if/else (#2182)
Partial fix for #2035
dependabot-preview[bot] [Mon, 5 Oct 2020 11:51:18 +0000 (11:51 +0000)]
build(deps-dev): bump jest from 26.4.2 to 26.5.0 (#2301)
dependabot-preview[bot] [Thu, 1 Oct 2020 04:38:49 +0000 (04:38 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.22 to 7.10.1 (#2285)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:59:07 +0000 (23:59 +0000)]
build(deps-dev): bump ts-jest from 26.4.0 to 26.4.1 (#2276)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:57:02 +0000 (23:57 +0000)]
build(deps-dev): bump @typescript-eslint/parser from 4.1.1 to 4.3.0 (#2275)
dependabot-preview[bot] [Tue, 29 Sep 2020 23:56:11 +0000 (23:56 +0000)]
build(deps-dev): bump @types/puppeteer from 2.1.4 to 2.1.5 (#2274)
Nathan Shively-Sanders [Mon, 28 Sep 2020 16:39:14 +0000 (09:39 -0700)]
types: fix Typescript 4.1 compile error (#2219)
close #2218
dependabot-preview[bot] [Mon, 28 Sep 2020 12:01:17 +0000 (12:01 +0000)]
build(deps-dev): bump eslint from 7.9.0 to 7.10.0 (#2257)
dependabot-preview[bot] [Fri, 25 Sep 2020 21:32:57 +0000 (21:32 +0000)]
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#2241)
dependabot-preview[bot] [Fri, 25 Sep 2020 03:57:24 +0000 (03:57 +0000)]
build(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#2229)
meteorlxy [Wed, 23 Sep 2020 10:25:52 +0000 (18:25 +0800)]
chore(compiler-core): fix typo in tests (#2209)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:14:13 +0000 (01:14 +0000)]
build(deps-dev): bump @types/puppeteer from 2.1.3 to 2.1.4 (#2206)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:12:22 +0000 (01:12 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.19 to 7.9.22 (#2207)
dependabot-preview[bot] [Wed, 23 Sep 2020 01:03:29 +0000 (01:03 +0000)]
build(deps-dev): bump @types/node from 14.11.1 to 14.11.2 (#2203)
Evan You [Tue, 22 Sep 2020 15:38:03 +0000 (11:38 -0400)]
fix(runtime-core): fix duplicated unmount traversal in optimized mode
fix #2169
wonderful-panda [Tue, 22 Sep 2020 14:05:37 +0000 (23:05 +0900)]
fix(types): fix using tuple type as EmitsOptions (#2160)
fix #2159
Evan You [Tue, 22 Sep 2020 14:02:19 +0000 (10:02 -0400)]
fix(types): avoid DefineComponent defaulting to any
fix #2192
dependabot-preview[bot] [Mon, 21 Sep 2020 11:53:19 +0000 (11:53 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.18 to 7.9.19 (#2189)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:51:41 +0000 (11:51 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 (#2188)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:49:29 +0000 (11:49 +0000)]
build(deps-dev): bump rollup from 2.27.1 to 2.28.1 (#2187)
dependabot-preview[bot] [Mon, 21 Sep 2020 11:46:22 +0000 (11:46 +0000)]
build(deps-dev): bump ts-jest from 26.3.0 to 26.4.0 (#2186)
dependabot-preview[bot] [Sat, 19 Sep 2020 04:45:48 +0000 (04:45 +0000)]
build(deps-dev): bump @microsoft/api-extractor from 7.9.15 to 7.9.18 (#2162)
dependabot-preview[bot] [Sat, 19 Sep 2020 04:43:56 +0000 (04:43 +0000)]
build(deps-dev): bump typescript from 4.0.2 to 4.0.3 (#2161)
Evan You [Fri, 18 Sep 2020 15:28:05 +0000 (11:28 -0400)]
release: v3.0.0
Evan You [Fri, 18 Sep 2020 05:42:51 +0000 (01:42 -0400)]
chore: changelog edits [ci skip]
Evan You [Fri, 18 Sep 2020 05:39:30 +0000 (01:39 -0400)]
release: v3.0.0-rc.13
Evan You [Fri, 18 Sep 2020 05:29:34 +0000 (01:29 -0400)]
chore: add note for vetur [ci skip]
Evan You [Fri, 18 Sep 2020 05:25:53 +0000 (01:25 -0400)]
chore: update readme [ci skip]
dependabot-preview[bot] [Fri, 18 Sep 2020 05:23:17 +0000 (01:23 -0400)]
build(deps): bump postcss from 7.0.32 to 7.0.34 (#2148)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.32 to 7.0.34.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.32...7.0.34)
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, 18 Sep 2020 05:23:03 +0000 (01:23 -0400)]
build(deps-dev): bump @types/node from 14.10.2 to 14.11.1 (#2151)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.2 to 14.11.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
ChangJoo Park(박창주) [Fri, 18 Sep 2020 05:22:45 +0000 (14:22 +0900)]
chore: fix changelog typo (#2152) [ci skip]
dependabot-preview[bot] [Fri, 18 Sep 2020 05:17:40 +0000 (05:17 +0000)]
build(deps-dev): bump lint-staged from 10.3.0 to 10.4.0 (#2150)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:15:23 +0000 (05:15 +0000)]
build(deps-dev): bump rollup from 2.26.11 to 2.27.1 (#2149)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:08:23 +0000 (05:08 +0000)]
build(deps-dev): bump @types/jest from 26.0.13 to 26.0.14 (#2147)
dependabot-preview[bot] [Fri, 18 Sep 2020 05:04:29 +0000 (05:04 +0000)]
build(deps-dev): bump sass from 1.26.10 to 1.26.11 (#2146)
ᴜɴвʏтᴇ [Fri, 18 Sep 2020 05:01:36 +0000 (13:01 +0800)]
fix(reactivity): avoid length mutating array methods causing infinite updates (#2138)
fix #2137
Co-authored-by: Evan You <yyx990803@gmail.com>
Katashin [Fri, 18 Sep 2020 04:14:59 +0000 (12:14 +0800)]
fix(hmr): make hmr working with class components (#2144)
Anthony Fu [Fri, 18 Sep 2020 04:13:47 +0000 (12:13 +0800)]
fix(types): component instance inference without props (#2145)
Evan You [Fri, 18 Sep 2020 04:00:39 +0000 (00:00 -0400)]
feat(watch): support dot-delimited path in watch option
Evan You [Fri, 18 Sep 2020 03:49:06 +0000 (23:49 -0400)]
fix(suspense): should discard unmount effects of invalidated pending branch
Evan You [Fri, 18 Sep 2020 03:17:21 +0000 (23:17 -0400)]
refactor: watch APIs default to trigger pre-flush
BREAKING CHANGE: watch APIs now default to use `flush: 'pre'` instead of
`flush: 'post'`.
- This change affects `watch`, `watchEffect`, the `watch` component
option, and `this.$watch`.
- As pointed out by @skirtles-code in
[this comment](https://github.com/vuejs/vue-next/issues/1706#issuecomment-
666258948 ),
Vue 2's watch behavior is pre-flush, and the ecosystem has many uses
of watch that assumes the pre-flush behavior. Defaulting to post-flush
can result in unnecessary re-renders without the users being aware of
it.
- With this change, watchers need to specify `{ flush: 'post' }` via
options to trigger callback after Vue render updates. Note that
specifying `{ flush: 'post' }` will also defer `watchEffect`'s
initial run to wait for the component's initial render.
Evan You [Thu, 17 Sep 2020 19:59:01 +0000 (15:59 -0400)]
feat(runtime-core): support using inject() inside props default functions
Evan You [Wed, 16 Sep 2020 17:50:13 +0000 (13:50 -0400)]
release: v3.0.0-rc.12
Evan You [Wed, 16 Sep 2020 17:37:12 +0000 (13:37 -0400)]
chore: do not log warned error during tests
Evan You [Wed, 16 Sep 2020 17:01:53 +0000 (13:01 -0400)]
fix(runtime-core): should still do full traverse of stable fragment children in dev + hmr
Evan You [Wed, 16 Sep 2020 16:18:03 +0000 (12:18 -0400)]
fix(runtime-core): ensure root stable fragments inherit elements for moving
fix #2134
Evan You [Wed, 16 Sep 2020 15:10:16 +0000 (11:10 -0400)]
fix(runtime-core/async-component): fix error component when there are no error handlers
fix #2129
Evan You [Wed, 16 Sep 2020 14:53:02 +0000 (10:53 -0400)]
workflow: temporarily disable no-unused-vars eslint rule for arguments
Evan You [Wed, 16 Sep 2020 14:52:31 +0000 (10:52 -0400)]
fix(reactivity): effect shoud only recursively self trigger with explicit options
fix #2125
wonderful-panda [Wed, 16 Sep 2020 14:09:35 +0000 (23:09 +0900)]
fix(types/tsx): optional props from Mixin/Extends are treated as required (#2048)
Cédric Exbrayat [Wed, 16 Sep 2020 13:30:47 +0000 (15:30 +0200)]
chore: typos in suspense events (#2131)
Removes the mention of the recede event that has been replaced.
Carlos Rodrigues [Wed, 16 Sep 2020 13:29:42 +0000 (14:29 +0100)]
types(defineComponent): fix missing exported types (#2124)
underfin [Wed, 16 Sep 2020 13:28:31 +0000 (21:28 +0800)]
feat(compiler-sfc): `additionalData` support for css preprocessors (#2126)
close https://github.com/vitejs/vite/issues/520
dependabot-preview[bot] [Wed, 16 Sep 2020 00:21:34 +0000 (00:21 +0000)]
build(deps-dev): bump @types/node from 14.10.1 to 14.10.2 (#2122)
Evan You [Tue, 15 Sep 2020 17:15:42 +0000 (13:15 -0400)]
release: v3.0.0-rc.11
Evan You [Tue, 15 Sep 2020 17:04:28 +0000 (13:04 -0400)]
chore: bump deps
Evan You [Tue, 15 Sep 2020 16:45:06 +0000 (12:45 -0400)]
feat: update Suspense usage (#2099)
See https://github.com/vuejs/vue-next/pull/2099 for details.
Evan You [Tue, 15 Sep 2020 16:41:56 +0000 (12:41 -0400)]
chore: remove wip code
Carlos Rodrigues [Tue, 15 Sep 2020 15:46:11 +0000 (16:46 +0100)]
types(runtime-core): refactor defineComponent (#1883)
izayl [Tue, 15 Sep 2020 14:49:59 +0000 (22:49 +0800)]
test(reactive): add test case of mutation in original reflecting in observed value (#2118)
underfin [Tue, 15 Sep 2020 14:39:27 +0000 (22:39 +0800)]
fix(compiler-sfc): should extract comment for import or type declarations (#2107)
fix #2102
HuangYi [Tue, 15 Sep 2020 14:33:50 +0000 (22:33 +0800)]
fix(KeepAlive): when exclude prop change, it should prune cache that not matched (#2111)
Carlos Rodrigues [Tue, 15 Sep 2020 14:29:38 +0000 (15:29 +0100)]
fix(reactivity): `toRef` should not wrap a `ref` (#2103)
HcySunYang [Tue, 15 Sep 2020 14:00:14 +0000 (22:00 +0800)]
fix(compiler-ssr): correct the variable name generated by the generator (#2065)
HcySunYang [Tue, 15 Sep 2020 13:59:36 +0000 (21:59 +0800)]
fix(compiler-ssr/teleport): correct the target prop of teleport (#2053)
Jonathan Wood [Tue, 15 Sep 2020 13:36:27 +0000 (14:36 +0100)]
chore: fix tests (#2120)
Evan You [Tue, 15 Sep 2020 02:10:23 +0000 (22:10 -0400)]
chore(compiler-sfc): gracefully handle failed parse when analyzing bindings
Haoqun Jiang [Tue, 15 Sep 2020 01:51:15 +0000 (09:51 +0800)]
fix: should be able to parse decorators in script lang="ts" & jsx (#2088)
* fix: should be able to parse decorators in script lang="ts"
* fix: should also support parsing jsx
Added to `compileScript` instead of `babelParserDefaultPlugins` because
it's not needed for template expression parsing
edison [Tue, 15 Sep 2020 01:48:38 +0000 (09:48 +0800)]
test(runtime-core): test app API warnings (#2079)
Haoqun Jiang [Tue, 15 Sep 2020 01:47:58 +0000 (09:47 +0800)]
polish: warn deprecated beforeDestroy/destroyed lifecycle hooks (#1999)
Pick [Tue, 15 Sep 2020 01:31:04 +0000 (09:31 +0800)]
fix(reactivity): should trigger collection's write-function correctly on non-reactive keys (#1992)
Evan You [Tue, 15 Sep 2020 01:26:28 +0000 (21:26 -0400)]
types: fix + test inject API typing
ref: #2052
edison [Tue, 15 Sep 2020 00:56:53 +0000 (08:56 +0800)]
chore(compiler-core): define `child` if necessary. (#2033)
Pick [Tue, 15 Sep 2020 00:56:04 +0000 (08:56 +0800)]
Revert "refactor(runtime-core): add @internal for instance.proxy (#1849)" (#2024)
This reverts commit
4d51be73d3d4619613bb0df3c53d463df2fc6fd9 .
satotake [Tue, 15 Sep 2020 00:53:06 +0000 (09:53 +0900)]
feat(compiler-sfc): support `additionalData` option in `compileStyle` when processing sass (#1952)
被雨水过滤的空气 [Tue, 15 Sep 2020 00:50:06 +0000 (08:50 +0800)]
fix(keep-alive): should use onMounted and onUpdated to invoke cacheSubtree (#1984)
Hefty [Tue, 15 Sep 2020 00:40:09 +0000 (08:40 +0800)]
fix(reactivity): add NaN prop on Array should not trigger length dependency. (#1998)
Evan You [Mon, 14 Sep 2020 22:58:30 +0000 (18:58 -0400)]
perf: should not trigger child update if changed prop is declared emit listener
close #2072
Evan You [Mon, 14 Sep 2020 22:55:00 +0000 (18:55 -0400)]
test: fix cloneVNode ref tests