Skip to content

0.9.0 - 2021-05-04

Compare
Choose a tag to compare
@dbanty dbanty released this 04 May 19:43
· 454 commits to main since this release
a731477

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!