Commit Graph

2755 Commits

Author SHA1 Message Date
HcySunYang
9499871582
fix(compiler-core): make v-once work with v-if/else-if/else (#2182)
Partial fix for #2035
2020-10-05 11:58:37 -04:00
dependabot-preview[bot]
752ecee407
build(deps-dev): bump jest from 26.4.2 to 26.5.0 (#2301) 2020-10-05 11:51:18 +00:00
dependabot-preview[bot]
1abcb2cf61
build(deps-dev): bump @microsoft/api-extractor from 7.9.22 to 7.10.1 (#2285) 2020-10-01 04:38:49 +00:00
dependabot-preview[bot]
5d825f318f
build(deps-dev): bump ts-jest from 26.4.0 to 26.4.1 (#2276) 2020-09-29 23:59:07 +00:00
dependabot-preview[bot]
aa90801174
build(deps-dev): bump @typescript-eslint/parser from 4.1.1 to 4.3.0 (#2275) 2020-09-29 23:57:02 +00:00
dependabot-preview[bot]
4b4e54a50e
build(deps-dev): bump @types/puppeteer from 2.1.4 to 2.1.5 (#2274) 2020-09-29 23:56:11 +00:00
Nathan Shively-Sanders
d52d139b85
types: fix Typescript 4.1 compile error (#2219)
close #2218
2020-09-28 12:39:14 -04:00
dependabot-preview[bot]
bcdd1002eb
build(deps-dev): bump eslint from 7.9.0 to 7.10.0 (#2257) 2020-09-28 12:01:17 +00:00
dependabot-preview[bot]
a268f6fc70
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#2241) 2020-09-25 21:32:57 +00:00
dependabot-preview[bot]
8dda987f8c
build(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#2229) 2020-09-25 03:57:24 +00:00
meteorlxy
64f44c671a
chore(compiler-core): fix typo in tests (#2209) 2020-09-23 12:25:52 +02:00
dependabot-preview[bot]
747dc2d4b5
build(deps-dev): bump @types/puppeteer from 2.1.3 to 2.1.4 (#2206) 2020-09-23 01:14:13 +00:00
dependabot-preview[bot]
d6050abdf4
build(deps-dev): bump @microsoft/api-extractor from 7.9.19 to 7.9.22 (#2207) 2020-09-23 01:12:22 +00:00
dependabot-preview[bot]
166ac16ce2
build(deps-dev): bump @types/node from 14.11.1 to 14.11.2 (#2203) 2020-09-23 01:03:29 +00:00
Evan You
376883d1cf fix(runtime-core): fix duplicated unmount traversal in optimized mode
fix #2169
2020-09-22 11:38:15 -04:00
wonderful-panda
5dbd6b36a0
fix(types): fix using tuple type as EmitsOptions (#2160)
fix #2159
2020-09-22 10:05:37 -04:00
Evan You
6aa2256913 fix(types): avoid DefineComponent defaulting to any
fix #2192
2020-09-22 10:02:19 -04:00
dependabot-preview[bot]
448358e900
build(deps-dev): bump @microsoft/api-extractor from 7.9.18 to 7.9.19 (#2189) 2020-09-21 11:53:19 +00:00
dependabot-preview[bot]
d5bfc1b5d0
build(deps-dev): bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 (#2188) 2020-09-21 11:51:41 +00:00
dependabot-preview[bot]
1439158ce9
build(deps-dev): bump rollup from 2.27.1 to 2.28.1 (#2187) 2020-09-21 11:49:29 +00:00
dependabot-preview[bot]
82d14bfdf5
build(deps-dev): bump ts-jest from 26.3.0 to 26.4.0 (#2186) 2020-09-21 11:46:22 +00:00
dependabot-preview[bot]
6aeafef1a5
build(deps-dev): bump @microsoft/api-extractor from 7.9.15 to 7.9.18 (#2162) 2020-09-19 04:45:48 +00:00
dependabot-preview[bot]
4c765c8d97
build(deps-dev): bump typescript from 4.0.2 to 4.0.3 (#2161) 2020-09-19 04:43:56 +00:00
Evan You
d8c1536ead release: v3.0.0 2020-09-18 11:28:05 -04:00
Evan You
c736e72d15 chore: changelog edits [ci skip] 2020-09-18 01:42:51 -04:00
Evan You
876ecc8672 release: v3.0.0-rc.13 2020-09-18 01:39:30 -04:00
Evan You
e90ec6e98c chore: add note for vetur [ci skip] 2020-09-18 01:29:34 -04:00
Evan You
44e1237d1f chore: update readme [ci skip] 2020-09-18 01:26:05 -04:00
dependabot-preview[bot]
a8d27cc058
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>
2020-09-18 01:23:17 -04:00
dependabot-preview[bot]
a6bfe6f5f9
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>
2020-09-18 01:23:03 -04:00
ChangJoo Park(박창주)
62cd7f2e90
chore: fix changelog typo (#2152) [ci skip] 2020-09-18 01:22:45 -04:00
dependabot-preview[bot]
76137e95a6
build(deps-dev): bump lint-staged from 10.3.0 to 10.4.0 (#2150) 2020-09-18 05:17:40 +00:00
dependabot-preview[bot]
ecd49793c3
build(deps-dev): bump rollup from 2.26.11 to 2.27.1 (#2149) 2020-09-18 05:15:23 +00:00
dependabot-preview[bot]
3d03dd50d4
build(deps-dev): bump @types/jest from 26.0.13 to 26.0.14 (#2147) 2020-09-18 05:08:23 +00:00
dependabot-preview[bot]
39a1a6d05d
build(deps-dev): bump sass from 1.26.10 to 1.26.11 (#2146) 2020-09-18 05:04:29 +00:00
ᴜɴвʏтᴇ
f316a332b0
fix(reactivity): avoid length mutating array methods causing infinite updates (#2138)
fix #2137

Co-authored-by: Evan You <yyx990803@gmail.com>
2020-09-18 01:01:36 -04:00
Katashin
422f05e085
fix(hmr): make hmr working with class components (#2144) 2020-09-18 00:14:59 -04:00
Anthony Fu
57bdaa2220
fix(types): component instance inference without props (#2145) 2020-09-18 00:13:47 -04:00
Evan You
1c9a0b3e19 feat(watch): support dot-delimited path in watch option 2020-09-18 00:00:39 -04:00
Evan You
5bfcad155b fix(suspense): should discard unmount effects of invalidated pending branch 2020-09-17 23:49:06 -04:00
Evan You
49bb44756f 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.
2020-09-17 23:17:21 -04:00
Evan You
58c31e3699 feat(runtime-core): support using inject() inside props default functions 2020-09-17 15:59:01 -04:00
Evan You
985bd2bcb5 release: v3.0.0-rc.12 2020-09-16 13:50:13 -04:00
Evan You
df954dc90f chore: do not log warned error during tests 2020-09-16 13:37:12 -04:00
Evan You
dd40ad8fca fix(runtime-core): should still do full traverse of stable fragment children in dev + hmr 2020-09-16 13:01:53 -04:00
Evan You
bebd44f793 fix(runtime-core): ensure root stable fragments inherit elements for moving
fix #2134
2020-09-16 12:18:03 -04:00
Evan You
c7b4a379cf fix(runtime-core/async-component): fix error component when there are no error handlers
fix #2129
2020-09-16 11:10:16 -04:00
Evan You
bad0ecb910 workflow: temporarily disable no-unused-vars eslint rule for arguments 2020-09-16 10:53:02 -04:00
Evan You
3810de7d6b fix(reactivity): effect shoud only recursively self trigger with explicit options
fix #2125
2020-09-16 10:52:31 -04:00
wonderful-panda
89e9ab8a2a
fix(types/tsx): optional props from Mixin/Extends are treated as required (#2048) 2020-09-16 10:09:35 -04:00