Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

3.0.0

Compare
Choose a tag to compare
@spacether spacether released this 16 Aug 17:31
· 182 commits to master since this release

Big Changes

  • Schema classes have been changed from being nested to sequential
  • Schema classes now only store json schema info
  • Schema payload output classes are now generated for type: object and type: array payloads
  • python code now passes mypy checks, means that this generator can be ported into compiled languages
  • Overloads added for SomeSchema.validate with type constraints on inputs and outputs
  • Enums of type string/integer/boolean now have typing.Literal type hints for inputs and outputs
  • python version changed to >= 3.8
  • java version changed to 11
  • java project simplified via refactoring
  • Read about the v3 changes in the python client v3 migration guide here

What's Changed

  • merge the 3_0_0 branch into master by @spacether in #202
  • docs update including migration doc #201
  • updates docs to correctly describe shemas + schema.validate input #200
  • v3 updates format fn names #199
  • CircleCI cleanup #198
  • Adds XSchemaDict constructor using named arguments #197
  • upgrades immutabledict #196
  • Shortens operation + response files, improves request body serialize #195
  • Samples simplified #194
  • Updates python version >= 3.8 #193
  • Updates java version to 11 #192
  • root file cleanup #190
  • java package consolidation, folder cleanup, docker image size reduction #189
  • improves enums #188
  • adds mypy #187
  • adds enum literal input and output type hints #186
  • simplifies validation #185
  • adds new overload #184
  • updates __new__ to take one input arg #183
  • converts nested schemas into sequential schemas #177
  • fix operation overloads #176
  • fixes type errors #175
  • adds generic type info to schema classes/properties/items #174
  • code reduction with shared imports #168
  • more code reduction #167
  • reduces generated code #166
  • reduce typing overloads #165
  • removes get_item_ #159

Full Changelog: 2.0.3...3.0.0