Commit Graph

3344 Commits

Author SHA1 Message Date
Evan You
03360cefa1 fix(compiler-sfc): treat const reactive() bindings as mutable 2021-02-10 11:39:07 -05:00
dependabot-preview[bot]
cf67306032
build(deps-dev): bump ts-jest from 26.5.0 to 26.5.1 (#3213) 2021-02-10 06:12:57 +00:00
dependabot-preview[bot]
2bc40c68be
build(deps-dev): bump typescript from 4.1.3 to 4.1.4 (#3212) 2021-02-10 06:12:09 +00:00
Evan You
734c65badd fix(compiler-core): do not mark v-for as stable on const bindings
since the source value may be a reactive array

fix vitejs/vite#1956
2021-02-09 11:57:09 -05:00
edison
ec8fd10cec
fix(runtime-core): instanceWatch should pass this.proxy to source as the first argument (#2753) 2021-02-09 08:00:32 +01:00
JokcyLou
bd1240c127
feat: remove useless option in KeepAlive (#3170) 2021-02-09 07:58:53 +01:00
shadowings-zy
b302cbbbd3
fix: kebab-case events are attached correctly on web components, see #2841 (#2847) 2021-02-09 07:58:36 +01:00
xiejiahe
1cc8712235
chore: comment initial space (#3192) [skip ci]
fix(typo): Comment add spaces.
2021-02-08 12:32:12 +01:00
dependabot-preview[bot]
dfd31c3636
build(deps-dev): bump lint-staged from 10.5.3 to 10.5.4 (#3193) 2021-02-08 06:55:31 +00:00
Thorsten Lünborg
96b6433524
fix(compiler-dom): ensure global build filename matches the one defined in package.json (close #3181) (#3185)
Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-07 14:40:14 +01:00
HcySunYang
f43a3b0beb
fix(runtime-core): align $parent/$root with the template ref when using expose (#3158) 2021-02-07 14:39:52 +01:00
edison
3efa2aff13
chore(runtime-core): remove unnecessary variables (#2680) 2021-02-05 20:06:50 +01:00
Alan Wang
1f567264a7
test: fix typo in expect message (#2678) 2021-02-05 20:06:21 +01:00
Cédric Exbrayat
73117f6b5b
fix(runtime-core): allow overriding properties other than props (#3105)
This is useful for testing, as Jest can't spy on an object without `hasOwnProperty`.
VTU can add it, but this commit is needed first.
2021-02-05 19:59:46 +01:00
HcySunYang
48f0d2944f
fix(types): extract the correct props type for the DateConstructor (#2676) 2021-02-05 19:56:23 +01:00
Thorsten Lünborg
288ae0a8d9
feat(runtime-core): improve render context warning (#2496)
Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-05 19:55:45 +01:00
Yang Mingshan
01fdbf4b06
types: use non-null assertion instead of explicit type cast (#2974) 2021-02-05 19:55:23 +01:00
HcySunYang
347a8798a4
fix(runtime-core): check the DEV_ROOT_FRAGMENT flag correctly in the dev environment (#2750) 2021-02-05 19:54:59 +01:00
HcySunYang
2587f36fe3
fix(runtime-core): component methods should override global properties in DEV (#3074) 2021-02-05 19:52:40 +01:00
dependabot-preview[bot]
450f8883c3
build(deps-dev): bump @types/node from 14.14.22 to 14.14.25 (#3169) 2021-02-05 06:24:00 +00:00
Albert Kaaman
4b551420fc
fix: remove superfluous spaces when normalizing class (#3083)
Co-authored-by: Jacek Karczmarczyk <jkarczm@gmail.com>
2021-02-04 14:41:46 +01:00
Evan You
49bc2e4db5
feat(compiler-sfc): upgrade to postcss 8 (#2710) 2021-02-04 14:37:55 +01:00
07akioni
a89d985375
types: focusin & out events (#3136) 2021-02-04 14:05:24 +01:00
Yang Mingshan
e109f7b898
chore: remove overloads numbers in comments (#2976) 2021-02-04 14:34:40 +08:00
dependabot-preview[bot]
2151fbb102
build(deps): [security] bump ini from 1.3.5 to 1.3.8 (#2811)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-03 19:42:48 +01:00
edison
c9f94fa3cf
feat(compiler-core): support BigInt in template (#2900) 2021-02-03 19:28:46 +01:00
HcySunYang
dd02cf37d5
perf(reactivity): should not track __isVue (#2940) 2021-02-03 19:28:07 +01:00
underfin
9dc816d634
fix(compiler-sfc): compiler blank srcset (#3005)
fix https://github.com/vitejs/vite/issues/1523
2021-02-03 19:27:34 +01:00
edison
ffd5288545
feat(runtime-core): props type support BigInt (#2891) 2021-02-03 19:25:45 +01:00
Cody Mikol
de7f9d1efd
fix(docs): change reference to passed deadline (#2930)
mention we plan to drop the next suffix in early
2021 rather than 2020 since that deadline has
passed.

Fixes N/A
2021-02-03 19:25:26 +01:00
Thorsten Lünborg
6a48d23749
fix: ensure all published packages contan a LICENCE file (close #2650) (#2857)
close #2650

Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-03 19:24:47 +01:00
07akioni
4ca4666d58
fix(toRef): ref created from union typed prop can't be used in watch (#3048) 2021-02-03 19:12:51 +01:00
HcySunYang
6d5b623512
fix(compiler-sfc): the empty lang attribute should be treated as no lang specified (#3051) 2021-02-03 19:11:45 +01:00
luwuer
f262438073
fix(runtime-dom): enable set form attr to null on form-elements (#2840) (#2849)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Co-authored-by: Thorsten Lünborg <t.luenborg@googlemail.com>
2021-02-03 19:11:09 +01:00
Alan Wang
6b0a549725
docs(contributing): missing link to Scripts section (#2868)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-02-03 19:10:47 +01:00
Haoqun Jiang
97d6f1a716
fix: should prefix ShadowRoot with window. (#2943)
Otherwise this expression would throw in environments that does not
support `ShadowRoot` which includes the common mocha testing environment
setup that uses `jsdom` and `jsdom-global`.

It is because `ShadowRoot` is not an enumerable property on `window`,
`jsdom-global` fails to expose it on the `global` object.

See the error message at: https://app.circleci.com/pipelines/github/vuejs/vue-cli/779/workflows/17d7d7c4-7605-4588-878a-ddb3a6d37102/jobs/24147
2021-02-03 19:10:27 +01:00
hiroki
18b0c9a011
docs(type): remove unmount parameters (#2601) 2021-02-03 19:09:59 +01:00
Thorsten Lünborg
60e05eff23
fix(runtime-core): ensure app instance can be garbage collected after unmount (close #2907) (#2909)
close #2907

Co-authored-by: Thorsten Luenborg <t.luneborg@googlemail.com>
2021-02-03 19:09:20 +01:00
dependabot-preview[bot]
d5cce47789
build(deps-dev): bump rollup from 2.38.3 to 2.38.4 (#3144) 2021-02-02 06:14:33 +00:00
dependabot-preview[bot]
5ccfd9d22c
build(deps-dev): bump sass from 1.32.5 to 1.32.6 (#3145) 2021-02-02 06:13:49 +00:00
dependabot-preview[bot]
15557c1223
build(deps-dev): bump rollup from 2.38.1 to 2.38.3 (#3140) 2021-02-01 07:07:47 +00:00
dependabot-preview[bot]
ab9317aa20
build(deps-dev): bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0 (#3141) 2021-02-01 06:58:31 +00:00
dependabot-preview[bot]
b0dc06491e
build(deps-dev): bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 (#3139) 2021-02-01 06:55:35 +00:00
dependabot-preview[bot]
c69035be87
build(deps-dev): bump ts-jest from 26.4.4 to 26.5.0 (#3138) 2021-02-01 06:55:21 +00:00
dependabot-preview[bot]
6cc86bf77c
build(deps-dev): bump eslint from 7.18.0 to 7.19.0 (#3137) 2021-02-01 06:52:03 +00:00
Evan You
310cb8cfab chore: fix useSSRContext casing in warning message 2021-01-29 15:03:52 -05:00
Guillaume Chau
4fecb27f86 fix(devtools): send instance to devtools when it's mounted instead of created 2021-01-29 16:48:37 +01:00
dependabot-preview[bot]
d224753ff6
build(deps-dev): bump rollup from 2.38.0 to 2.38.1 (#3120) 2021-01-29 06:20:27 +00:00
dependabot-preview[bot]
7f08636900
build(deps-dev): bump @typescript-eslint/parser from 4.14.0 to 4.14.1 (#3098) 2021-01-26 06:23:13 +00:00
dependabot-preview[bot]
4d1bc8b800
build(deps-dev): bump rollup from 2.37.1 to 2.38.0 (#3093) 2021-01-25 06:35:33 +00:00