]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
Herrington Darkholme [Thu, 2 Sep 2021 13:42:20 +0000 (21:42 +0800)]
fix(compiler): report invalid directive name error (#4494) (#4495)
Evan You [Thu, 2 Sep 2021 13:40:44 +0000 (09:40 -0400)]
fix(types): include ref-macros.d.ts in npm dist files
fix #4433
Evan You [Wed, 1 Sep 2021 22:05:16 +0000 (18:05 -0400)]
release: v3.2.7
Evan You [Wed, 1 Sep 2021 21:27:03 +0000 (17:27 -0400)]
fix(compiler): only generate non-static ref for script setup if the binding exists
fix #4431
Evan You [Wed, 1 Sep 2021 21:26:31 +0000 (17:26 -0400)]
chore: update snapshot
X.L [Wed, 1 Sep 2021 20:57:56 +0000 (04:57 +0800)]
fix(suspense): misusing DOM Comment element constructor as a vnode type (#4451)
edison [Wed, 1 Sep 2021 20:55:30 +0000 (04:55 +0800)]
fix(ref-transform): should transform $ref when used with generic arguments (#4446)
fix #4442
zhangenming [Wed, 1 Sep 2021 20:49:12 +0000 (04:49 +0800)]
types(reactivity): adjust type exports (#4407)
Herrington Darkholme [Wed, 1 Sep 2021 20:43:10 +0000 (04:43 +0800)]
refactor(compiler): refine CDATA endTokens (#4459)
Herrington Darkholme [Wed, 1 Sep 2021 20:42:24 +0000 (04:42 +0800)]
chore: fix typo in error message (#4434) [ci skip]
laineus [Wed, 1 Sep 2021 20:41:57 +0000 (05:41 +0900)]
fix(runtime-core): properly merge unmounted and beforeUnmount options (#4447)
ShroXd [Wed, 1 Sep 2021 20:41:08 +0000 (04:41 +0800)]
refactor(runtime-core): improve the type of defineAsyncComponent (#4441)
Cédric Exbrayat [Wed, 1 Sep 2021 20:39:46 +0000 (22:39 +0200)]
chore(deps): update jest to v27 (#4472)
Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues.
See https://github.com/facebook/jest/pull/11721
Cédric Exbrayat [Wed, 1 Sep 2021 20:39:09 +0000 (22:39 +0200)]
chore: set node engine to v16 (#4471)
As some packages rely on the experimental "stream/web" package only available in node v16.5+,
this commit updates the `engines` property to reflect that.
dependabot[bot] [Wed, 1 Sep 2021 20:38:46 +0000 (16:38 -0400)]
build(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0 (#4487)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.2 to 4.30.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.30.0/packages/parser)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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] [Wed, 1 Sep 2021 20:38:38 +0000 (16:38 -0400)]
build(deps-dev): bump @microsoft/api-extractor from 7.18.6 to 7.18.7 (#4485)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.18.6 to 7.18.7.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-extractor_v7.18.6...@microsoft/api-extractor_v7.18.7)
---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
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] [Wed, 1 Sep 2021 20:38:10 +0000 (16:38 -0400)]
build(deps-dev): bump @vitejs/plugin-vue from 1.4.0 to 1.6.0 (#4488)
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite/tree/HEAD/packages/plugin-vue) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-app@1.6.0/packages/plugin-vue)
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
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] [Wed, 1 Sep 2021 20:37:58 +0000 (16:37 -0400)]
build(deps-dev): bump vite from 2.5.0 to 2.5.3 (#4484)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.5.0 to 2.5.3.
- [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/create-vite@2.5.3/packages/vite)
---
updated-dependencies:
- dependency-name: vite
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] [Wed, 1 Sep 2021 20:37:49 +0000 (16:37 -0400)]
build(deps-dev): bump @types/node from 16.7.1 to 16.7.10 (#4483)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.7.1 to 16.7.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>
Evan You [Wed, 1 Sep 2021 16:40:36 +0000 (12:40 -0400)]
fix(compiler-sfc): ensure script setup lang=ts output is tree-shakable
Evan You [Wed, 1 Sep 2021 15:30:34 +0000 (11:30 -0400)]
fix(compiler-core): remove no longer necessary withScopeId import in generated code
Evan You [Tue, 24 Aug 2021 16:54:30 +0000 (12:54 -0400)]
release: v3.2.6
Evan You [Tue, 24 Aug 2021 16:39:38 +0000 (12:39 -0400)]
fix(build): avoid imports to @babel/types in client build of compiler-core
Evan You [Tue, 24 Aug 2021 15:54:22 +0000 (11:54 -0400)]
release: v3.2.5
shadowings-zy [Tue, 24 Aug 2021 15:48:08 +0000 (23:48 +0800)]
fix(compiler-core): fix duplicated component identifier for names with non-ascii chars (#4429)
fix #4422
Evan You [Tue, 24 Aug 2021 14:26:38 +0000 (10:26 -0400)]
chore: warnings for ref transform
Evan You [Tue, 24 Aug 2021 13:20:32 +0000 (09:20 -0400)]
refactor(ref-transform): use shallowRef to align with types
Evan You [Tue, 24 Aug 2021 00:35:12 +0000 (20:35 -0400)]
feat(experimental): expose ref macro types using separate d.ts file
Carlos Rodrigues [Mon, 23 Aug 2021 23:04:03 +0000 (00:04 +0100)]
types(PropType): Allow `undefined` function to be used on `PropType` (#4405)
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