Skip to content

Releases: openapi-generators/openapi-python-client

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

0.9.2 - 2021-06-13

14 Jun 00:39
Compare
Choose a tag to compare

This release is the first release from the new GitHub organization! As such, all the links in the repo have been updated to point at the new URL.

Features

Fixes

  • Properly strip out UNSET values from form data [#430]. Thanks @p1-ra!

0.9.1 - 2021-05-12

13 May 01:17
Compare
Choose a tag to compare

Features

Fixes

  • Prevent crash when providing a non-string default to a string attribute. [#414] [#415]
  • Deserialization of optional nullable properties when no value is returned from the API [#420] [#381]. Thanks @forest-benchling!

0.9.0 - 2021-05-04

04 May 19:43
a731477
Compare
Choose a tag to compare

Breaking Changes

  • Some generated names will be different, solving some inconsistencies. (closes #369) (#375) Thanks @ramnes!
  • Change reference resolution to use reference path instead of class name (fixes #342) (#366)
  • If a schema references exactly one other schema in allOf, oneOf, or anyOf that referenced generated model will be used directly instead of generating a copy with another name. (#361)
  • Attributes shadowing any builtin except id and type will now be renamed in generated clients (#360, #378, #407). Thanks @dblanchette and @forest-benchling!

Features

  • Allow httpx 0.18.x in generated clients (#400)
  • Add summary attribute to Endpoint for use in custom templates (#404)
  • Support common parameters for paths (#376). Thanks @ramnes!
  • Add allOf support for model definitions (#98) (#321)

Fixes

  • Attempt to deduplicate endpoint parameters based on name and location (fixes #305) (#406)
  • Names of classes without titles will no longer include ref path (fixes #397) (#405). Thanks @ramnes!
  • Problems with enum defaults in allOf (#363). Thanks @csymeonides-mf
  • Prevent duplicate return types in generated api functions (#365)
  • Support empty strings in enums (closes #357) (#358). Thanks @ramnes!
  • Allow passing data with files in multipart. (Fixes #351) (#355)
  • Deserialization of unions (#332). Thanks @forest-benchling!