Releases: python-openapi/openapi-core
Releases · python-openapi/openapi-core
0.18.0
This version drops support for Python 3.7
Upgrades
- Compatibility with jsonschema 4.18, jsonschema-spec 0.2, openapi-schema-validator 0.6 and openapi-spec-validator 0.6 #597
- Update dependencies #616
Deprecations
spec_urlparameter ofSpec.from_dictis deprecated. Usebase_uriinstead. #597ref_resolver_handlersparameter ofSpec.from_dictis deprecated. Usehandlersinstead. #597
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.createmethodspecas a first parameter forvalidate_requestandvalidate_responseshortcutsvalidatorparameter forvalidate_requestandvalidate_responseshortcuts- return unmarshalling data result for
validate_requestandvalidate_responseshortcuts RequestValidator,ResponseValidatorandopenapi_objectscustom_deserializersparametercustom_formattersparameter
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_urlparameter ofSpec.from_dictis deprecated. Usebase_uriinstead.ref_resolver_handlersparameter ofSpec.from_dictis deprecated. Usehandlersinstead.
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.createmethodspecas a first parameter forvalidate_requestandvalidate_responseshortcutsvalidatorparameter forvalidate_requestandvalidate_responseshortcuts- return unmarshalling data result for
validate_requestandvalidate_responseshortcuts RequestValidator,ResponseValidatorandopenapi_objectscustom_deserializersparametercustom_formattersparameter
0.17.2
0.17.1
0.17.0
Changelog
- shortcuts high level public api expose #465
ParametersErrorcontext property deprecated #462Spec.createdeprecated #463- Validators refactor #457
- Webhooks support #470
- Rename
UnmarshalContexttoValidationContext#472 - Fix
PATH_PARAMETER_PATTERNfor DRF default value pattern. #468 - Fix falcon response data none #471
- Shortcuts backward compatible #482
RequestValidatorandResponseValidatorbackward compatibility #487- Fix flask decorator function return other types #489
- Fix integration
RequestResponsefactories 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. InvalidSecurityexception 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
UnmarshalContexttoValidationContext#472 - Fix PATH_PARAMETER_PATTERN for DRF default value pattern. #468
- Fix falcon response data none #471
Backward incompatibilities
requestparameter forvalidate_requestshortcut function moved to first positionrequestandresponseparameters forvalidate_responseshortcut 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. InvalidSecurityexception renamed toSecurityNotFound