Skip to content

Releases: openapi-generators/openapi-python-client

0.11.0 - 2022-01-18

19 Jan 02:54
Compare
Choose a tag to compare

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 named datetime will now be named datetime_.
  • 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

0.10.8 - 2021-12-18

19 Dec 02:57
Compare
Choose a tag to compare

Features

  • New and improved docstrings in generated functions and classes [#503, #505, #551]. Thanks @rtaycher!
  • Support httpx 0.21.* (#537)

Fixes

0.10.7 - 2021-10-31

31 Oct 17:02
Compare
Choose a tag to compare

Fixes

0.10.6 - 2021-10-26

25 Oct 22:23
Compare
Choose a tag to compare

Features

  • Improve error messages related to invalid arrays and circular or recursive references [#519].
  • Add httpx 0.20.* support [#514].

Fixes

0.10.5 - 2021-09-25

26 Sep 04:26
Compare
Choose a tag to compare

Features

  • Add verify_ssl option to generated Client, allowing users to ignore or customize ssl verification (#497). Thanks @rtaycher!

Fixes

  • Properly label a path template issue as a warning (#494). Thanks @chamini2!
  • Don't allow mixed types in enums.
  • Don't crash when a null is in an enum (#500). Thanks @juspence!

0.10.4 - 2021-09-05

05 Sep 21:54
Compare
Choose a tag to compare

Features

  • Allow customization of post-generation steps with the post_hooks config option.
  • Allow httpx 0.19.* (#481)

Fixes

  • Don't crash the generator when one of the post-generation hooks is missing [fixes #479]. Thanks @chamini2 and @karolzlot!

0.10.3 - 2021-08-16

16 Aug 19:01
Compare
Choose a tag to compare

Features

  • Expose python_identifier and class_name functions to custom templates to rename with the same behavior as the parser.

Fixes

  • Treat true and false as reserved words.
  • Prevent generating Python files named the same as reserved / key words.
  • Properly replace reserved words in class and module names [#475, #476]. Thanks @mtovts!

0.10.2 - 2021-08-15

16 Aug 01:20
Compare
Choose a tag to compare

Features

Fixes

  • Parameters from PathItem can now be overriden in Operation [#458 & #457]. Thanks @mtovts!

0.10.1 - 2021-07-10

10 Jul 17:44
Compare
Choose a tag to compare

Fixes

0.10.0 - 2021-07-05

05 Jul 23:36
Compare
Choose a tag to compare

Breaking Changes

  • Normalize generated module names to allow more tags [#428 & #448]. Thanks @iamnoah & @forest-benchling!
  • Improved the consistency of snake_cased identifiers which will cause some to be renamed [#413 & #432]. Thanks @ramnes!
  • Allow more types in multipart payloads by defaulting to JSON for complex types [#372]. Thanks @csymeonides-mf!

Features

  • Allow custom templates for API and endpoint __init__ files. [#442] Thanks @p1-ra!

Fixes