From 7da8cce83031a522d28e8a2701cd58e9703faf82 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Fri, 19 Jun 2026 14:21:36 -0700 Subject: [PATCH 1/3] release emitter --- ...quired-trailing-period-2026-6-17-10-5-0.md | 7 ------- .../changes/mismatch-2026-5-19-9-54-46.md | 7 ------- ...rve-pyproject-fields-2026-06-15-feature.md | 16 --------------- packages/http-client-python/CHANGELOG.md | 20 +++++++++++++++++++ packages/http-client-python/package.json | 2 +- 5 files changed, 21 insertions(+), 31 deletions(-) delete mode 100644 .chronus/changes/fix-sphinx-required-trailing-period-2026-6-17-10-5-0.md delete mode 100644 .chronus/changes/mismatch-2026-5-19-9-54-46.md delete mode 100644 .chronus/changes/preserve-pyproject-fields-2026-06-15-feature.md diff --git a/.chronus/changes/fix-sphinx-required-trailing-period-2026-6-17-10-5-0.md b/.chronus/changes/fix-sphinx-required-trailing-period-2026-6-17-10-5-0.md deleted file mode 100644 index 02f34f22471..00000000000 --- a/.chronus/changes/fix-sphinx-required-trailing-period-2026-6-17-10-5-0.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@typespec/http-client-python" ---- - -Place docstring annotations such as `Required.` in front of the description when it ends with an RST code block, and stop appending a sentence period inside the block. Previously the period landed on the code block's last line (e.g. `].`) and `Required.` was appended after the block (`]. Required.`), both of which broke Sphinx rendering. diff --git a/.chronus/changes/mismatch-2026-5-19-9-54-46.md b/.chronus/changes/mismatch-2026-5-19-9-54-46.md deleted file mode 100644 index 6c2f7893774..00000000000 --- a/.chronus/changes/mismatch-2026-5-19-9-54-46.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@typespec/http-client-python" ---- - -Preserve transformed `keep-pyproject-fields` emitter options when building Python generator command arguments. \ No newline at end of file diff --git a/.chronus/changes/preserve-pyproject-fields-2026-06-15-feature.md b/.chronus/changes/preserve-pyproject-fields-2026-06-15-feature.md deleted file mode 100644 index 7f34b9afc5a..00000000000 --- a/.chronus/changes/preserve-pyproject-fields-2026-06-15-feature.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -changeKind: feature -packages: - - "@typespec/http-client-python" ---- - -Add a `keep-pyproject-fields` emitter option that selects which `[project]` fields to preserve in an existing `pyproject.toml` instead of overwriting them on regeneration. Supported fields: `authors`, `description`, `classifiers`, `urls`. - -```yaml -# tspconfig.yaml -options: - "@typespec/http-client-python": - keep-pyproject-fields: - authors: true - description: true -``` diff --git a/packages/http-client-python/CHANGELOG.md b/packages/http-client-python/CHANGELOG.md index 038e2cc88b4..31558ac4c94 100644 --- a/packages/http-client-python/CHANGELOG.md +++ b/packages/http-client-python/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log - @typespec/http-client-python +## 0.33.0 + +### Features + +- [#10987](https://github.com/microsoft/typespec/pull/10987) Add a `keep-pyproject-fields` emitter option that selects which `[project]` fields to preserve in an existing `pyproject.toml` instead of overwriting them on regeneration. Supported fields: `authors`, `description`, `classifiers`, `urls`. + + ```yaml + # tspconfig.yaml + options: + "@typespec/http-client-python": + keep-pyproject-fields: + authors: true + description: true + ``` + +### Bug Fixes + +- [#11013](https://github.com/microsoft/typespec/pull/11013) Place docstring annotations such as `Required.` in front of the description when it ends with an RST code block, and stop appending a sentence period inside the block. Previously the period landed on the code block's last line (e.g. `].`) and `Required.` was appended after the block (`]. Required.`), both of which broke Sphinx rendering. + + ## 0.32.0 ### Features diff --git a/packages/http-client-python/package.json b/packages/http-client-python/package.json index 4ce707e4f80..2ff9151aefc 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.32.0", + "version": "0.33.0", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://typespec.io", From d49df3559f160c5e0b6fb4ae6632b79cb478d6f8 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Mon, 22 Jun 2026 10:28:25 -0700 Subject: [PATCH 2/3] package lock --- packages/http-client-python/package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/http-client-python/package-lock.json b/packages/http-client-python/package-lock.json index c52d0cbd43f..b8456ec4df4 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.32.0", + "version": "0.33.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@typespec/http-client-python", - "version": "0.32.0", + "version": "0.33.0", "hasInstallScript": true, "license": "MIT", "dependencies": { From fdfabee24977547a999cfd19c6505bc38682c328 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Mon, 22 Jun 2026 10:29:26 -0700 Subject: [PATCH 3/3] update --- packages/http-client-python/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http-client-python/CONTRIBUTING.md b/packages/http-client-python/CONTRIBUTING.md index 608d22b32e7..0485707747d 100644 --- a/packages/http-client-python/CONTRIBUTING.md +++ b/packages/http-client-python/CONTRIBUTING.md @@ -171,7 +171,7 @@ From the root of the TypeSpec repository, run: pnpm chronus version --only @typespec/http-client-python --ignore-policies ``` -This consumes all pending change files under `.chronus/changes/` for this package and bumps the version in `package.json` accordingly. +This consumes all pending change files under `.chronus/changes/` for this package and bumps the version in `package.json` accordingly. Run `npm install` to update the `package-lock.json`. ### 2. Create a Release PR