0.15.0 #415
p1c2u
announced in
Announcements
0.15.0
#415
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Changelog
NoValue
type removed (Get rid of NoValue type #340)attrs
remove and usedataclasses
backport for python 3.6 (Dataclasses refactor #345)pathable
switch to pathable #389create_spec
shortcut Get rid of create_spec shortcut #393Request
andResponse
protocols request and response protocols #407Backward incompatibilities
headers
attribute added toOpenAPIResponse
datatypeRequestParameters
'header
attribute asHeaders
typeRequestParameters
'cookie
attribute asImmutableMultiDict
typeRequestValidationResult
'parameters
attribute asParameters
typeserver
,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.This discussion was created from the release 0.15.0.
Beta Was this translation helpful? Give feedback.
All reactions