Releases: python-openapi/openapi-core
Releases · python-openapi/openapi-core
0.16.3
0.16.2
0.16.1
0.16.0
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
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 usedataclasses
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
andResponse
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 toOpenAPIResponse
datatypeRequestParameters
'header
attribute asHeaders
typeRequestParameters
'cookie
attribute asImmutableMultiDict
typeRequestValidationResult
'parameters
attribute asParameters
type- unused
server
,operation
andpath
attributes removed fromRequestValidationResult
EmptyParameterValue
exception renamed toEmptyQueryParameterValue
FalconOpenAPIRequestFactory
requires to be instantiatedcreate_spec
shortcut replaced withSpec.create
OpenAPIRequest
andOpenAPIResponse
removed. All backward compabilities fromcontrib
removed.spec_validate_*
shortcuts removed. Usevalidate_request
andvalidate_response
withvalidator
parameter instead.validate_{parameters,body,security}
shortcuts removed. Use predefinedopenapi_request_parameters_validator
,openapi_request_body_validator
andopenapi_request_security_validator
fromopenapi_core.validation.request
instead.validate_{data,headers}
shortcuts removed. Use predefinedopenapi_response_data_validator
andopenapi_response_headers_validator
fromopenapi_core.validation.response
instead.custom_media_type_deserializers
parameter forRequestValidator
andResponseValidator
removed. UseMediaTypeDeserializersFactory
withcustom_deserializers
parameter and pass it to validator withmedia_type_deserializers_factory
parameter.custom_formatters
parameter forRequestValidator
andResponseValidator
removed. UseSchemaUnmarshallersFactory
withcustom_formatters
parameter and pass it to validator.
0.15.0a2
Changelog
Request
andResponse
protocols #407- validator factories removed from validation shortcuts #408
- Predefined openapi validators #409
- Customization refactor #412
Backward incompatibilities
OpenAPIRequest
andOpenAPIResponse
removed. All backward compabilities fromcontrib
removed.spec_validate_*
shortcuts removed. Usevalidate_request
andvalidate_response
withvalidator
parameter instead.validate_{parameters,body,security}
shortcuts removed. Use predefinedopenapi_request_parameters_validator
,openapi_request_body_validator
andopenapi_request_security_validator
fromopenapi_core.validation.request
instead.validate_{data,headers}
shortcuts removed. Use predefinedopenapi_response_data_validator
andopenapi_response_headers_validator
fromopenapi_core.validation.response
instead.custom_media_type_deserializers
parameter forRequestValidator
andResponseValidator
removed. UseMediaTypeDeserializersFactory
withcustom_deserializers
parameter and pass it to validator withmedia_type_deserializers_factory
parameter.custom_formatters
parameter forRequestValidator
andResponseValidator
removed. UseSchemaUnmarshallersFactory
withcustom_formatters
parameter and pass it to validator.
0.14.5
0.14.4
0.14.3
0.15.0a1
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 usedataclasses
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 toOpenAPIResponse
datatypeRequestParameters
'header
attribute asHeaders
typeRequestParameters
'cookie
attribute asImmutableMultiDict
typeRequestValidationResult
'parameters
attribute asParameters
type- unused
server
,operation
andpath
attributes removed fromRequestValidationResult
EmptyParameterValue
exception renamed toEmptyQueryParameterValue
FalconOpenAPIRequestFactory
requires to be instantiatedcreate_spec
shortcut replaced withSpec.create