From f8ab2ed94a79d454c4f439dcb7201867e2acac95 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Thu, 17 Sep 2026 12:31:42 -0700 Subject: [PATCH] chore(python): release 0.37.3 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../fix-required-etag-header-2026-09-14.md | 7 ----- ...ingle-union-aliases-2026-09-10-15-30-27.md | 7 ----- packages/http-client-python/CHANGELOG.md | 8 ++++++ packages/http-client-python/package-lock.json | 28 +++++++++---------- packages/http-client-python/package.json | 8 +++--- 5 files changed, 26 insertions(+), 32 deletions(-) delete mode 100644 .chronus/changes/fix-required-etag-header-2026-09-14.md delete mode 100644 .chronus/changes/l0lawrence-single-union-aliases-2026-09-10-15-30-27.md diff --git a/.chronus/changes/fix-required-etag-header-2026-09-14.md b/.chronus/changes/fix-required-etag-header-2026-09-14.md deleted file mode 100644 index 30a45960e55..00000000000 --- a/.chronus/changes/fix-required-etag-header-2026-09-14.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@typespec/http-client-python" ---- - -Generate complete ETag handling for operations in nested operation groups. diff --git a/.chronus/changes/l0lawrence-single-union-aliases-2026-09-10-15-30-27.md b/.chronus/changes/l0lawrence-single-union-aliases-2026-09-10-15-30-27.md deleted file mode 100644 index 1cecf4411f8..00000000000 --- a/.chronus/changes/l0lawrence-single-union-aliases-2026-09-10-15-30-27.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@typespec/http-client-python" ---- - -Fix named single-member unions to emit valid Python type aliases without generating lone overloads. diff --git a/packages/http-client-python/CHANGELOG.md b/packages/http-client-python/CHANGELOG.md index f47ecdd1b39..8e0ae029ea7 100644 --- a/packages/http-client-python/CHANGELOG.md +++ b/packages/http-client-python/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log - @typespec/http-client-python +## 0.37.3 + +### Bug Fixes + +- [#11964](https://github.com/microsoft/typespec/pull/11964) Generate complete ETag handling for operations in nested operation groups. +- [#11946](https://github.com/microsoft/typespec/pull/11946) Fix named single-member unions to emit valid Python type aliases without generating lone overloads. + + ## 0.37.2 ### Bump dependencies diff --git a/packages/http-client-python/package-lock.json b/packages/http-client-python/package-lock.json index 68ccfe2a0af..7584f1a80f7 100644 --- a/packages/http-client-python/package-lock.json +++ b/packages/http-client-python/package-lock.json @@ -1,12 +1,12 @@ { "name": "@typespec/http-client-python", - "version": "0.37.2", + "version": "0.37.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@typespec/http-client-python", - "version": "0.37.2", + "version": "0.37.3", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -22,14 +22,14 @@ "@azure-tools/typespec-azure-core": "~0.72.0", "@azure-tools/typespec-azure-resource-manager": "~0.72.0", "@azure-tools/typespec-azure-rulesets": "~0.72.0", - "@azure-tools/typespec-client-generator-core": "~0.72.0", + "@azure-tools/typespec-client-generator-core": "~0.72.1", "@types/js-yaml": "~4.0.5", "@types/node": "~25.0.2", "@types/semver": "7.5.8", "@typespec/compiler": "^1.16.0", "@typespec/events": "~0.86.0", "@typespec/http": "^1.16.0", - "@typespec/http-specs": "0.1.0-alpha.42", + "@typespec/http-specs": "0.1.0-alpha.43", "@typespec/openapi": "^1.16.0", "@typespec/rest": "~0.86.0", "@typespec/spec-api": "0.1.0-alpha.17", @@ -54,7 +54,7 @@ "@azure-tools/typespec-azure-core": ">=0.72.0 <1.0.0", "@azure-tools/typespec-azure-resource-manager": ">=0.72.0 <1.0.0", "@azure-tools/typespec-azure-rulesets": ">=0.72.0 <1.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.72.0 <1.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.72.1 <1.0.0", "@typespec/compiler": "^1.16.0", "@typespec/events": ">=0.86.0 <1.0.0", "@typespec/http": "^1.16.0", @@ -171,9 +171,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.72.0", - "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.72.0.tgz", - "integrity": "sha1-IR38UekOb2cJZ54THxVkV49/pCM=", + "version": "0.72.1", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.72.1.tgz", + "integrity": "sha512-4KVYEtiqKDZFrMvLvD25oLZ/DfNu988PqiTGO+JgFiWN7nwnLGxyDBEsb1t6bip+FYkGN3CYzqTdCk5Y7ID8jQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2264,9 +2264,9 @@ } }, "node_modules/@typespec/http-specs": { - "version": "0.1.0-alpha.42", - "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/@typespec/http-specs/-/http-specs-0.1.0-alpha.42.tgz", - "integrity": "sha1-JIAe4TRV5fAlto13GXdBpgA0elw=", + "version": "0.1.0-alpha.43", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@typespec/http-specs/-/http-specs-0.1.0-alpha.43.tgz", + "integrity": "sha512-5+o8/o/iG8HPUx67b/rIZyT5zY3tjYq3hKSoHzAJwXcdyQrjuC96Q+6XenUPlf1DwUGbqxHbNeMuQgM+VSNGnw==", "dev": true, "license": "MIT", "dependencies": { @@ -4845,9 +4845,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.19", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz", - "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==", + "version": "3.3.18", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/nanoid/-/nanoid-3.3.18.tgz", + "integrity": "sha1-9mot4Rmf/eD88hyKXxMQaxwIGRM=", "dev": true, "funding": [ { diff --git a/packages/http-client-python/package.json b/packages/http-client-python/package.json index dcce8fb07b9..aa2f183837a 100644 --- a/packages/http-client-python/package.json +++ b/packages/http-client-python/package.json @@ -1,6 +1,6 @@ { "name": "@typespec/http-client-python", - "version": "0.37.2", + "version": "0.37.3", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://typespec.io", @@ -70,7 +70,7 @@ "@azure-tools/typespec-azure-core": ">=0.72.0 <1.0.0", "@azure-tools/typespec-azure-resource-manager": ">=0.72.0 <1.0.0", "@azure-tools/typespec-azure-rulesets": ">=0.72.0 <1.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.72.0 <1.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.72.1 <1.0.0", "@typespec/compiler": "^1.16.0", "@typespec/http": "^1.16.0", "@typespec/openapi": "^1.16.0", @@ -108,7 +108,7 @@ "@azure-tools/typespec-azure-core": "~0.72.0", "@azure-tools/typespec-azure-resource-manager": "~0.72.0", "@azure-tools/typespec-azure-rulesets": "~0.72.0", - "@azure-tools/typespec-client-generator-core": "~0.72.0", + "@azure-tools/typespec-client-generator-core": "~0.72.1", "@azure-tools/azure-http-specs": "0.1.0-alpha.45", "@typespec/compiler": "^1.16.0", "@typespec/http": "^1.16.0", @@ -121,7 +121,7 @@ "@typespec/sse": "~0.86.0", "@typespec/streams": "~0.86.0", "@typespec/xml": "~0.86.0", - "@typespec/http-specs": "0.1.0-alpha.42", + "@typespec/http-specs": "0.1.0-alpha.43", "@types/js-yaml": "~4.0.5", "@types/node": "~25.0.2", "@types/semver": "7.5.8",