Skip to content

Conversation

@knope-bot
Copy link
Contributor

@knope-bot knope-bot bot commented Oct 6, 2025

Important

Merging this pull request will create this release

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

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

@knope-bot knope-bot bot changed the title Release 0.26.3 Release 0.27.0 Oct 28, 2025
@knope-bot knope-bot bot force-pushed the knope/release branch 2 times, most recently from 7f12682 to 3a90cc4 Compare October 28, 2025 00:25
@dbanty dbanty enabled auto-merge October 28, 2025 00:34
@dbanty dbanty added this pull request to the merge queue Oct 28, 2025
Merged via the queue into main with commit 0d79568 Oct 28, 2025
21 checks passed
@dbanty dbanty deleted the knope/release branch October 28, 2025 00:43
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.

2 participants