Commit Graph

3446 Commits

Author SHA1 Message Date
dependabot-preview[bot]
40bc70d71e
build(deps-dev): bump @types/jest from 26.0.10 to 26.0.12 (#2029) 2020-09-02 05:04:15 +00:00
Evan You
c73b4a0e10 feat(ssr): serverPrefetch 2020-09-01 22:52:46 -04:00
HcySunYang
63f1f18064
fix(runtime-core): v-model listeners that already exists on the component should not be merged (#2011)
fix #1989
2020-09-01 22:24:20 -04:00
Carter Li
aa757e8e6d
fix(types): fix this type of this.$watch (#2022) 2020-09-01 21:08:01 -04:00
HcySunYang
93b8ff94a4
polish(teleport): do not warn missing target when teleport is disabled (#2021) 2020-09-01 21:05:51 -04:00
zhangzhonghe
0d0970f9cd
refactor(runtime-core): remove the deactivated branch in unmountComponent method (#2012) 2020-09-01 21:03:50 -04:00
Evan You
691a4b9530 perf(reactivity): no need to proxy has/ownKeys for readonly objects 2020-09-01 20:52:48 -04:00
Evan You
c0427b45ff fix(sfc/scoped-style): inherit scopeId through nested HOCs with inheritAttrs: false
fix #1988
2020-09-01 18:56:02 -04:00
HcySunYang
5b82c48c7b
fix(runtime-core): enable block tracking when normalizing plain element with slot children (#1987)
fix #1980
2020-09-01 12:38:47 -04:00
ᴜɴвʏтᴇ
706b52aadd
fix(runtime-core): ensure consistent $options merge behavior with 2.x (#1986)
close #1978 , close #1979
2020-08-31 21:04:06 -04:00
Evan You
8ed0b342d4 fix(runtime-core): fix props/emits resolving with global mixins
fix #1975
2020-08-31 18:32:07 -04:00
dependabot-preview[bot]
2bbeea9a51
build(deps-dev): bump rollup from 2.26.7 to 2.26.8 (#2017) 2020-08-31 11:53:10 +00:00
Guillaume Chau
5df71b739d chore: add repository directories 2020-08-30 15:06:06 +02:00
dependabot-preview[bot]
bafd1eb4a2
build(deps-dev): bump ts-jest from 26.2.0 to 26.3.0 (#2009) 2020-08-29 05:09:28 +00:00
dependabot-preview[bot]
51aebda6e1
build(deps-dev): bump rollup from 2.26.5 to 2.26.7 (#2008) 2020-08-29 05:07:07 +00:00
dependabot-preview[bot]
75eeff74b6
build(deps-dev): bump @microsoft/api-extractor from 7.9.10 to 7.9.11 (#2007) 2020-08-29 05:04:38 +00:00
dependabot-preview[bot]
65a32eb883
build(deps-dev): bump @types/puppeteer from 2.1.1 to 2.1.2 (#2006) 2020-08-29 05:01:34 +00:00
Guillaume Chau
7fd3436290 fix(devtools): make el extra properties non-enumerable 2020-08-29 05:00:38 +02:00
Guillaume Chau
38ca7e8e4e feat(devtools): expose vnode and component on elements 2020-08-29 04:53:25 +02:00
Stanislav Lashmanov
4421c00903
feat(compiler-sfc): analyze script bindings (#1962)
Also expose `scriptAst` and `scriptSetupAst` on returned script block
2020-08-28 16:21:03 -04:00
Evan You
94d94bafc5 release: v3.0.0-rc.9 2020-08-26 18:21:18 -04:00
Evan You
0cb7f7f880 fix(runtime-core): fix resolving assets from mixins and extends
fix #1963
2020-08-26 18:09:54 -04:00
meteorlxy
bc64c60c7e
style(compiler-sfc): tweak api and types export (#1976) 2020-08-26 15:22:11 -04:00
Pick
d0cc4b37d0
test(runtime-core): add tests for componentSlots (#1940) 2020-08-26 12:17:21 -04:00
Pick
97bc30edad
perf(reactivity): avoid triggering Map.has twice on non-reactive keys (#1972) 2020-08-26 11:41:18 -04:00
xxgjzftd
d5c4f6ed4d
perf(reactivity): add existing index or non-integer prop on Array should not trigger length dependency (#1969) 2020-08-26 11:28:58 -04:00
HcySunYang
6df0e738cb
fix(runtime-core): properly call lifecycle hooks in chained mixins & extends (#1974)
fix #1973
2020-08-26 10:31:23 -04:00
HcySunYang
9153fc2d8a
fix(runtime-core): class and style should be properly normalized in cloneVNode (#1967)
fix #1964
2020-08-26 09:37:28 -04:00
Erik Montes
2178473936
docs(readme): update Vue Router status footer note (#1961) 2020-08-26 09:37:11 +02:00
dependabot-preview[bot]
ee04562284
build(deps-dev): bump lint-staged from 10.2.11 to 10.2.13 (#1968) 2020-08-26 03:17:54 +00:00
dependabot-preview[bot]
fe455352e3
build(deps-dev): bump @typescript-eslint/parser from 3.9.1 to 3.10.1 (#1966) 2020-08-26 03:13:17 +00:00
Evan You
ede2e0d1b5 release: v3.0.0-rc.8 2020-08-25 10:31:52 -04:00
zhangzhonghe
1ea24000c8
fix(keep-alive): should remove wrapped version of injected keep alive hooks (#1959) 2020-08-25 10:02:39 -04:00
Amour1688
a47626a4a3
types(jsx): make HTMLAttributes and SVGAttributes extend Events (#1941) 2020-08-25 09:50:33 -04:00
ᴜɴвʏтᴇ
1d55454e61
fix(runtime-dom): avoid setting unchanged input value (#1937)
fix #1935 (fix v-model usage with HTML5 validation)
2020-08-25 09:47:55 -04:00
Katashin
67b6e0f894
fix(types): relax ComponentPublicInstanceConstructor type for class components (#1943) 2020-08-24 21:53:30 -04:00
HcySunYang
955450f539
types(runtime-core): improve the extracted instance types (#1936) 2020-08-24 21:37:22 -04:00
dependabot-preview[bot]
475dd04ec9
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>
2020-08-24 21:34:23 -04:00
Evan You
c15311cfe8 fix(runtime-core): fix data merge order for mixins/extends
fix #1953
2020-08-24 21:30:04 -04:00
Evan You
b742384313 test: improve expect.toHaveBeenWarned() message 2020-08-24 21:23:08 -04:00
Evan You
59e58cd4a5 chore: remove console.log [ci skip] 2020-08-24 21:16:13 -04:00
Evan You
36fa42a88c fix(runtime-core/scheduler): handle nested flushPostFlushCbs calls
fix #1947
2020-08-24 18:47:15 -04:00
Evan You
499bc0bfc4 fix(hmr): properly force hmr full component props update
fix #1942
2020-08-24 18:13:29 -04:00
Evan You
57642fac8f fix(ssr): invoke directive created hook during hydration 2020-08-24 17:24:54 -04:00
Evan You
11804fe93f feat(directives): introduce created custom directive hook and ensure
`v-model` event listener fire before template/props listeners

fix #1931
2020-08-24 17:12:16 -04:00
Evan You
016ba116a8 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
2020-08-24 15:34:04 -04:00
Guillaume Chau
410e7abbbb refactor(devtools): emit needs to send the instance in args 2020-08-24 20:27:40 +02:00
dependabot-preview[bot]
11b1d7c73f
build(deps-dev): bump @microsoft/api-extractor from 7.9.8 to 7.9.10 (#1951) 2020-08-24 11:44:28 +00:00
dependabot-preview[bot]
7bc231590f
build(deps-dev): bump rollup from 2.26.4 to 2.26.5 (#1950) 2020-08-24 11:42:24 +00:00
dependabot-preview[bot]
50e1db1a2b
build(deps-dev): bump jest from 26.4.1 to 26.4.2 (#1949) 2020-08-24 11:40:42 +00:00