]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
klwf [Mon, 23 Aug 2021 23:02:54 +0000 (07:02 +0800)]
fix(compiler-sfc): fix `<script>` and `<script setup>` co-usage ordering edge case (#4419)
Fix: #4395
Fix: #4376
阿崔cxr [Mon, 23 Aug 2021 22:52:11 +0000 (06:52 +0800)]
chore(test): make unnecessarily async test case sync (#4421)
lidlanca [Mon, 23 Aug 2021 22:40:16 +0000 (18:40 -0400)]
fix(compiler-sfc): fix 'export default' rewrite with extra whitespaces (#4375)
zhangenming [Mon, 23 Aug 2021 22:32:58 +0000 (06:32 +0800)]
refactor(reactivity): use explicit assignments. (#4401)
HcySunYang [Mon, 23 Aug 2021 22:28:52 +0000 (06:28 +0800)]
fix(types): improve the type of createElementBlock (#4406)
fix #4391
Evan You [Mon, 23 Aug 2021 22:22:21 +0000 (18:22 -0400)]
refactor(ref-transform): improve algorithm into one pass
Evan You [Mon, 23 Aug 2021 20:00:46 +0000 (16:00 -0400)]
feat(experimental): support ref transform for sfc normal `<script>`
Evan You [Mon, 23 Aug 2021 18:23:46 +0000 (14:23 -0400)]
chore(sfc-playground): improve version dropdown
Evan You [Mon, 23 Aug 2021 17:55:06 +0000 (13:55 -0400)]
chore: fix sfc playground ci build
Evan You [Mon, 23 Aug 2021 16:21:17 +0000 (12:21 -0400)]
chore(sfc-playground): enable ref transform
Evan You [Mon, 23 Aug 2021 16:20:53 +0000 (12:20 -0400)]
feat(ref-transform): auto infer parser plugins
Evan You [Mon, 23 Aug 2021 16:19:41 +0000 (12:19 -0400)]
refactor(compiler-sfc): refSugar -> refTransform, export shouldTransformRef
Evan You [Mon, 23 Aug 2021 16:18:43 +0000 (12:18 -0400)]
chore: export extractIdentifiers
Evan You [Mon, 23 Aug 2021 14:45:58 +0000 (10:45 -0400)]
feat(experimental): shouldTransform for ref-transform
Evan You [Mon, 23 Aug 2021 02:28:47 +0000 (22:28 -0400)]
refactor(compiler-sfc): remove parseOnly mode
Evan You [Mon, 23 Aug 2021 02:21:42 +0000 (22:21 -0400)]
feat(experimental): standalone ref transform
Evan You [Sun, 22 Aug 2021 19:33:21 +0000 (15:33 -0400)]
chore: bump deps
Evan You [Sun, 22 Aug 2021 18:51:16 +0000 (14:51 -0400)]
refactor(compiler): further extract babel ast utilities
Evan You [Sun, 22 Aug 2021 17:24:16 +0000 (13:24 -0400)]
refactor(compiler): extract shared ast transform utils
Also improve referenced identifier check using isReferenced from @babel/types
Evan You [Sun, 22 Aug 2021 16:33:00 +0000 (12:33 -0400)]
test(compiler-core): include test case for expression prefixing in assignments
Evan You [Fri, 20 Aug 2021 04:07:16 +0000 (00:07 -0400)]
types: improve ref sugar $computed typing
Evan You [Tue, 17 Aug 2021 19:52:48 +0000 (15:52 -0400)]
fix(compiler-sfc): should also expose regular script block bindings when `<script setup>` is used
close #4369
Evan You [Tue, 17 Aug 2021 19:42:18 +0000 (15:42 -0400)]
chore(sfc-playground): update code style and syntax
Evan You [Tue, 17 Aug 2021 16:26:50 +0000 (12:26 -0400)]
release: v3.2.4
Evan You [Tue, 17 Aug 2021 16:18:54 +0000 (12:18 -0400)]
Revert "chore: add missing space in warning message (#4359) [ci skip]"
This reverts commit
c68cba82eaabdef8d5e3c8dae1146bdb315a845a.
似水微寒 [Tue, 17 Aug 2021 16:12:18 +0000 (00:12 +0800)]
refactor(compiler-sfc): remove duplicate judgment conditions (#4368)
zhangenming [Tue, 17 Aug 2021 16:11:52 +0000 (00:11 +0800)]
refactor(reactivity): reduce variable access (#4366)
okbug [Tue, 17 Aug 2021 15:28:33 +0000 (23:28 +0800)]
chore: add missing space in warning message (#4359) [ci skip]
Evan You [Tue, 17 Aug 2021 15:15:53 +0000 (11:15 -0400)]
fix(runtime-core): ensure consistent arguments for tempalte and render funtion slot usage
fix #4367
Evan You [Tue, 17 Aug 2021 14:57:28 +0000 (10:57 -0400)]
fix(runtime-core): fix child component double update on props change
fix #4365
Evan You [Tue, 17 Aug 2021 14:10:26 +0000 (10:10 -0400)]
fix(compiler-sfc): fix import usage check for lowercase imported components
fix #4358
Evan You [Mon, 16 Aug 2021 22:25:32 +0000 (18:25 -0400)]
release: v3.2.3
webfansplz [Mon, 16 Aug 2021 22:19:44 +0000 (06:19 +0800)]
chore(types): remove unnecessary type assertions (#4336)
Haoqun Jiang [Mon, 16 Aug 2021 22:19:06 +0000 (06:19 +0800)]
chore: rename `onDispose` to `onScopeDispose` in warnings and tests (#4355)
skirtle [Mon, 16 Aug 2021 22:18:36 +0000 (23:18 +0100)]
fix(runtime-dom): consistently remove boolean attributes for falsy values (#4348)
Evan You [Mon, 16 Aug 2021 22:03:03 +0000 (18:03 -0400)]
fix(compiler-sfc): fix import usage check in template strings in expressions
fix #4340
webfansplz [Mon, 16 Aug 2021 21:40:00 +0000 (05:40 +0800)]
fix(defineProps): defineProps generates unnecessary array of same types (#4353)
fix #4352
Evan You [Mon, 16 Aug 2021 21:13:37 +0000 (17:13 -0400)]
types(runtime-dom): fix jsx type for IDE v-model inference
fix #4321
Amour1688 [Mon, 16 Aug 2021 20:52:34 +0000 (04:52 +0800)]
types(runtime-dom): export type `StyleValue` (#3718)
zdw [Mon, 16 Aug 2021 20:51:41 +0000 (04:51 +0800)]
fix(types): fix tsx ref component instance type (#2486)
fishDog [Mon, 16 Aug 2021 20:37:31 +0000 (04:37 +0800)]
fix(compiler-core): fix style binding edge case (#4319)
where static `style` attribute and `:style` with constant binding are used together
fix #4317
Evan You [Mon, 16 Aug 2021 20:08:52 +0000 (16:08 -0400)]
fix(compiler-sfc): bail on import usage check when template has custom lang
fix #4312
Evan You [Mon, 16 Aug 2021 19:57:10 +0000 (15:57 -0400)]
fix(compiler-core): fix hoisting logic for elements with cached handlers + other bindings
fix #4327
鱼 [Mon, 16 Aug 2021 19:46:27 +0000 (03:46 +0800)]
fix(runtime-core): patchChildren first in patchElement (#4313)
HcySunYang [Mon, 16 Aug 2021 19:35:50 +0000 (03:35 +0800)]
fix(runtime-core): vnode hooks should not be called on async wrapper (#4349)
fix #4346
lidlanca [Mon, 16 Aug 2021 19:34:59 +0000 (15:34 -0400)]
test(shared): improve test case for toDisplayString (#4337)
edison [Mon, 16 Aug 2021 19:28:34 +0000 (03:28 +0800)]
fix(shared): fix toDisplayString on object with null prototype (#4335)
fix #4334
Hazlank [Mon, 16 Aug 2021 19:13:04 +0000 (14:13 -0500)]
refactor: merge bitwise flag checks (#4324)
dependabot[bot] [Mon, 16 Aug 2021 19:10:20 +0000 (15:10 -0400)]
build(deps): bump jszip from 3.6.0 to 3.7.1 (#4311)
Bumps [jszip](https://github.com/Stuk/jszip) from 3.6.0 to 3.7.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.6.0...v3.7.1)
---
updated-dependencies:
- dependency-name: jszip
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Evan You [Wed, 11 Aug 2021 15:40:25 +0000 (11:40 -0400)]
release: v3.2.2
edison [Wed, 11 Aug 2021 14:53:54 +0000 (22:53 +0800)]
fix(runtime-dom): patch `textContent` on svg properly (#4301)
fix #4296
webfansplz [Wed, 11 Aug 2021 14:52:36 +0000 (22:52 +0800)]
fix(types): fix tsx emit-mapped handler return type (#4290)
fix #4288
edison [Wed, 11 Aug 2021 14:46:18 +0000 (22:46 +0800)]
fix(types): fix forceUpdate type (#4302)
Shinigami [Wed, 11 Aug 2021 14:42:46 +0000 (16:42 +0200)]
fix(types): allow symbol in JSX ReservedProps.key (#4306)
Evan You [Wed, 11 Aug 2021 14:19:58 +0000 (10:19 -0400)]
feat(sfc): support $shallowRef ref sugar
Evan You [Tue, 10 Aug 2021 18:57:47 +0000 (14:57 -0400)]
chore(compiler-sfc): emit compiler error against incorrect ref sugar usage
Evan You [Tue, 10 Aug 2021 15:46:44 +0000 (11:46 -0400)]
fix(server-renderer): pipeToWebWritable CF worker compat
fix #4287
webfansplz [Tue, 10 Aug 2021 17:59:58 +0000 (01:59 +0800)]
test(reactivity): add test case for effectScope (#4239)
Jordan Pittman [Tue, 10 Aug 2021 17:57:27 +0000 (13:57 -0400)]
chore: remove left over debugger line (#4286) [ci skip]
Evan You [Mon, 9 Aug 2021 20:29:53 +0000 (16:29 -0400)]
release: v3.2.1
Evan You [Mon, 9 Aug 2021 20:25:54 +0000 (16:25 -0400)]
chore: manual changelog for 3.2 [ci skip]
Evan You [Mon, 9 Aug 2021 20:22:20 +0000 (16:22 -0400)]
fix(compiler-sfc): fix import usage check for last expression
Evan You [Mon, 9 Aug 2021 20:08:53 +0000 (16:08 -0400)]
chore: update sfc playground download dep versions
Evan You [Mon, 9 Aug 2021 19:51:53 +0000 (15:51 -0400)]
release: v3.2.0
lidlanca [Mon, 9 Aug 2021 19:39:22 +0000 (15:39 -0400)]
feat(runtime-core): support dynamic / external array in v-memo (#4255)
Evan You [Mon, 9 Aug 2021 18:39:40 +0000 (14:39 -0400)]
fix(compiler-dom): stringify eligible svg content
fix #4282
WoodyJang [Mon, 9 Aug 2021 16:36:34 +0000 (00:36 +0800)]
chore: delete useless props type (#4271)
Evan You [Mon, 9 Aug 2021 16:17:22 +0000 (12:17 -0400)]
fix(compiler-sfc): fix import usage detection for names containing $
fix #4274
Evan You [Sat, 7 Aug 2021 03:12:27 +0000 (23:12 -0400)]
release: v3.2.0-beta.8
fishDog [Sat, 7 Aug 2021 02:37:55 +0000 (10:37 +0800)]
fix(compiler-core): detected forwarded slots in nested components (#4268)
fix #4244
edison [Sat, 7 Aug 2021 01:44:45 +0000 (09:44 +0800)]
fix(v-memo): ensure track block when returning cached vnode (#4270)
fix #4253
edison [Sat, 7 Aug 2021 01:37:09 +0000 (09:37 +0800)]
fix(v-memo): should work on v-for with constant expression (#4272)
fix #4246
Evan You [Fri, 6 Aug 2021 23:15:55 +0000 (19:15 -0400)]
feat(runtime-dom): support async component in defineCustomElement
close #4261
Evan You [Fri, 6 Aug 2021 17:01:39 +0000 (13:01 -0400)]
test: improve test case for
865b84bf
Eugene Kopich [Fri, 6 Aug 2021 16:58:40 +0000 (19:58 +0300)]
chore: update link in comments for new ref sugar (#4265) [ci skip]
Jeff Yang [Fri, 6 Aug 2021 16:58:14 +0000 (23:28 +0630)]
chore: rename regSugar.test-d.ts to refSugar.test-d.ts (#4258)
Evan You [Fri, 6 Aug 2021 16:55:48 +0000 (12:55 -0400)]
fix(compiler-sfc): fix ref sugar rewrite for identifiers in ts casting expressions
fix #4254
Evan You [Fri, 6 Aug 2021 16:41:40 +0000 (12:41 -0400)]
refactor(server-renderer): adjust streaming API
- add `pipeToNodeWritable`
- add `pipeToWebWritable`
James Ross [Fri, 6 Aug 2021 15:23:12 +0000 (16:23 +0100)]
docs(server-renderer): fix typo in `renderToWebStream` error, and remove Cloudflare Worker reference (#4249) [ci skip]
AlexandraCaragata [Fri, 6 Aug 2021 15:11:26 +0000 (17:11 +0200)]
fix(core): typing of key in VNodeProps (#4242)
close #4240
Evan You [Wed, 4 Aug 2021 21:06:23 +0000 (17:06 -0400)]
chore: update new ref sugar warning link
Evan You [Wed, 4 Aug 2021 19:39:23 +0000 (15:39 -0400)]
refactor(compiler-sfc): use shallowRef for ref sugar destructure
hfutsora [Mon, 2 Aug 2021 13:41:41 +0000 (21:41 +0800)]
fix(runtime-dom): fix shadowRoot instanceof check in unsupported browsers (#4238)
Amour1688 [Mon, 2 Aug 2021 13:18:35 +0000 (21:18 +0800)]
fix(types): remove explicit return type annotation requirement for `this` inference in computed options (#4221)
dependabot[bot] [Mon, 2 Aug 2021 12:58:34 +0000 (08:58 -0400)]
build(deps-dev): bump @types/node from 16.4.7 to 16.4.10 (#4230)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.7 to 16.4.10.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:58:23 +0000 (08:58 -0400)]
build(deps-dev): bump @microsoft/api-extractor from 7.15.2 to 7.18.4 (#4234)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.15.2 to 7.18.4.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.15.2...@microsoft/api-extractor_v7.18.4)
---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
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>
dependabot[bot] [Mon, 2 Aug 2021 12:58:14 +0000 (08:58 -0400)]
build(deps-dev): bump @types/lru-cache from 5.1.0 to 5.1.1 (#4233)
Bumps [@types/lru-cache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lru-cache) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lru-cache)
---
updated-dependencies:
- dependency-name: "@types/lru-cache"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:57:59 +0000 (08:57 -0400)]
build(deps): bump @babel/parser from 7.14.7 to 7.14.9 (#4232)
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.14.7 to 7.14.9.
- [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.9/packages/babel-parser)
---
updated-dependencies:
- dependency-name: "@babel/parser"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:57:32 +0000 (08:57 -0400)]
build(deps): bump postcss-modules from 4.1.3 to 4.2.2 (#4231)
Bumps [postcss-modules](https://github.com/css-modules/postcss-modules) from 4.1.3 to 4.2.2.
- [Release notes](https://github.com/css-modules/postcss-modules/releases)
- [Changelog](https://github.com/madyankin/postcss-modules/blob/master/CHANGELOG.md)
- [Commits](https://github.com/css-modules/postcss-modules/compare/v4.1.3...v4.2.2)
---
updated-dependencies:
- dependency-name: postcss-modules
dependency-type: direct:production
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>
dependabot[bot] [Mon, 2 Aug 2021 12:57:04 +0000 (08:57 -0400)]
build(deps-dev): bump eslint from 7.29.0 to 7.32.0 (#4229)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0)
---
updated-dependencies:
- dependency-name: eslint
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>
dependabot[bot] [Mon, 2 Aug 2021 12:56:56 +0000 (08:56 -0400)]
build(deps-dev): bump @types/puppeteer from 5.4.3 to 5.4.4 (#4228)
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer)
---
updated-dependencies:
- dependency-name: "@types/puppeteer"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:56:48 +0000 (08:56 -0400)]
build(deps-dev): bump @types/consolidate from 0.14.0 to 0.14.1 (#4227)
Bumps [@types/consolidate](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/consolidate) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/consolidate)
---
updated-dependencies:
- dependency-name: "@types/consolidate"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Aug 2021 12:56:39 +0000 (08:56 -0400)]
build(deps-dev): bump sass from 1.35.1 to 1.37.0 (#4226)
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.1 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.1...1.37.0)
---
updated-dependencies:
- dependency-name: sass
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>
Evan You [Thu, 29 Jul 2021 21:20:05 +0000 (17:20 -0400)]
chore(server-renderer): readme [ci skip]
Evan You [Thu, 29 Jul 2021 21:15:56 +0000 (17:15 -0400)]
fix(runtime-core): component effect scopes should be detached
Evan You [Thu, 29 Jul 2021 17:21:30 +0000 (13:21 -0400)]
release: v3.2.0-beta.7
Evan You [Thu, 29 Jul 2021 17:12:50 +0000 (13:12 -0400)]
feat(server-renderer): decouple esm build from Node + improve stream API
- deprecate `renderToSTream`
- added `renderToNodeStream`
- added `renderToWebStream`
- added `renderToSimpleStream`
close #3467
close #3111
close #3460
Evan You [Thu, 29 Jul 2021 16:52:23 +0000 (12:52 -0400)]
chore: bump node types
Evan You [Thu, 29 Jul 2021 16:35:35 +0000 (12:35 -0400)]
ci: set node to 16
Roan Kattouw [Thu, 29 Jul 2021 14:51:03 +0000 (10:51 -0400)]
fix(shared): support custom .toString() in text interpolation again (#4210)
fix #3944