Commit Graph

2789 Commits

Author SHA1 Message Date
Evan You
c67e78ab6f chore(compiler-sfc): gracefully handle failed parse when analyzing bindings 2020-09-14 22:10:23 -04:00
Haoqun Jiang
273d19ad46
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
2020-09-14 21:51:15 -04:00
edison
0cddde6aa4
test(runtime-core): test app API warnings (#2079) 2020-09-14 21:48:38 -04:00
Haoqun Jiang
c65d6def84
polish: warn deprecated beforeDestroy/destroyed lifecycle hooks (#1999) 2020-09-14 21:47:58 -04:00
Pick
fcf9b2cf19
fix(reactivity): should trigger collection's write-function correctly on non-reactive keys (#1992) 2020-09-14 21:31:04 -04:00
Evan You
b2dc95378d types: fix + test inject API typing
ref: #2052
2020-09-14 21:26:28 -04:00
edison
b29bc0d694
chore(compiler-core): define child if necessary. (#2033) 2020-09-14 20:56:53 -04:00
Pick
09a939d37c
Revert "refactor(runtime-core): add @internal for instance.proxy (#1849)" (#2024)
This reverts commit 4d51be73d3.
2020-09-14 20:56:04 -04:00
satotake
937735251c
feat(compiler-sfc): support additionalData option in compileStyle when processing sass (#1952) 2020-09-14 20:53:06 -04:00
被雨水过滤的空气
890ca8aa34
fix(keep-alive): should use onMounted and onUpdated to invoke cacheSubtree (#1984) 2020-09-14 20:50:06 -04:00
Hefty
0d4910a211
fix(reactivity): add NaN prop on Array should not trigger length dependency. (#1998) 2020-09-14 20:40:09 -04:00
Evan You
124c385baf perf: should not trigger child update if changed prop is declared emit listener
close #2072
2020-09-14 18:58:30 -04:00
Evan You
4de5b111ee test: fix cloneVNode ref tests 2020-09-14 18:55:00 -04:00
Evan You
be946ea549 fix(compiler-core): fix prefixing for <template v-for> key expressions
fix #2085
2020-09-14 17:04:27 -04:00
underfin
a32870a8f6
fix: inherit el for static nodes inside keyed template fragment (#2089)
fix #2080
2020-09-14 16:02:29 -04:00
Evan You
612eb6712a fix(runtime-core/refs): handle multiple merged refs for dynamic component with vnode
fix #2078
2020-09-14 15:33:38 -04:00
Stanislav Lashmanov
313dd06065
fix(runtime-core/inject): handle optional from option in inject object config (#2073) 2020-09-14 12:52:19 -04:00
Evan You
a096a58e41 fix(compiler-core): fix v-if block handling for components that fail to resolve
fix #2058
2020-09-14 12:41:35 -04:00
HcySunYang
24fcf6ae7c
fix(types): properly infer return type from async setup (#2051)
fix #2049
2020-09-14 11:28:56 -04:00
Evan You
0124eacc91 refactor(reactivity): refactor iteration key trigger logic + use more robust Map/Set check 2020-09-14 11:26:34 -04:00
Pick
cf1b6c666f
feat(runtime-dom): allow native Set as v-model checkbox source (#1957) 2020-09-14 11:16:50 -04:00
Wuzado
542680e478
chore(readme): update link to the JSX babel plugin (#2104) [ci skip] 2020-09-14 10:45:32 -04:00
dependabot-preview[bot]
2f7924d530
build(deps-dev): bump @microsoft/api-extractor from 7.9.14 to 7.9.15 (#2113) 2020-09-14 12:03:04 +00:00
dependabot-preview[bot]
d0b56d2fcc
build(deps-dev): bump eslint from 7.8.1 to 7.9.0 (#2114) 2020-09-14 12:02:45 +00:00
dependabot-preview[bot]
7417bac08b
build(deps-dev): bump @microsoft/api-extractor from 7.9.13 to 7.9.14 (#2098) 2020-09-11 05:12:43 +00:00
dependabot-preview[bot]
110e96d152
build(deps-dev): bump rollup from 2.26.10 to 2.26.11 (#2075) 2020-09-09 00:05:06 +00:00
dependabot-preview[bot]
6294390391
build(deps-dev): bump @types/puppeteer from 2.1.2 to 2.1.3 (#2074) 2020-09-09 00:01:55 +00:00
dependabot-preview[bot]
b53d45de65
build(deps-dev): bump rollup from 2.26.9 to 2.26.10 (#2067) 2020-09-07 21:25:00 +00:00
dependabot-preview[bot]
e474754c76
build(deps-dev): bump lint-staged from 10.2.13 to 10.3.0 (#2070) 2020-09-07 12:27:49 +00:00
dependabot-preview[bot]
02e95fc977
build(deps-dev): bump @types/jest from 26.0.12 to 26.0.13 (#2069) 2020-09-07 12:26:35 +00:00
dependabot-preview[bot]
b19488e5d0
build(deps-dev): bump @microsoft/api-extractor from 7.9.11 to 7.9.13 (#2068) 2020-09-07 12:23:20 +00:00
Evan You
d4724619fc fix(inject): fix support for inject option default function
fix #2050
2020-09-04 12:07:30 -04:00
Evan You
6dbc6c4cd0 fix(sfc): fix scoped style regression for child component with single root + comment
fix #2046
2020-09-04 11:36:55 -04:00
Evan You
5f4053967c fix(reactivity): revert ac81dcf
fix #2043
2020-09-04 11:10:26 -04:00
Evan You
fa7ab0a7f7 fix(runtime-core): warn reserved prefix for setup return properties and ensure consistent dev/prod behavior
close #2042
2020-09-03 11:21:14 -04:00
ᴜɴвʏтᴇ
95c07d8c36
fix(runtime-core): fix priority of option merging (#2041) 2020-09-03 10:35:43 -04:00
dependabot-preview[bot]
71b6fedcdb
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>
2020-09-03 09:20:45 -04:00
dependabot-preview[bot]
ef0aa7c99d
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>
2020-09-03 09:20:38 -04:00
dependabot-preview[bot]
cb7de6a921
build(deps-dev): bump eslint from 7.7.0 to 7.8.1 (#2032) 2020-09-03 01:32:14 +00:00
Evan You
4386653e76 release: v3.0.0-rc.10 2020-09-02 12:41:54 -04:00
Evan You
52e45a9850 fix(v-once): fix v-once usage with v-if and v-for
fix #2035
2020-09-02 12:30:37 -04:00
Evan You
ad93fa42fc fix(runtime-core): openBlock() should not be tracked when block tracking is disabled 2020-09-02 12:30:37 -04:00
dependabot-preview[bot]
552ad4e926
build(deps-dev): bump rollup from 2.26.8 to 2.26.9 (#2031) 2020-09-02 05:09:08 +00:00
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