Skip to content

Releases: python-openapi/openapi-core

0.16.3

20 Dec 07:28
Compare
Choose a tag to compare

Changelog

  • werkzeug flask root path fix #449
  • additionalProperties without schema should allow null. #444

0.16.2

25 Nov 04:52
Compare
Choose a tag to compare

Changelog

  • Add NullUnmarshaller #432
  • Multi type unmarshaller #433
  • Unmarshaller format refactor #434

0.16.1

10 Oct 13:13
Compare
Choose a tag to compare

Changelog

  • lists as additional properties fix #429
  • x-model extension optional #431

0.16.0

04 Oct 12:57
Compare
Choose a tag to compare

Changelog

  • Switch to jsonschema-spec #416
  • Use auto-detect validator proxy #418
  • OpenAPI 3.1 support + Auto-detect proxies and request / response validator protocols #419
  • Add py.typed to mark package as supporting typing #420
  • Refuse to cast str or bytes to array #421
  • x-model extension import model class #422
  • Add deepObject support #379
  • Add anyOf support #423
  • Separate werkzeug support #426
  • Starlette support #427

0.15.0

12 Sep 09:41
Compare
Choose a tag to compare

Changelog

  • Parameter deserialize complex scenario support (#329)
  • Response headers support (#332)
  • Response headers support for contrib (#333)
  • Drop python 2.7 support (#335 #344 #351)
  • Drop python 3.5 support (#339)
  • Drop python 3.6 support #383
  • Add python 3.10 support #383
  • Falcon2 support drop (#353)
  • Django2 support drop (#358)
  • Support basic re_path for Django integration (#337)
  • unused NoValue type removed (#340)
  • attrs remove and use dataclasses backport for python 3.6 (#345)
  • Request validation parameters dataclass (#346)
  • Handle missing MIME type in MediaTypeFinder (#371)
  • Limit openapi dependencies upper bounds #386
  • switch to pathable #389
  • Get rid of create_spec shortcut #393
  • Request and Response protocols #407
  • validator factories removed from validation shortcuts #408
  • Predefined openapi validators #409
  • Customization refactor #412
  • Static types with mypy #414

Backward incompatibilities

  • Python 3.6 and earlier no longer supported
  • headers attribute added to OpenAPIResponse datatype
  • RequestParameters' header attribute as Headers type
  • RequestParameters' cookie attribute as ImmutableMultiDict type
  • RequestValidationResult' parameters attribute as Parameters type
  • unused server, operation and path attributes removed from RequestValidationResult
  • EmptyParameterValue exception renamed to EmptyQueryParameterValue
  • FalconOpenAPIRequestFactory requires to be instantiated
  • create_spec shortcut replaced with Spec.create
  • OpenAPIRequest and OpenAPIResponse removed. All backward compabilities fromcontrib removed.
  • spec_validate_* shortcuts removed. Use validate_request and validate_response with validator parameter instead.
  • validate_{parameters,body,security} shortcuts removed. Use predefined openapi_request_parameters_validator, openapi_request_body_validator and openapi_request_security_validator from openapi_core.validation.request instead.
  • validate_{data,headers} shortcuts removed. Use predefined openapi_response_data_validator and openapi_response_headers_validator from openapi_core.validation.response instead.
  • custom_media_type_deserializers parameter for RequestValidator and ResponseValidator removed. Use MediaTypeDeserializersFactory with custom_deserializers parameter and pass it to validator with media_type_deserializers_factory parameter.
  • custom_formatters parameter for RequestValidator and ResponseValidator removed. Use SchemaUnmarshallersFactory with custom_formatters parameter and pass it to validator.

0.15.0a2

07 Sep 11:04
Compare
Choose a tag to compare
0.15.0a2 Pre-release
Pre-release

Changelog

  • Request and Response protocols #407
  • validator factories removed from validation shortcuts #408
  • Predefined openapi validators #409
  • Customization refactor #412

Backward incompatibilities

  • OpenAPIRequest and OpenAPIResponse removed. All backward compabilities fromcontrib removed.
  • spec_validate_* shortcuts removed. Use validate_request and validate_response with validator parameter instead.
  • validate_{parameters,body,security} shortcuts removed. Use predefined openapi_request_parameters_validator, openapi_request_body_validator and openapi_request_security_validator from openapi_core.validation.request instead.
  • validate_{data,headers} shortcuts removed. Use predefined openapi_response_data_validator and openapi_response_headers_validator from openapi_core.validation.response instead.
  • custom_media_type_deserializers parameter for RequestValidator and ResponseValidator removed. Use MediaTypeDeserializersFactory with custom_deserializers parameter and pass it to validator with media_type_deserializers_factory parameter.
  • custom_formatters parameter for RequestValidator and ResponseValidator removed. Use SchemaUnmarshallersFactory with custom_formatters parameter and pass it to validator.

0.14.5

02 Sep 20:03
Compare
Choose a tag to compare

Changelog

  • openapi-spec-validator strict requirement fix #406

0.14.4

02 Sep 16:25
Compare
Choose a tag to compare

Changelog

  • pyyaml strict requirement fix #404

0.14.3

02 Sep 14:42
Compare
Choose a tag to compare

Changelog

  • pin openapi dependencies #403

0.15.0a1

03 Jun 06:42
Compare
Choose a tag to compare
0.15.0a1 Pre-release
Pre-release

Changelog

  • Parameter deserialize complex scenario support (#329)
  • Response headers support (#332)
  • Response headers support for contrib (#333)
  • Drop python 2.7 support (#335 #344 #351)
  • Drop python 3.5 support (#339)
  • Drop python 3.6 support #383
  • Add python 3.10 support #383
  • Falcon2 support drop (#353)
  • Django2 support drop (#358)
  • Support basic re_path for Django integration (#337)
  • unused NoValue type removed (#340)
  • attrs remove and use dataclasses backport for python 3.6 (#345)
  • Request validation parameters dataclass (#346)
  • Handle missing MIME type in MediaTypeFinder (#371)
  • Limit openapi dependencies upper bounds #386
  • switch to pathable #389
  • Get rid of create_spec shortcut #393

Backward incompatibilities

  • Python 3.6 and earlier no longer supported
  • headers attribute added to OpenAPIResponse datatype
  • RequestParameters' header attribute as Headers type
  • RequestParameters' cookie attribute as ImmutableMultiDict type
  • RequestValidationResult' parameters attribute as Parameters type
  • unused server, operation and path attributes removed from RequestValidationResult
  • EmptyParameterValue exception renamed to EmptyQueryParameterValue
  • FalconOpenAPIRequestFactory requires to be instantiated
  • create_spec shortcut replaced with Spec.create