From 36979fdbe556d0243a7d1c9af8ba522c650166c9 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Thu, 8 Feb 2024 10:33:37 -0800 Subject: [PATCH 1/2] Bump versions --- .changeset/chatty-bobcats-love.md | 5 ----- .changeset/healthy-kiwis-grow.md | 5 ----- .changeset/hotfix-union-handling-2024-1-8-17-21-34.md | 3 --- .changeset/spotty-pets-cover.md | 5 ----- packages/samples/package.json | 2 +- packages/typespec-autorest/CHANGELOG.md | 7 +++++++ packages/typespec-autorest/package.json | 4 ++-- packages/typespec-azure-playground-website/package.json | 2 +- packages/typespec-azure-portal-core/package.json | 4 ++-- packages/typespec-azure-resource-manager/package.json | 4 ++-- packages/typespec-service-csharp/package.json | 4 ++-- 11 files changed, 17 insertions(+), 28 deletions(-) delete mode 100644 .changeset/chatty-bobcats-love.md delete mode 100644 .changeset/healthy-kiwis-grow.md delete mode 100644 .changeset/hotfix-union-handling-2024-1-8-17-21-34.md delete mode 100644 .changeset/spotty-pets-cover.md diff --git a/.changeset/chatty-bobcats-love.md b/.changeset/chatty-bobcats-love.md deleted file mode 100644 index 3563e02d9d..0000000000 --- a/.changeset/chatty-bobcats-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/typespec-azure-portal-core": none ---- - -adding typespec-azure-portal-core lib diff --git a/.changeset/healthy-kiwis-grow.md b/.changeset/healthy-kiwis-grow.md deleted file mode 100644 index 0e32202faf..0000000000 --- a/.changeset/healthy-kiwis-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/typespec-autorest": patch ---- - -Support default value for union properties diff --git a/.changeset/hotfix-union-handling-2024-1-8-17-21-34.md b/.changeset/hotfix-union-handling-2024-1-8-17-21-34.md deleted file mode 100644 index 7f0c121438..0000000000 --- a/.changeset/hotfix-union-handling-2024-1-8-17-21-34.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -"@azure-tools/typespec-azure-portal-core": none ---- diff --git a/.changeset/spotty-pets-cover.md b/.changeset/spotty-pets-cover.md deleted file mode 100644 index 404d0bfe4f..0000000000 --- a/.changeset/spotty-pets-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/typespec-autorest": patch ---- - -Fix: Description being ignored on unions diff --git a/packages/samples/package.json b/packages/samples/package.json index bba478f4e1..8028175828 100644 --- a/packages/samples/package.json +++ b/packages/samples/package.json @@ -45,7 +45,7 @@ "@typespec/http": "workspace:~0.53.0", "@typespec/rest": "workspace:~0.53.0", "@azure-tools/typespec-azure-core": "workspace:~0.39.0", - "@azure-tools/typespec-autorest": "workspace:~0.39.0", + "@azure-tools/typespec-autorest": "workspace:~0.39.1", "@azure-tools/typespec-azure-resource-manager": "workspace:~0.39.0", "@azure-tools/typespec-client-generator-core": "workspace:~0.39.0" }, diff --git a/packages/typespec-autorest/CHANGELOG.md b/packages/typespec-autorest/CHANGELOG.md index 3e4080581e..699829aba3 100644 --- a/packages/typespec-autorest/CHANGELOG.md +++ b/packages/typespec-autorest/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log - @azure-tools/typespec-autorest +## 0.39.1 + +### Patch Changes + +- b5fa501: Support default value for union properties +- b5fa501: Fix: Description being ignored on unions + ## 0.39.0 ### Minor Changes diff --git a/packages/typespec-autorest/package.json b/packages/typespec-autorest/package.json index 30110f75ab..f2ddba26cc 100644 --- a/packages/typespec-autorest/package.json +++ b/packages/typespec-autorest/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-autorest", - "version": "0.39.0", + "version": "0.39.1", "author": "Microsoft Corporation", "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding", "homepage": "https://azure.github.io/typespec-azure", @@ -64,7 +64,7 @@ }, "devDependencies": { "@typespec/compiler": "workspace:~0.53.1", - "@typespec/json-schema": "workspace:~0.53.0", + "@typespec/json-schema": "workspace:~0.53.1", "@azure-tools/typespec-azure-core": "workspace:~0.39.0", "@azure-tools/typespec-client-generator-core": "workspace:~0.39.0", "@typespec/http": "workspace:~0.53.0", diff --git a/packages/typespec-azure-playground-website/package.json b/packages/typespec-azure-playground-website/package.json index 77e2244df7..2bade99b8b 100644 --- a/packages/typespec-azure-playground-website/package.json +++ b/packages/typespec-azure-playground-website/package.json @@ -54,7 +54,7 @@ "@typespec/http": "workspace:~0.53.0", "@typespec/openapi": "workspace:~0.53.0", "@typespec/openapi3": "workspace:~0.53.1", - "@azure-tools/typespec-autorest": "workspace:~0.39.0", + "@azure-tools/typespec-autorest": "workspace:~0.39.1", "@azure-tools/typespec-azure-core": "workspace:~0.39.0", "@azure-tools/typespec-azure-resource-manager": "workspace:~0.39.0", "@azure-tools/typespec-client-generator-core": "workspace:~0.39.0", diff --git a/packages/typespec-azure-portal-core/package.json b/packages/typespec-azure-portal-core/package.json index 0ffa69aa7a..272eb07fc4 100644 --- a/packages/typespec-azure-portal-core/package.json +++ b/packages/typespec-azure-portal-core/package.json @@ -29,10 +29,10 @@ "tspMain": "lib/main.tsp", "peerDependencies": { "@azure-tools/typespec-azure-resource-manager": "workspace:~0.39.0", - "@typespec/compiler": "workspace:~0.53.0" + "@typespec/compiler": "workspace:~0.53.1" }, "devDependencies": { - "@azure-tools/typespec-autorest": "workspace:~0.39.0", + "@azure-tools/typespec-autorest": "workspace:~0.39.1", "@azure-tools/typespec-azure-core": "workspace:~0.39.0", "@azure-tools/typespec-azure-resource-manager": "workspace:~0.39.0", "@azure-tools/typespec-client-generator-core": "workspace:~0.39.0", diff --git a/packages/typespec-azure-resource-manager/package.json b/packages/typespec-azure-resource-manager/package.json index 32d908f5ec..6603f13bca 100644 --- a/packages/typespec-azure-resource-manager/package.json +++ b/packages/typespec-azure-resource-manager/package.json @@ -54,7 +54,7 @@ "peerDependencies": { "@typespec/compiler": "workspace:~0.53.1", "@azure-tools/typespec-azure-core": "~0.39.0", - "@azure-tools/typespec-autorest": "~0.39.0", + "@azure-tools/typespec-autorest": "~0.39.1", "@typespec/openapi": "workspace:~0.53.0", "@typespec/rest": "workspace:~0.53.0", "@typespec/http": "workspace:~0.53.0", @@ -64,7 +64,7 @@ "@typespec/compiler": "workspace:~0.53.1", "@typespec/openapi": "workspace:~0.53.0", "@azure-tools/typespec-azure-core": "workspace:~0.39.0", - "@azure-tools/typespec-autorest": "workspace:~0.39.0", + "@azure-tools/typespec-autorest": "workspace:~0.39.1", "@typespec/rest": "workspace:~0.53.0", "@typespec/http": "workspace:~0.53.0", "@typespec/versioning": "workspace:~0.53.0", diff --git a/packages/typespec-service-csharp/package.json b/packages/typespec-service-csharp/package.json index 3da120d260..a276b1bb86 100644 --- a/packages/typespec-service-csharp/package.json +++ b/packages/typespec-service-csharp/package.json @@ -50,7 +50,7 @@ "@typespec/rest": "workspace:~0.53.0", "@typespec/http": "workspace:~0.53.0", "@typespec/versioning": "workspace:~0.53.0", - "@azure-tools/typespec-autorest": "~0.39.0", + "@azure-tools/typespec-autorest": "~0.39.1", "@azure-tools/typespec-azure-core": "~0.39.0" }, "dependencies": { @@ -58,7 +58,7 @@ }, "devDependencies": { "@typespec/compiler": "workspace:~0.53.1", - "@azure-tools/typespec-autorest": "workspace:~0.39.0", + "@azure-tools/typespec-autorest": "workspace:~0.39.1", "@typespec/openapi": "workspace:~0.53.0", "@typespec/rest": "workspace:~0.53.0", "@typespec/http": "workspace:~0.53.0", From 0a5993fc058208be69e6941c68b7117c1517c8e0 Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Thu, 8 Feb 2024 10:33:58 -0800 Subject: [PATCH 2/2] pnpm lock --- pnpm-lock.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98b2552b01..88db6756c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1564,7 +1564,7 @@ importers: packages/samples: dependencies: '@azure-tools/typespec-autorest': - specifier: workspace:~0.39.0 + specifier: workspace:~0.39.1 version: link:../typespec-autorest '@azure-tools/typespec-azure-core': specifier: workspace:~0.39.0 @@ -1655,7 +1655,7 @@ importers: specifier: workspace:~0.53.0 version: link:../../core/packages/http '@typespec/json-schema': - specifier: workspace:~0.53.0 + specifier: workspace:~0.53.1 version: link:../../core/packages/json-schema '@typespec/library-linter': specifier: workspace:~0.53.0 @@ -1754,7 +1754,7 @@ importers: packages/typespec-azure-playground-website: dependencies: '@azure-tools/typespec-autorest': - specifier: workspace:~0.39.0 + specifier: workspace:~0.39.1 version: link:../typespec-autorest '@azure-tools/typespec-azure-core': specifier: workspace:~0.39.0 @@ -1839,7 +1839,7 @@ importers: packages/typespec-azure-portal-core: devDependencies: '@azure-tools/typespec-autorest': - specifier: workspace:~0.39.0 + specifier: workspace:~0.39.1 version: link:../typespec-autorest '@azure-tools/typespec-azure-core': specifier: workspace:~0.39.0 @@ -1905,7 +1905,7 @@ importers: packages/typespec-azure-resource-manager: devDependencies: '@azure-tools/typespec-autorest': - specifier: workspace:~0.39.0 + specifier: workspace:~0.39.1 version: link:../typespec-autorest '@azure-tools/typespec-azure-core': specifier: workspace:~0.39.0 @@ -2039,7 +2039,7 @@ importers: version: 5.3.0 devDependencies: '@azure-tools/typespec-autorest': - specifier: workspace:~0.39.0 + specifier: workspace:~0.39.1 version: link:../typespec-autorest '@azure-tools/typespec-azure-core': specifier: workspace:~0.39.0