Skip to content

v0.3

Latest
Compare
Choose a tag to compare
@benkehoe benkehoe released this 20 Jan 00:52
· 3 commits to main since this release
  • Add CORS support with CORSConfig (#1).
  • Add support for fastjsonschema (#2).
    • Install with the fastjsonschema extra.
    • If both fastjsonschema and jsonschema are installed, fastjsonschema is used.
    • CompiledFastJSONSchema class for compiled schemas.
  • Rename JSONSerializationOptions to JSONSerializationConfig and DatetimeSerializationOptions to DatetimeSerializationConfig.
  • Add APIErrorResponse.from_exception() replacing APIErrorResponse.re_raise_as().
  • Context object consolidated in a DecoratorApiResponseConfig object at context.api_response
  • Add get_default_headers() method to APIErrorResponse for subclasses to override.