Skip to content

Commit

Permalink
Release 0.22.0 (#1170)
Browse files Browse the repository at this point in the history
> [!IMPORTANT]
> Merging this pull request will create this release

## Breaking Changes

### Drop support for Python 3.8

Python 3.8 is no longer supported. "New" 3.9 syntax, like generics on
builtin collections, is used both in the generator
and the generated code.

### `type` is now a reserved field name

Because `type` is used in type annotations now, it is no longer a valid
field name. Fields which were previously named
`type` will be renamed to `type_`.

## Features

- Support Ruff 0.8 (#1169)

Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>
  • Loading branch information
knope-bot[bot] authored Dec 9, 2024
1 parent 861ef56 commit 72f3f5a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
8 changes: 0 additions & 8 deletions .changeset/drop_support_for_python_38.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/type_is_now_a_reserved_field_name.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@ 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.22.0 (2024-11-23)

### Breaking Changes

#### Drop support for Python 3.8

Python 3.8 is no longer supported. "New" 3.9 syntax, like generics on builtin collections, is used both in the generator
and the generated code.

#### `type` is now a reserved field name

Because `type` is used in type annotations now, it is no longer a valid field name. Fields which were previously named
`type` will be renamed to `type_`.

### Features

- Support Ruff 0.8 (#1169)

## 0.21.7 (2024-10-28)

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"typing-extensions>=4.8.0,<5.0.0",
]
name = "openapi-python-client"
version = "0.21.7"
version = "0.22.0"
description = "Generate modern Python clients from OpenAPI"
keywords = [
"OpenAPI",
Expand Down

0 comments on commit 72f3f5a

Please sign in to comment.