Skip to content

Releases: python-openapi/openapi-core

0.13.1

18 Feb 12:06
Compare
Choose a tag to compare

Changelog

  • Flask error handler status fix (#199)
  • Validators shortcuts fix (#200)

0.13.0

17 Feb 16:48
Compare
Choose a tag to compare

Changelog

  • Validation result datatypes (#165)
  • OpenAPI request/response factories introduction (#166)
  • Django OpenAPI request/response factories (#167)
  • Schema exceptions refactor (#168)
  • Operations fields (#169)
  • Validation schema errors iter fix (#170)
  • webob support (#173)
  • CVE-2019-19844 fix (#182)
  • Move Unmarshallers to separate subpackage (#183)
  • Flask OpenAPI view & decorator (#177)
  • Flask OpenAPI request parameters (#185)
  • Move casters to separate subpackage (#184)
  • Move schema validator to separate subpackage (#186)
  • Move unmarshal out of schema models (#188)
  • Deserialise models without schema fix (#190)
  • Move deserialize/cast out of schema models (#191)
  • Custom media type deserializers (#192)
  • Missing Info models (#193)
  • Free-form objects unmarshal (#194)
  • Security validation with API Key and HTTP security types support (#195)
  • Missing path model fields (#196)
  • OpenAPI request datatype refactor (#197)
  • readOnly and writeOnly support (#152)

Backward incompatibility

  • new datatype RequestParameters. That means parameters in RequestValidationResult is no longer dict type but you can still access parameter types (path, query, heder, cookie) lika a dict.
  • validate_body, validate_parameters and validate_data no longer accept wrapper_class, request_wrapper_class and response_wrapper_class keyword arguments. Use request_factory and response_factory instead.
  • openapi_core.wrappers.flask module moved to openapi_core.contrib.flask
  • openapi_core.wrappers.mock module moved to openapi_core.testing.mock
  • validation is now part of unmarshalling process
  • strict parameter removed
  • standardized formatting process with Formatter class. Custom formatters should inherit from the class.
  • unmarshalling process no longer raise InvalidMediaTypeValue and InvalidParameterValue exceptions
  • casting process no longer raise InvalidParameterValue exception
  • deserializing process no longer raise InvalidMediaTypeValue exception
  • OpenAPIRequest 's host_url and path_pattern attributes replaced with full_url_pattern attribute

0.12.0

21 Sep 19:08
Compare
Choose a tag to compare

This release contains new Open API schema validation based on jsonschema (OAS Validator).

Changelog

  • OAS validation with JSONSchema (#157)

0.11.1

07 Sep 12:05
Compare
Choose a tag to compare

Changelog

  • Path item parameter override (#145)
  • Separate cast and unmarshal (#156)

0.11.0

18 Jun 21:44
Compare
Choose a tag to compare

openapi-core 0.11 is the last major version with schema validation based on internal validators (object validators). Next major versions is scheduled to be based on jsonschema validators (OAS Validator).

Changelog

  • End of Python 3.4 support (#136)
  • Add support for one-of with any type (#133)
  • Modify FlaskOpenAPIRequest to accommodate path variables (#141)
  • Primitive types unmarshallers (#138)
  • attr errors hashable fix (#143)
  • Parameters on path item object support (#144)

0.10.0

21 May 12:32
Compare
Choose a tag to compare

openapi-core 0.10 is the last major version with Python 3.4 support

Changelog

  • Fix #124: Checking "additionalProperties" in "oneOf" items. (#125)
  • Add support for password string format (#132)
  • Add support for path-level parameters (#130)
  • Add support for "links" in Response (#131)
  • Fix number validator (#134)

0.9.0

22 Mar 14:56
Compare
Choose a tag to compare

Changelog

  • Raw value type strict validation (#123
  • Object additionalProperties support (#121)
  • Properly formatting UUID if value is already a UUID (#112)
  • String byte format fix (#117)

0.8.0

28 Feb 14:21
Compare
Choose a tag to compare

Changelog

  • byte string format (#111)
  • Fix import in an example (#102)
  • Dont use value for determining any type (#106)
  • Test for non utc systems fix (#107)
  • Accepting uuid string format and validating accordingly (#109)

0.7.1

28 Feb 14:16
Compare
Choose a tag to compare

Changelog

  • Python 2.7 requirements fix