Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 12 additions & 0 deletions packages/http-client-python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log - @typespec/http-client-python

## 0.32.0

### Features

- [#10947](https://github.com/microsoft/typespec/pull/10947) Support `datetime.timedelta` for `duration` types encoded as `seconds` or `milliseconds`. SDK users can now pass a `datetime.timedelta` (instead of a raw `int`/`float`) and responses are deserialized back into `datetime.timedelta`.

### Bug Fixes

- [#10957](https://github.com/microsoft/typespec/pull/10957) Fix `UnboundLocalError` for paging operations with a flattened JSON model body. The request body is now constructed once outside the `prepare_request` callback (and before the body is serialized into the request content) instead of inside the closure, where assigning `body` made it an unbound local on every page fetch.
- [#10955](https://github.com/microsoft/typespec/pull/10955) Fix Sphinx docstring rendering when a `Required.` (or other) annotation followed a code block. The annotation is now inserted into the prose before the code block instead of being appended after it.


## 0.31.1

### Bump dependencies
Expand Down
38 changes: 19 additions & 19 deletions packages/http-client-python/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions packages/http-client-python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typespec/http-client-python",
"version": "0.31.1",
"version": "0.32.0",
"author": "Microsoft Corporation",
"description": "TypeSpec emitter for Python SDKs",
"homepage": "https://typespec.io",
Expand Down Expand Up @@ -64,10 +64,10 @@
"emitter"
],
"peerDependencies": {
"@azure-tools/typespec-autorest": ">=0.69.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.69.1 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.69.0 <1.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.69.0 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.69.0 <1.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.69.1 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.69.1 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.69.0 <1.0.0",
"@typespec/compiler": "^1.13.0",
"@typespec/http": "^1.13.0",
Expand Down Expand Up @@ -102,10 +102,10 @@
"tsx": "^4.21.0"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "~0.69.0",
"@azure-tools/typespec-autorest": "~0.69.1",
"@azure-tools/typespec-azure-core": "~0.69.0",
"@azure-tools/typespec-azure-resource-manager": "~0.69.0",
"@azure-tools/typespec-azure-rulesets": "~0.69.0",
"@azure-tools/typespec-azure-resource-manager": "~0.69.1",
"@azure-tools/typespec-azure-rulesets": "~0.69.1",
"@azure-tools/typespec-client-generator-core": "~0.69.0",
"@azure-tools/azure-http-specs": "0.1.0-alpha.42",
"@typespec/compiler": "^1.13.0",
Expand Down
Loading