diff --git a/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md b/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md deleted file mode 100644 index 7b4b45ebf60..00000000000 --- a/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: dependencies -packages: - - "@typespec/http-client-python" ---- - -Update transitive development dependencies `morgan` to 1.12.1 and `multer` to 2.3.0 to address log forging, denial of service, and file size limit bypass vulnerabilities. diff --git a/.chronus/changes/http-client-python-sse-reconnection-2026-09-08.md b/.chronus/changes/http-client-python-sse-reconnection-2026-09-08.md deleted file mode 100644 index 50c3b8c9c90..00000000000 --- a/.chronus/changes/http-client-python-sse-reconnection-2026-09-08.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -changeKind: feature -packages: - - "@typespec/http-client-python" ---- - -Automatically reconnect SSE streams after an unexpected disconnect, honoring server-provided retry delays and resuming with the latest event ID. - -```python -with client.events.stream() as stream: - for event in stream: - print(event) -``` diff --git a/.chronus/changes/python-lro-typeddict-response-2026-09-21.md b/.chronus/changes/python-lro-typeddict-response-2026-09-21.md deleted file mode 100644 index c8abcfbd928..00000000000 --- a/.chronus/changes/python-lro-typeddict-response-2026-09-21.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@typespec/http-client-python" ---- - -Return long-running operation response bodies when generating TypedDict-only models. diff --git a/.chronus/changes/python-union-etag-regressions-2026-09-18.md b/.chronus/changes/python-union-etag-regressions-2026-09-18.md deleted file mode 100644 index 3c2739a2ccf..00000000000 --- a/.chronus/changes/python-union-etag-regressions-2026-09-18.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: fix -packages: - - "@typespec/http-client-python" ---- - -Prevent duplicate named union aliases, and preserve parameter types in generated body overloads when a flattened parameter is filtered out. diff --git a/packages/http-client-python/CHANGELOG.md b/packages/http-client-python/CHANGELOG.md index 8e0ae029ea7..0b72be3032b 100644 --- a/packages/http-client-python/CHANGELOG.md +++ b/packages/http-client-python/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log - @typespec/http-client-python +## 0.38.0 + +### Features + +- [#11904](https://github.com/microsoft/typespec/pull/11904) Automatically reconnect SSE streams after an unexpected disconnect, honoring server-provided retry delays and resuming with the latest event ID. + + ```python + with client.events.stream() as stream: + for event in stream: + print(event) + ``` + +### Bug Fixes + +- [#12024](https://github.com/microsoft/typespec/pull/12024) Return long-running operation response bodies when generating TypedDict-only models. +- [#12017](https://github.com/microsoft/typespec/pull/12017) Prevent duplicate named union aliases, and preserve parameter types in generated body overloads when a flattened parameter is filtered out. + +### Bump dependencies + +- [#12023](https://github.com/microsoft/typespec/pull/12023) Update transitive development dependencies `morgan` to 1.12.1 and `multer` to 2.3.0 to address log forging, denial of service, and file size limit bypass vulnerabilities. + + ## 0.37.3 ### Bug Fixes diff --git a/packages/http-client-python/package-lock.json b/packages/http-client-python/package-lock.json index 78b02d0ece9..9dd6477d71b 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.3", + "version": "0.38.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@typespec/http-client-python", - "version": "0.37.3", + "version": "0.38.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/packages/http-client-python/package.json b/packages/http-client-python/package.json index aa2f183837a..5a56b3aa13c 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.3", + "version": "0.38.0", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://typespec.io",