Openapi-core

Latest version: v0.19.4

Safety actively analyzes 675368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 9

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 use `dataclasses` 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` and `Response` 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 to `OpenAPIResponse` datatype
* `RequestParameters`' `header` attribute as `Headers` type
* `RequestParameters`' `cookie` attribute as `ImmutableMultiDict` type
* `RequestValidationResult`' `parameters` attribute as `Parameters` type
* unused `server`, `operation` and `path` attributes removed from `RequestValidationResult`
* `EmptyParameterValue` exception renamed to `EmptyQueryParameterValue`
* `FalconOpenAPIRequestFactory` requires to be instantiated
* `create_spec` shortcut replaced with `Spec.create`
* `OpenAPIRequest` and `OpenAPIResponse` removed. All backward compabilities from`contrib` removed.
* `spec_validate_*` shortcuts removed. Use `validate_request` and `validate_response` with `validator ` parameter instead.
* `validate_{parameters,body,security}` shortcuts removed. Use predefined `openapi_request_parameters_validator`, `openapi_request_body_validator` and `openapi_request_security_validator` from `openapi_core.validation.request` instead.
* `validate_{data,headers}` shortcuts removed. Use predefined `openapi_response_data_validator` and `openapi_response_headers_validator` from `openapi_core.validation.response` instead.
* `custom_media_type_deserializers ` parameter for `RequestValidator` and `ResponseValidator` removed. Use `MediaTypeDeserializersFactory` with `custom_deserializers` parameter and pass it to validator with `media_type_deserializers_factory` parameter.
* `custom_formatters ` parameter for `RequestValidator` and `ResponseValidator` removed. Use `SchemaUnmarshallersFactory` with `custom_formatters` parameter and pass it to validator.

0.15.0a2

Changelog
* `Request` and `Response` protocols 407
* validator factories removed from validation shortcuts 408
* Predefined openapi validators 409
* Customization refactor 412

Backward incompatibilities
* `OpenAPIRequest` and `OpenAPIResponse` removed. All backward compabilities from`contrib` removed.
* `spec_validate_*` shortcuts removed. Use `validate_request` and `validate_response` with `validator ` parameter instead.
* `validate_{parameters,body,security}` shortcuts removed. Use predefined `openapi_request_parameters_validator`, `openapi_request_body_validator` and `openapi_request_security_validator` from `openapi_core.validation.request` instead.
* `validate_{data,headers}` shortcuts removed. Use predefined `openapi_response_data_validator` and `openapi_response_headers_validator` from `openapi_core.validation.response` instead.
* `custom_media_type_deserializers ` parameter for `RequestValidator` and `ResponseValidator` removed. Use `MediaTypeDeserializersFactory` with `custom_deserializers` parameter and pass it to validator with `media_type_deserializers_factory` parameter.
* `custom_formatters ` parameter for `RequestValidator` and `ResponseValidator` removed. Use `SchemaUnmarshallersFactory` with `custom_formatters` parameter and pass it to validator.

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 use `dataclasses` 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 to `OpenAPIResponse` datatype
* `RequestParameters`' `header` attribute as `Headers` type
* `RequestParameters`' `cookie` attribute as `ImmutableMultiDict` type
* `RequestValidationResult`' `parameters` attribute as `Parameters` type
* unused `server`, `operation` and `path` attributes removed from `RequestValidationResult`
* `EmptyParameterValue` exception renamed to `EmptyQueryParameterValue`
* `FalconOpenAPIRequestFactory` requires to be instantiated
* `create_spec` shortcut replaced with `Spec.create`

0.14.5

Changelog
* openapi-spec-validator strict requirement fix 406

0.14.4

Changelog
* pyyaml strict requirement fix 404

0.14.3

Changelog
* pin openapi dependencies 403

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.