Skip to content

Commit e40f9f7

Browse files
authored
[python] release new version (#11657)
1 parent 27b39b7 commit e40f9f7

14 files changed

Lines changed: 971 additions & 984 deletions

.chronus/changes/escape-at-sign-docstring-field-2026-8-11.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/fix-python-wire-encoding-2026-08-11.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/lazy-browser-pyodide-2026-7-31-9-30-0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/python-disable-typeddict-generation-2026-7-24-12-59-0.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/python-filter-unused-typeddicts-2026-8-5.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.chronus/changes/type-import-emitter-python-2026-7-31.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/http-client-python/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Change Log - @typespec/http-client-python
22

3+
## 0.36.0
4+
5+
### Features
6+
7+
- [#11372](https://github.com/microsoft/typespec/pull/11372) Add a `generate-typeddict` emitter option (default `true`) that controls `TypedDict` generation independently of `models-mode`. `models-mode` now toggles just `dpg` and `none`; the `typeddict` value is deprecated.
8+
9+
### Bug Fixes
10+
11+
- [#11622](https://github.com/microsoft/typespec/pull/11622) Wrap wire names containing `@` (e.g. `@search.facets`) in double backticks when they are used as Sphinx docstring field targets (`:ivar`/`:vartype`/`:keyword`/`:paramtype`/`:param`/`:type`) across models, TypedDicts, operations, and clients, so the generated docstrings render correctly without introducing an invalid escape sequence in the generated code.
12+
- [#11637](https://github.com/microsoft/typespec/pull/11637) Preserve Python boolean, integer, and bytes client types when using supported string, base64, or base64url wire encodings.
13+
- [#11507](https://github.com/microsoft/typespec/pull/11507) Only boot the Pyodide runtime in the browser on the first emit instead of when the emitter module is imported. Hosts such as the TypeSpec playground import every available emitter up front, so the eager bootstrap downloaded a full CPython WebAssembly runtime and its wheels on every page load, which prevented the page from loading on mobile browsers.
14+
- [#11639](https://github.com/microsoft/typespec/pull/11639) Only generate `TypedDict` definitions in `types.py` when they are referenced by operation inputs or required by those input models, omitting unused response-only models.
15+
16+
317
## 0.35.1
418

519
### Bug Fixes

packages/http-client-python/eng/scripts/ci/regenerate-common.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ export interface BuildTaskGroupsOptions {
6969

7070
// ---- Public constants ----
7171

72-
export const SKIP_SPECS: string[] = ["type/file"];
72+
export const SKIP_SPECS: string[] = [
73+
"type/file",
74+
// LroPaging.postPagingLroWithBody generates begin_post_paging_lro_with_body with pylint R0915 (52/50).
75+
"azure/resource-manager/operation-templates",
76+
];
7377

7478
export const SpecialFlags: Record<string, Record<string, any>> = {
7579
azure: {

0 commit comments

Comments
 (0)