]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
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
Evan You [Mon, 14 Sep 2020 21:04:27 +0000 (17:04 -0400)]
fix(compiler-core): fix prefixing for `<template v-for>` key expressions
fix #2085
underfin [Mon, 14 Sep 2020 20:02:29 +0000 (04:02 +0800)]
fix: inherit `el` for static nodes inside keyed `template` fragment (#2089)
fix #2080
Evan You [Mon, 14 Sep 2020 19:33:38 +0000 (15:33 -0400)]
fix(runtime-core/refs): handle multiple merged refs for dynamic component with vnode
fix #2078
Stanislav Lashmanov [Mon, 14 Sep 2020 16:52:19 +0000 (19:52 +0300)]
fix(runtime-core/inject): handle optional `from` option in inject object config (#2073)
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