From 7da8cce83031a522d28e8a2701cd58e9703faf82 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Fri, 19 Jun 2026 14:21:36 -0700 Subject: [PATCH] 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",