Skip to content

Commit

Permalink
Release 0.21.6
Browse files Browse the repository at this point in the history
  • Loading branch information
knope-bot[bot] authored Oct 20, 2024
1 parent 8864a5f commit 66c3036
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .changeset/add_literal_enums_config_setting.md

This file was deleted.

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

### Features

- update Ruff to >=0.2,<0.8 (#1137)
- Add UUID string format. Thanks @estyrke! (#1140)
- Support OpenAPI 3.1 prefixItems property for arrays. Thanks @estyrke! (#1141)

#### Add `literal_enums` config setting

Instead of the default `Enum` classes for enums, you can now generate `Literal` sets wherever `enum` appears in the OpenAPI spec by setting `literal_enums: true` in your config file.

```yaml
literal_enums: true
```
Thanks to @emosenkis for PR #1114 closes #587, #725, #1076, and probably many more.
Thanks also to @eli-bl, @expobrain, @theorm, @chrisguillory, and anyone else who helped getting to this design!
### Fixes
- Typo in docstring (#1128)
## 0.21.5 (2024-09-07)
### Features
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.5"
version = "0.21.6"
description = "Generate modern Python clients from OpenAPI"
keywords = [
"OpenAPI",
Expand Down

0 comments on commit 66c3036

Please sign in to comment.