Releases: python-openapi/openapi-core
Releases · python-openapi/openapi-core
0.18.0a1
This version drops support for Python 3.7
Features
- Compatibility with jsonschema 4.18, jsonschema-spec 0.2, openapi-schema-validator 0.6 and openapi-spec-validator 0.6 #597
spec_url
parameter ofSpec.from_dict
is deprecated. Usebase_uri
instead.ref_resolver_handlers
parameter ofSpec.from_dict
is deprecated. Usehandlers
instead.
Backward incompatibilities
- Drop python 3.7 support #595
- Format validators ignore other types and pass (in accordance with the specification) #597
- Remove deprecated features #598
Spec.create
methodspec
as a first parameter forvalidate_request
andvalidate_response
shortcutsvalidator
parameter forvalidate_request
andvalidate_response
shortcuts- return unmarshalling data result for
validate_request
andvalidate_response
shortcuts RequestValidator
,ResponseValidator
andopenapi_
objectscustom_deserializers
parametercustom_formatters
parameter
0.17.2
0.17.1
0.17.0
Changelog
- shortcuts high level public api expose #465
ParametersError
context property deprecated #462Spec.create
deprecated #463- Validators refactor #457
- Webhooks support #470
- Rename
UnmarshalContext
toValidationContext
#472 - Fix
PATH_PARAMETER_PATTERN
for DRF default value pattern. #468 - Fix falcon response data none #471
- Shortcuts backward compatible #482
RequestValidator
andResponseValidator
backward compatibility #487- Fix flask decorator function return other types #489
- Fix integration
Request
Response
factories check types fix #490 - Fix Requests request dont allow fragments #491
- Fix openapi packages update and tests #498
- unmarshallers integration tests #497
- Unmarshallers and validators refactor #508
- Shortcuts refactor #517
- Media type deserializers refactor #518
Backward incompatibilities
- Schema unmarshalling/validation returns
Invalid*
exception (InvalidData
,InvalidParameter
,InvalidRequestBody
,InvalidHeader
). Use__cause__
property to get root cause exception. InvalidSecurity
exception renamed toSecurityNotFound
0.16.6
0.17.0a3
0.17.0a2
0.17.0a1
Changelog
- shortcuts high level public api expose #465
- ParametersError context property deprecated #462
- Spec.create deprecated #463
- Validators refactor #457
- Webhooks support #470
- Rename
UnmarshalContext
toValidationContext
#472 - Fix PATH_PARAMETER_PATTERN for DRF default value pattern. #468
- Fix falcon response data none #471
Backward incompatibilities
request
parameter forvalidate_request
shortcut function moved to first positionrequest
andresponse
parameters forvalidate_response
shortcut function moved to first and second position- Schema unmarshalling/validation returns
Invalid*
exception (InvalidData
,InvalidParameter
,InvalidRequestBody
,InvalidHeader
). Use__cause__
property to get root cause exception. InvalidSecurity
exception renamed toSecurityNotFound