Skip to content

Commit ce7b047

Browse files
authored
Merge branch 'main' into model-rebuild
2 parents e8fecba + 3a5459e commit ce7b047

File tree

6 files changed

+22
-20
lines changed

6 files changed

+22
-20
lines changed

.changeset/drop_support_for_python_38.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/type_is_now_a_reserved_field_name.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if: matrix.os == 'ubuntu-latest'
6565

6666
- name: Store coverage report
67-
uses: actions/upload-artifact@v4.4.3
67+
uses: actions/upload-artifact@v4.5.0
6868
if: matrix.os == 'ubuntu-latest'
6969
with:
7070
name: coverage-${{ matrix.python }}
@@ -107,7 +107,7 @@ jobs:
107107
.venv/bin/python -m coverage report --fail-under=100
108108
109109
- name: Upload HTML report if check failed.
110-
uses: actions/upload-artifact@v4.4.3
110+
uses: actions/upload-artifact@v4.5.0
111111
with:
112112
name: html-report
113113
path: htmlcov

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Build
1919
run: hatchling build
2020
- name: Push to PyPI
21-
uses: pypa/gh-action-pypi-publish@v1.12.2
21+
uses: pypa/gh-action-pypi-publish@v1.12.3
2222
with:
2323
attestations: true

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,24 @@ Programmatic usage of this project (e.g., importing it as a Python module) and t
1313

1414
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).
1515

16+
## 0.22.0 (2024-11-23)
17+
18+
### Breaking Changes
19+
20+
#### Drop support for Python 3.8
21+
22+
Python 3.8 is no longer supported. "New" 3.9 syntax, like generics on builtin collections, is used both in the generator
23+
and the generated code.
24+
25+
#### `type` is now a reserved field name
26+
27+
Because `type` is used in type annotations now, it is no longer a valid field name. Fields which were previously named
28+
`type` will be renamed to `type_`.
29+
30+
### Features
31+
32+
- Support Ruff 0.8 (#1169)
33+
1634
## 0.21.7 (2024-10-28)
1735

1836
### Fixes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
"typing-extensions>=4.8.0,<5.0.0",
1919
]
2020
name = "openapi-python-client"
21-
version = "0.21.7"
21+
version = "0.22.0"
2222
description = "Generate modern Python clients from OpenAPI"
2323
keywords = [
2424
"OpenAPI",

0 commit comments

Comments
 (0)