From 319eef5bed582d2b207bffc847c4b804ca0fc4bb Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Wed, 13 Dec 2023 17:23:12 -0800 Subject: [PATCH] Bump versions for hotfix release openapi3 0.51.1 (#2755) --- ...ix-multipart-bytes-array_2023-12-13-22-16.json | 10 ---------- ...napi3-multipart-conflict_2023-12-13-16-39.json | 10 ---------- common/config/rush/pnpm-lock.yaml | 8 ++++---- packages/openapi3/CHANGELOG.json | 15 +++++++++++++++ packages/openapi3/CHANGELOG.md | 10 +++++++++- packages/openapi3/package.json | 2 +- packages/playground-website/package.json | 2 +- packages/playground/package.json | 2 +- packages/samples/package.json | 2 +- packages/website/package.json | 2 +- 10 files changed, 33 insertions(+), 30 deletions(-) delete mode 100644 common/changes/@typespec/openapi3/hotfix-multipart-bytes-array_2023-12-13-22-16.json delete mode 100644 common/changes/@typespec/openapi3/hotfix-openapi3-multipart-conflict_2023-12-13-16-39.json diff --git a/common/changes/@typespec/openapi3/hotfix-multipart-bytes-array_2023-12-13-22-16.json b/common/changes/@typespec/openapi3/hotfix-multipart-bytes-array_2023-12-13-22-16.json deleted file mode 100644 index 62d1503483..0000000000 --- a/common/changes/@typespec/openapi3/hotfix-multipart-bytes-array_2023-12-13-22-16.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Fix: Multipart part of type `bytes[]` is now treated as multiple binary part", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} diff --git a/common/changes/@typespec/openapi3/hotfix-openapi3-multipart-conflict_2023-12-13-16-39.json b/common/changes/@typespec/openapi3/hotfix-openapi3-multipart-conflict_2023-12-13-16-39.json deleted file mode 100644 index 29dd0a23e5..0000000000 --- a/common/changes/@typespec/openapi3/hotfix-openapi3-multipart-conflict_2023-12-13-16-39.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@typespec/openapi3", - "comment": "Fix: OpenAPI3 creating conflicting type declaration when type was used in multipart implicit body and json body", - "type": "none" - } - ], - "packageName": "@typespec/openapi3" -} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 7a5cd65110..476b2f89f7 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -871,7 +871,7 @@ importers: specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.51.0 + specifier: workspace:~0.51.1 version: link:../openapi3 '@typespec/protobuf': specifier: workspace:~0.51.0 @@ -1016,7 +1016,7 @@ importers: specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.51.0 + specifier: workspace:~0.51.1 version: link:../openapi3 '@typespec/playground': specifier: workspace:~0.1.0-alpha.4 @@ -1255,7 +1255,7 @@ importers: specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.51.0 + specifier: workspace:~0.51.1 version: link:../openapi3 '@typespec/rest': specifier: workspace:~0.51.0 @@ -1586,7 +1586,7 @@ importers: specifier: workspace:~0.51.0 version: link:../openapi '@typespec/openapi3': - specifier: workspace:~0.51.0 + specifier: workspace:~0.51.1 version: link:../openapi3 '@typespec/playground-website': specifier: workspace:* diff --git a/packages/openapi3/CHANGELOG.json b/packages/openapi3/CHANGELOG.json index 2f4bb07730..5774363d6e 100644 --- a/packages/openapi3/CHANGELOG.json +++ b/packages/openapi3/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@typespec/openapi3", "entries": [ + { + "version": "0.51.1", + "tag": "@typespec/openapi3_v0.51.1", + "date": "Wed, 13 Dec 2023 23:28:17 GMT", + "comments": { + "patch": [ + { + "comment": "Fix: Multipart part of type `bytes[]` is now treated as multiple binary part" + }, + { + "comment": "Fix: OpenAPI3 creating conflicting type declaration when type was used in multipart implicit body and json body" + } + ] + } + }, { "version": "0.51.0", "tag": "@typespec/openapi3_v0.51.0", diff --git a/packages/openapi3/CHANGELOG.md b/packages/openapi3/CHANGELOG.md index a9bb8a3362..da776a58fc 100644 --- a/packages/openapi3/CHANGELOG.md +++ b/packages/openapi3/CHANGELOG.md @@ -1,6 +1,14 @@ # Change Log - @typespec/openapi3 -This log was last generated on Wed, 06 Dec 2023 19:40:58 GMT and should not be manually modified. +This log was last generated on Wed, 13 Dec 2023 23:28:17 GMT and should not be manually modified. + +## 0.51.1 +Wed, 13 Dec 2023 23:28:17 GMT + +### Patches + +- Fix: Multipart part of type `bytes[]` is now treated as multiple binary part +- Fix: OpenAPI3 creating conflicting type declaration when type was used in multipart implicit body and json body ## 0.51.0 Wed, 06 Dec 2023 19:40:58 GMT diff --git a/packages/openapi3/package.json b/packages/openapi3/package.json index 887f19238e..c506870c86 100644 --- a/packages/openapi3/package.json +++ b/packages/openapi3/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/openapi3", - "version": "0.51.0", + "version": "0.51.1", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding", "homepage": "https://microsoft.github.io/typespec", diff --git a/packages/playground-website/package.json b/packages/playground-website/package.json index 45459b6622..6b734db822 100644 --- a/packages/playground-website/package.json +++ b/packages/playground-website/package.json @@ -56,7 +56,7 @@ "@typespec/compiler": "workspace:~0.51.0", "@typespec/http": "workspace:~0.51.0", "@typespec/rest": "workspace:~0.51.0", - "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.1", "@typespec/json-schema": "workspace:~0.51.0", "@typespec/openapi": "workspace:~0.51.0", "@typespec/protobuf": "workspace:~0.51.0", diff --git a/packages/playground/package.json b/packages/playground/package.json index dac3d325eb..13473df77c 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -75,7 +75,7 @@ "@typespec/html-program-viewer": "workspace:~0.51.0", "@typespec/http": "workspace:~0.51.0", "@typespec/openapi": "workspace:~0.51.0", - "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.1", "@typespec/protobuf": "workspace:~0.51.0", "@typespec/rest": "workspace:~0.51.0", "@typespec/versioning": "workspace:~0.51.0", diff --git a/packages/samples/package.json b/packages/samples/package.json index 0f423ae690..def1432fa0 100644 --- a/packages/samples/package.json +++ b/packages/samples/package.json @@ -49,7 +49,7 @@ "@typespec/http": "workspace:~0.51.0", "@typespec/json-schema": "workspace:~0.51.0", "@typespec/openapi": "workspace:~0.51.0", - "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.1", "@typespec/rest": "workspace:~0.51.0", "@typespec/versioning": "workspace:~0.51.0" }, diff --git a/packages/website/package.json b/packages/website/package.json index 65464b204d..8dc79543ba 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -46,7 +46,7 @@ "@typespec/http": "workspace:~0.51.0", "@typespec/rest": "workspace:~0.51.0", "@typespec/openapi": "workspace:~0.51.0", - "@typespec/openapi3": "workspace:~0.51.0", + "@typespec/openapi3": "workspace:~0.51.1", "@typespec/protobuf": "workspace:~0.51.0", "@typespec/versioning": "workspace:~0.51.0", "@typespec/json-schema": "workspace:~0.51.0",