Skip to content

Releases: openapi-generators/openapi-python-client

0.11.1 - 2022-01-29

29 Jan 22:46
Compare
Choose a tag to compare

Features

  • Allow httpx 0.22.* in generated clients [#577]

Fixes

  • Type annotations for optional dates and datetimes in multipart/form [#580]
  • Error generating clients with dates or datetimes in multipart/form [#579]. Thanks @lsaavedr!
  • Include nested packages in generated setup.py [#575, #576]. Thanks @tedo-benchling!

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