]>
git.ipfire.org Git - thirdparty/vuejs/core.git/log
edison [Thu, 16 Sep 2021 20:23:46 +0000 (04:23 +0800)]
fix(compiler-sfc): support nested await statements (#4458)
fix #4448
Evan You [Thu, 16 Sep 2021 18:23:09 +0000 (14:23 -0400)]
chore(sfc-playground): add dark mode toggle
Thorsten Lünborg [Thu, 16 Sep 2021 17:47:11 +0000 (19:47 +0200)]
fix(compiler-sfc): handle empty strings during template usage analysis of setup bindings (#4608)
fix #4599
ygj6 [Thu, 16 Sep 2021 17:45:55 +0000 (01:45 +0800)]
fix(compile-sfc): add symbol judge in prop type checks. (#4594)
fix #4592
Evan You [Thu, 16 Sep 2021 17:33:02 +0000 (13:33 -0400)]
fix(compiler-sfc): properly reuse hoisted asset imports
fix #4581
lidlanca [Thu, 16 Sep 2021 16:36:04 +0000 (12:36 -0400)]
fix(compiler-core): v-on inline async function expression handler (#4569)
fix #4568
Evan You [Thu, 16 Sep 2021 16:14:33 +0000 (12:14 -0400)]
fix(suspense): fix suspense slot inside deoptimized slot call
fix #4556
Evan You [Thu, 16 Sep 2021 15:58:11 +0000 (11:58 -0400)]
types: relax OptionHTMLAttributes.value type requirement
fix #4574
Wouter Kettlitz [Thu, 16 Sep 2021 15:46:41 +0000 (17:46 +0200)]
types: extend CSSProperties with PropertiesHyphen (#4553)
fix #4552
ygj6 [Thu, 16 Sep 2021 15:33:16 +0000 (23:33 +0800)]
fix(compiler): fix template ref codegen for setup-maybe-ref binding types (#4549)
fix #4546
ygj6 [Thu, 16 Sep 2021 15:16:07 +0000 (23:16 +0800)]
fix(runtime-core): avoid script setup bindings overwriting reserved ctx properties (#4570)
Evan You [Thu, 16 Sep 2021 14:56:34 +0000 (10:56 -0400)]
build: generate more treeshaking friendly code
Evan You [Thu, 9 Sep 2021 16:28:59 +0000 (12:28 -0400)]
fix(compiler-sfc): properly analyze destructured bindings with dynamic keys
fix #4540
Evan You [Wed, 8 Sep 2021 22:58:13 +0000 (18:58 -0400)]
release: v3.2.11
Evan You [Wed, 8 Sep 2021 22:51:19 +0000 (18:51 -0400)]
ci: lock node version to 16.8
Evan You [Wed, 8 Sep 2021 22:36:21 +0000 (18:36 -0400)]
fix(hmr): handle possible duplicate component definitions with same id
fixes regression in vitepress
Evan You [Tue, 7 Sep 2021 20:20:07 +0000 (16:20 -0400)]
release: v3.2.10
Evan You [Tue, 7 Sep 2021 20:16:38 +0000 (16:16 -0400)]
chore: remove unused api-extractor.json
Evan You [Tue, 7 Sep 2021 16:38:19 +0000 (12:38 -0400)]
build: fix compat build exports (again)
Evan You [Tue, 7 Sep 2021 16:25:00 +0000 (12:25 -0400)]
fix(runtime-dom): style patching shoud always preserve v-show display property
close #4424
Roy Eden [Tue, 7 Sep 2021 16:01:17 +0000 (13:01 -0300)]
fix(compiler): condense whitespaces in static class attributes (#4432)
fix #4251
Herrington Darkholme [Tue, 7 Sep 2021 15:36:37 +0000 (23:36 +0800)]
fix(compiler-core): pick last char when dynamic directive doesn't close (#4507)
Herrington Darkholme [Tue, 7 Sep 2021 15:31:27 +0000 (23:31 +0800)]
chore: fix typo in jsdoc (#4526) [ci skip]
n2ptune [Tue, 7 Sep 2021 15:31:12 +0000 (00:31 +0900)]
chore(reactivity): fix typo in dep (#4534) [ci skip]
Illya Klymov [Tue, 7 Sep 2021 15:01:18 +0000 (18:01 +0300)]
fix(build): build vue-compat in default exports mode (#4460)
Evan You [Tue, 7 Sep 2021 13:54:49 +0000 (09:54 -0400)]
fix(compiler-core): avoid runtime dependency on @babel/types
fix #4531
Evan You [Tue, 7 Sep 2021 04:29:40 +0000 (00:29 -0400)]
chore(sfc-playground): remove unused font
Evan You [Tue, 7 Sep 2021 04:29:18 +0000 (00:29 -0400)]
chore(sfc-playground): dark mode
Evan You [Mon, 6 Sep 2021 22:02:27 +0000 (18:02 -0400)]
chore(sfc-playground): use standalone version of @vue/repl
fishDog [Mon, 6 Sep 2021 19:24:15 +0000 (03:24 +0800)]
fix(type): fix prop type infer (#4530)
fix #4525
Evan You [Sun, 5 Sep 2021 22:24:01 +0000 (18:24 -0400)]
release: v3.2.9
Husam Ibrahim [Sun, 5 Sep 2021 22:16:44 +0000 (00:16 +0200)]
types(runtime-core): fix for multiple possible prop types including Date (#4518)
fix #4517
webfansplz [Sun, 5 Sep 2021 22:13:12 +0000 (06:13 +0800)]
fix(compile-sfc): support `Date` prop type with defineProps (#4519)
edison [Sun, 5 Sep 2021 22:10:15 +0000 (06:10 +0800)]
fix(compiler-sfc): support using declared interface in normal script with defineProps() (#4522)
fix #4423
edison [Sun, 5 Sep 2021 22:02:50 +0000 (06:02 +0800)]
fix(compiler-sfc): fix script setup ref assignment codegen edge case (#4520)
fix #4514
webfansplz [Sun, 5 Sep 2021 21:36:46 +0000 (05:36 +0800)]
fix(compile-sfc): generate setup prop type format error (#4506)
fix #4505
ygj6 [Sun, 5 Sep 2021 21:35:13 +0000 (05:35 +0800)]
fix(ref-transform): not transform the prototype attributes. (#4503)
fix #4502
Evan You [Sun, 5 Sep 2021 21:30:18 +0000 (17:30 -0400)]
build: avoid require call to consolidate in esm-browser build
Evan You [Sun, 5 Sep 2021 21:21:24 +0000 (17:21 -0400)]
build: module alias for compiler-sfc browser esm build
Evan You [Sun, 5 Sep 2021 21:19:49 +0000 (17:19 -0400)]
build: pre-shim process in browser build of compiler-sfc
Evan You [Sat, 4 Sep 2021 20:42:39 +0000 (16:42 -0400)]
fix(types): fix ref macro types
fix #4499
fishDog [Sat, 4 Sep 2021 16:04:12 +0000 (00:04 +0800)]
fix(types/ref-transform): fix $$() type
Evan You [Thu, 2 Sep 2021 18:46:30 +0000 (14:46 -0400)]
release: v3.2.8
Evan You [Thu, 2 Sep 2021 18:18:52 +0000 (14:18 -0400)]
chore: remove wrongly placed type casts
Evan You [Thu, 2 Sep 2021 15:51:41 +0000 (11:51 -0400)]
fix(compiler-sfc): ensure script setup generates type-valid ts output
fix #4455
ygj6 [Thu, 2 Sep 2021 15:27:20 +0000 (23:27 +0800)]
fix(compiler): generate function ref for script setup if inline is ture. (#4492)
webfansplz [Thu, 2 Sep 2021 15:26:52 +0000 (23:26 +0800)]
fix(compiler-sfc): generate matching prop types when withDefaults is used (#4466)
fix #4455
dependabot[bot] [Thu, 2 Sep 2021 13:53:57 +0000 (09:53 -0400)]
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#4482)
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
* test: fix nodeOps types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
huangkairan [Thu, 2 Sep 2021 13:44:38 +0000 (21:44 +0800)]
chore: remove unnecessary 'async' for test case (#4490)
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