Releases: python-openapi/openapi-core
Releases · python-openapi/openapi-core
0.13.2
0.13.1
0.13.0
Changelog
- Validation result datatypes (#165)
- OpenAPI request/response factories introduction (#166)
- Django OpenAPI request/response factories (#167)
- Schema exceptions refactor (#168)
- Operations fields (#169)
- Validation schema errors iter fix (#170)
- webob support (#173)
- CVE-2019-19844 fix (#182)
- Move Unmarshallers to separate subpackage (#183)
- Flask OpenAPI view & decorator (#177)
- Flask OpenAPI request parameters (#185)
- Move casters to separate subpackage (#184)
- Move schema validator to separate subpackage (#186)
- Move unmarshal out of schema models (#188)
- Deserialise models without schema fix (#190)
- Move deserialize/cast out of schema models (#191)
- Custom media type deserializers (#192)
- Missing Info models (#193)
- Free-form objects unmarshal (#194)
- Security validation with API Key and HTTP security types support (#195)
- Missing path model fields (#196)
- OpenAPI request datatype refactor (#197)
- readOnly and writeOnly support (#152)
Backward incompatibility
- new datatype RequestParameters. That meansparametersinRequestValidationResultis no longerdicttype but you can still access parameter types (path, query, heder, cookie) lika a dict.
- validate_body,- validate_parametersand- validate_datano longer accept- wrapper_class,- request_wrapper_classand- response_wrapper_classkeyword arguments. Use- request_factoryand- response_factoryinstead.
- openapi_core.wrappers.flaskmodule moved to- openapi_core.contrib.flask
- openapi_core.wrappers.mockmodule moved to- openapi_core.testing.mock
- validation is now part of unmarshalling process
- strictparameter removed
- standardized formatting process with Formatterclass. Custom formatters should inherit from the class.
- unmarshalling process no longer raise InvalidMediaTypeValueandInvalidParameterValueexceptions
- casting process no longer raise InvalidParameterValueexception
- deserializing process no longer raise InvalidMediaTypeValueexception
- OpenAPIRequest's- host_urland- path_patternattributes replaced with- full_url_patternattribute
0.12.0
0.11.1
0.11.0
openapi-core 0.11 is the last major version with schema validation based on internal validators (object validators). Next major versions is scheduled to be based on jsonschema validators (OAS Validator).
Changelog
0.10.0
openapi-core 0.10 is the last major version with Python 3.4 support