Evan You
075889ebfc
chore: comments
2021-06-23 10:21:33 -04:00
Evan You
0b8b576428
fix(sfc): allow variables that start with _ or $ in <script setup>
2021-06-23 10:13:23 -04:00
Evan You
63e9e2e9aa
feat(sfc): useAttrs + useSlots
...
Deprecate useContext
2021-06-22 21:07:42 -04:00
Evan You
6f6f0cf5dc
feat(sfc): remove <template inherit-attrs>
support
2021-06-22 21:06:51 -04:00
Evan You
65f8c823aa
chore: add missing snapshot
2021-06-22 17:56:45 -04:00
Eduardo San Martin Morote
a137da8a9f
feat(sfc): add defineEmits
and deprecate defineEmit
( #3725 )
2021-06-22 15:02:56 -04:00
Evan You
6b6d566861
release: v3.1.2
2021-06-22 14:24:50 -04:00
Evan You
9f6f8b35c1
fix(compiler-ssr): fix attr fallthrough for transition/keep-alive as template root
...
fix #3981
2021-06-22 14:19:14 -04:00
Evan You
9b607fe409
fix(watch): fix watch option merging from mixins
...
fix #3966
2021-06-22 13:54:43 -04:00
Eduardo San Martin Morote
ab6e927041
fix(Suspense): emit initial fallback and pending events ( #3965 )
...
Fix #3964
2021-06-21 17:03:07 -04:00
edison
43e2a72900
fix(Suspense): fallback should work with transition ( #3968 )
...
fix #3963
2021-06-21 16:58:43 -04:00
Evan You
08e93220f1
fix(compiler-core/compat): fix is prop usage on components
...
also fix v-bind:is usage on plain element in compat mode
fix #3934
2021-06-21 16:16:49 -04:00
Evan You
4de5d24aa7
perf: improve static content insertion perf
...
Especially on multiple insertions of the same static node.
fix #3090
2021-06-21 14:38:29 -04:00
dependabot[bot]
be1e42eb92
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 ( #3952 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 21:23:39 -04:00
Evan You
de954f4560
chore: include estree types in compiler-sfc deps
2021-06-14 15:43:27 -04:00
Evan You
056ef2a7d2
refactor: use markRaw instead of internal flag check
2021-06-11 18:46:31 -04:00
ygj6
b228abb72f
fix(compiler-sfc): rewriteDefault support multiline ( #3917 )
2021-06-09 15:07:48 -04:00
Eunjae Lee
db1dc1c630
fix(runtime-core): bind default function of inject to instance ( #3925 )
...
fix #3923
2021-06-09 12:02:05 -04:00
Evan You
bc100c5c48
fix(compiler-core): improve member expression check
...
fix #3910
2021-06-09 11:57:48 -04:00
Herrington Darkholme
9a5bdb15df
chore(playground): support unicode in sfc playground ( #3662 )
...
atob/btoa only supports ASCII string which makes playground fails
to save unicode source. This patch add unicode support by combining
escape/encodeURIComponent. `escape` is chosen for backward
compatibility.
2021-06-08 10:12:15 -04:00
dependabot[bot]
de67c8861b
build(deps-dev): bump @types/node from 14.14.44 to 14.17.3 ( #3908 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.44 to 14.17.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:04:15 -04:00
dependabot[bot]
2ddf107b6b
build(deps-dev): bump vite from 2.2.4 to 2.3.7 ( #3907 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 2.2.4 to 2.3.7.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v2.3.7/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:04:06 -04:00
dependabot[bot]
a3eb2ebbb2
build(deps): bump glob-parent from 5.1.1 to 5.1.2 ( #3906 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:02:58 -04:00
dependabot[bot]
6f9e43c654
build(deps): bump ws from 6.2.1 to 6.2.2 ( #3877 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:02:37 -04:00
dependabot[bot]
a25099e5b5
build(deps-dev): bump codemirror from 5.61.0 to 5.61.1 ( #3866 )
...
Bumps [codemirror](https://github.com/codemirror/CodeMirror ) from 5.61.0 to 5.61.1.
- [Release notes](https://github.com/codemirror/CodeMirror/releases )
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.61.0...5.61.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:00:35 -04:00
dependabot[bot]
dc66c89983
build(deps): bump postcss-selector-parser from 6.0.5 to 6.0.6 ( #3865 )
...
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser ) from 6.0.5 to 6.0.6.
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases )
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/v6.0.5...v6.0.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:00:16 -04:00
dependabot[bot]
ce5e5a86c8
build(deps): bump postcss from 8.2.13 to 8.3.0 ( #3864 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.13 to 8.3.0.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.13...8.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 10:00:04 -04:00
dependabot[bot]
da80d16987
build(deps-dev): bump @microsoft/api-extractor from 7.15.1 to 7.15.2 ( #3863 )
...
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack ) from 7.15.1 to 7.15.2.
- [Release notes](https://github.com/microsoft/rushstack/releases )
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.15.1...@microsoft/api-extractor_v7.15.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 09:58:59 -04:00
dependabot[bot]
54e0d7ff13
build(deps): bump browserslist from 4.16.3 to 4.16.6 ( #3826 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 09:58:49 -04:00
dependabot[bot]
ef6ace1cc3
build(deps): bump @babel/types from 7.14.0 to 7.14.4 ( #3862 )
...
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types ) from 7.14.0 to 7.14.4.
- [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.14.4/packages/babel-types )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 09:58:40 -04:00
dependabot[bot]
d3cef24b93
build(deps): bump @babel/parser from 7.14.0 to 7.14.4 ( #3860 )
...
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser ) from 7.14.0 to 7.14.4.
- [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.14.4/packages/babel-parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 09:58:22 -04:00
dependabot[bot]
c909c0b091
build(deps-dev): bump @typescript-eslint/parser from 4.23.0 to 4.26.0 ( #3859 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.23.0 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 09:58:13 -04:00
zhangenming
960ef1691f
chore(reactivity): remove unnecessary RefImpl _shallow default value ( #3895 )
2021-06-08 09:58:02 -04:00
LYlanfeng
011dee8644
fix(runtime-core): fix multiple .once event handlers on same component ( #3904 )
...
fix #3902
2021-06-08 09:52:45 -04:00
Guillaume
2b52d5d7c5
fix(devtools): expose root instance
...
related to https://github.com/vuejs/vue-devtools/issues/1376
2021-06-07 23:23:45 +02:00
Evan You
ade9bd9daa
release: v3.1.1
2021-06-07 16:26:54 -04:00
Daniel Roe
434ea30505
fix(compat): update cjs dist file names ( #3893 )
2021-06-07 16:22:42 -04:00
Evan You
70cd2d5211
chore: aggregate 3.1.0 changelog [ci skip]
2021-06-07 12:40:37 -04:00
Evan You
ac15df46c5
release: v3.1.0
2021-06-07 12:38:42 -04:00
Evan You
78380efa65
chore: update compat build readme [ci skip]
2021-06-07 12:34:08 -04:00
Evan You
ad844cf1e7
fix(compat): revert private properties on $options in comapt mode
...
fix #3883
2021-06-07 11:04:41 -04:00
Evan You
5bce2ae723
fix(runtime-core): fix fragment update inside de-opt slots
...
fix #3881
2021-06-04 18:03:40 -04:00
Evan You
71f7c25fbe
release: v3.1.0-beta.7
2021-06-02 16:12:54 -04:00
Evan You
2b5a559055
chore: avoid compat disabled error for built-in components
2021-06-02 16:06:09 -04:00
Evan You
9acc9a1fa8
fix(watch): avoid traversing objects that are marked non-reactive
...
e.g. Vue public instances
2021-06-02 15:51:27 -04:00
Evan You
51d2be2038
perf: avoid deopt for props/emits normalization when global mixins are used
2021-06-02 15:22:52 -04:00
Evan You
e2ca67b59a
fix(runtime-core): align option merge behavior with Vue 2
...
fix #3566 , #2791
2021-06-02 15:19:56 -04:00
Evan You
1e35a860b9
refactor: adjust component options merge cache strategy
...
BREAKING CHANGE: optionMergeStrategies functions no longer receive
the component instance as the 3rd argument. The argument was technically
internal in Vue 2 and only used for generating warnings, and should not
be needed in userland code. This removal enables much more efficient
caching of option merging.
2021-06-02 10:42:52 -04:00
Evan You
44996d1a0a
fix(suspense): fix suspense regression for errored template component
...
fix #3857
2021-05-31 17:19:03 -04:00
Evan You
c7efb967ca
fix(compat): fix deep data merge with extended constructor
...
fix #3852
2021-05-31 16:48:18 -04:00