Releases: openapi-generators/openapi-python-client
Releases Β· openapi-generators/openapi-python-client
0.12.0
0.12.0
Breaking Changes
- Change the
Response.status_code
type to theHTTPStatus
enum [#665]
Features
- Add
endpoint_collections_by_tag
andopenapi
to the templating globals [#689]. Thanks @paulo-raca! - Support for recursive and circular references using lazy imports [#670, #338, #466]. Thanks @maz808 & @mtovt!
- Include
__all__
in generated__init__.py
files [#676, #631, #540, #675]. Thanks @EltonChou!
Fixes
0.11.6
0.11.6
Features
- improve the error message when parsing a response fails [#659]. Thanks @supermihi!
- Authorization header can now be customized in AuthenticatedClient [#660]. Thanks @supermihi!
- Support inlined form data schema in requestBody [#656, #662]. Thanks @supermihi!
- Allow enums in headers [#663, #667]. Thanks @supermihi!
Fixes
0.11.5
0.11.4
0.11.3 - 2022-06-09
0.11.2 - 2022-06-02
0.11.1 - 2022-01-29
0.11.0 - 2022-01-18
Breaking Changes
- Minimum required
attrs
version in generated clients is now 21.3.0. - Python 3.6 is officially not supported. The minimum version has been updated to reflect this.
- Validation of OpenAPI documents is now more strict.
- Model names generated from OpenAPI names with periods (
.
) in them will be different. - Header values will be explicitly transformed or omitted instead of blindly passed to httpx as-is.
datetime
is now considered a reserved word everywhere, so any properties which were nameddatetime
will now be nameddatetime_
.File
uploads can now only accept binary payloads (BinaryIO
).
Features
- Don't set a cap on allowed
attrs
version. - use poetry-core as build backend in generated clients [#565]. Thanks @fabaff!
- Use httpx.request to allow bodies for all type of requests [#545, #547]. Thanks @MalteBecker!
Fixes
- OpenAPI schema validation issues (#426, #568). Thanks @p1-ra!
- treat period as a delimiter in names (#546). Thanks @alexifm!
- Non-string header values [#552, #553, #566]. Thanks @John98Zakaria!
- Generate valid code when a property of a model is named "datetime" [#557 & #558]. Thanks @kmray!
- Multipart uploads for httpx >= 0.19.0 [#508, #548]. Thanks @skuo1-ilmn & @kairntech!
0.10.8 - 2021-12-18
Features
- New and improved docstrings in generated functions and classes [#503, #505, #551]. Thanks @rtaycher!
- Support httpx 0.21.* (#537)
Fixes
- Basic types as JSON bodies and responses [#487 & #550]. Thanks @Gelbpunkt!
- Relative paths to config files [#538 & #544]. Thanks to @motybz, @MalteBecker, & @abhinav-cashify!
0.10.7 - 2021-10-31
Fixes
- SSL verify argument to async clients [#533 & #510]. Thanks @fsvenson and @mvaught02!
- Remove unused CHANGELOG from generated setup.py [#529]. Thanks @johnthagen!