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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/always_parse_ref_as_a_reference.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.24.1 (2025-03-15)

### Features

- allow Ruff to 0.10 (#1220)
- allow Ruff 0.11 (#1222)
- Allow any `Mapping` in generated `from_dict` functions (#1211)

### Fixes

#### Always parse `$ref` as a reference

If additional attributes were included with a `$ref` (for example `title` or `description`), the property could be
interpreted as a new type instead of a reference, usually resulting in `Any` in the generated code.
Now, any sibling properties to `$ref` will properly be ignored, as per the OpenAPI specification.

Thanks @nkrishnaswami!

## 0.24.0 (2025-03-03)

### Breaking Changes
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.24.0"
version = "0.24.1"
description = "Generate modern Python clients from OpenAPI"
keywords = [
"OpenAPI",
Expand Down
Loading