Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2025

This PR contains the following updates:

Package Change Age Confidence
openapi-python-client >=0.25.2,<0.26 -> >=0.28,<0.29 age confidence

Release Notes

openapi-generators/openapi-python-client (openapi-python-client)

v0.28.0

Compare Source

Breaking Changes
  • URL-encode path parameters in generated endpoints (#​1349)
Fixes
Fix bad code generation

##​1360 by @​EricAtORS

This fixes:

Fix optional bodies

If a body is not required (the default), it will now:

  1. Have Unset as part of its type annotation.
  2. Default to a value of UNSET
  3. Not be included in the request if it is UNSET

Thanks @​orelmaliach for the report! Fixes #​1354

v0.27.1

Compare Source

Fixes
  • Remove non-existent CHANGELOG.md references from UV and Poetry templates (#​1344)
  • Initialize optional lists as UNSET, not [] (#​1346)
  • Correct docstring typos in client template (#​1347)
  • Replace bare except blocks with specific exception types (#​1348)
Update uv_build to 0.9

##​1352 by @​johnthagen

uv has been in the 0.9.x release cycle for a while, so update templates to use the corresponding uv_build range.

v0.27.0

Compare Source

Breaking Changes
Drop support for Python 3.9

Both openapi-python-client itself and any generated clients no longer support Python 3.9.

Generated models now use from __future__ import annotations

This simplifies using forward references with the newer union syntax.

Features
Upgrade generated clients to 3.10 union syntax

All generated types now use the A | B syntax instead of Union[A, B] or Optional[A].

Fixes
  • Drop generated requires-python upper bounds for uv and PDM (#​1329)
Change default Ruff hook to --fix-only

This should enable openapi-python-client to keep auto-fixing lints (like removing unused imports) but not fail to
generate when unfixable lints are violated.

Since it's now unlikely for breaking changes to affect our usage (and by popular request), the upper bound of ruff
has been lifted. Newer versions of openapi-python-client should no longer be required to support newer versions of ruff.

Notes
  • Minimum Typer version is now 0.16

v0.26.2

Compare Source

Fixes
  • ambigious tilde specifier requires-python with--meta=uv (#​1321)

v0.26.1

Compare Source

Features

v0.26.0

Compare Source

Breaking Changes
Change some union variant names

When creating a union with oneOf, anyOf, or a list of type, the name of each variant used to be type_{index}
where the index is based on the order of the types in the union.

This made some modules difficult to understand, what is a my_type_type_0 after all?
It also meant that reordering union members, while not a breaking change to the API, would be a breaking change
for generated clients.

Now, if an individual variant has a title attribute, that title will be used in the name instead.
This is only an enhancement for documents which use title in union variants, and only a breaking change for
inline models (not #/components/schemas which should already have used more descriptive names).

Thanks @​wallagib for PR #​962!

Features
Support patterned and default HTTP statuses

HTTP statuses like 2XX and default are now supported!

A big thank you to:

Closes #​1271 and #​832

[!NOTE]
Custom template users: the endpoint.responses type has changed quite a bit. Check out #​1303 for the changes.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from 74db908 to ca25a98 Compare September 14, 2025 19:07
@renovate renovate bot changed the title Update dependency openapi-python-client to >=0.26,<0.27 Update dependency openapi-python-client to >=0.26.1,<0.27 Sep 14, 2025
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch 2 times, most recently from 4b1dfa1 to 72d95af Compare October 8, 2025 19:40
@renovate renovate bot changed the title Update dependency openapi-python-client to >=0.26.1,<0.27 Update dependency openapi-python-client to >=0.26.2,<0.27 Oct 8, 2025
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from 72d95af to 8c3d0c7 Compare October 22, 2025 17:51
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from 8c3d0c7 to bbfc6f8 Compare November 1, 2025 19:51
@renovate renovate bot changed the title Update dependency openapi-python-client to >=0.26.2,<0.27 Update dependency openapi-python-client to >=0.27,<0.28 Nov 1, 2025
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from bbfc6f8 to e4d6b51 Compare November 7, 2025 19:51
@renovate renovate bot changed the title Update dependency openapi-python-client to >=0.27,<0.28 Update dependency openapi-python-client to >=0.27.1,<0.28 Nov 7, 2025
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from e4d6b51 to 34e22c2 Compare November 12, 2025 15:23
@renovate renovate bot force-pushed the renovate/openapi-python-client-0.x branch from 34e22c2 to 1034801 Compare December 4, 2025 11:49
@renovate renovate bot changed the title Update dependency openapi-python-client to >=0.27.1,<0.28 Update dependency openapi-python-client to >=0.28,<0.29 Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant