FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Release 0.27.0 by knope-bot[bot] · Pull Request #1330 · openapi-generators/openapi-python-client · GitHub

Repository navigation

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

Filter by extension

Filter by extension .md  (6) .toml  (1) All 2 file types selected
Only manifest files
Deleted files Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
11 changes: 0 additions & 11 deletions .changeset/change_default_ruff_hook_to_fix_only.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/drop_support_for_python_39.md

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/minimum_typer_version_is_now_016.md

This file was deleted.

This file was deleted.

34 changes: 34 additions & 0 deletions CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,40 @@ Programmatic usage of this project (e.g., importing it as a Python module) and t

The 0.x prefix used in versions for this project is to indicate that breaking changes are expected frequently (several times a year). Breaking changes will increment the minor number, all other changes will increment the patch number. You can track the progress toward 1.0 [here](https://github.com/openapi-generators/openapi-python-client/projects/2).

## 0.27.0 (2025-10-28)

### 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

## 0.26.2 (2025-10-06)

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"ruff>=0.2",
]
name = "openapi-python-client"
version = "0.26.2"
version = "0.27.0"
description = "Generate modern Python clients from OpenAPI"
keywords = [
"OpenAPI",
Expand Down

Back | FazBrowse Home | New Git URL