Openapi-core

Latest version: v0.19.1

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

Scan your dependencies

Page 1 of 8

0.19.1

Features
* Path finder cls configuration 797

Bug fixes
* Invalid usage of super() when having multi-baseclass inheritance: … 802
* Fix content-type when no space after semicolon 814
* Protocols body and data attributes docstrings fix 829

0.19.0

This version focuses on OpenAPI app and support for binary requests and responses.

Features
* FastAPI integration 738
* Mimetype parameters (i.e. charset) handling 678
* Parameter deserializers renamed to Style deserializers 676
* Unmarshalling processor enhancement 625
* Option to skip response validation in Django, Falcon and Flask integrations 667
* use explicit arguments (instead of kwargs) in Spec.from_dict and add short note in documentation how to use base_url for Spec.from_dict
* Parameter and header get value refactor 677
* Python 3.12 support 684
* Bump openapi-spec-validator from 0.6.0 to 0.7.0 685
* Use openapi-spec-validator spec version finder 691
* Move to `SchemaPath` from jsonschema-path package 690
* Specification validation as part of shortcuts 686
* Style deserializing reimplementation with support for all styles 694
* Media type encoding support 646
* Replace `mimetype` with `content_type` to include content parameters 699
* Suport for primitive properties casting of urlencoded objects. 701
* Request response binary format support 710
* Starlette middleware 680
* OpenAPI app and high level integration 716

Bug fixes
* aiohttp request host_url include scheme 673
* aiohttp response body check none 674
* Validate empty request body fix 713
* Path finder returns default server 648
* OpenAPI config passed to validators and unmarshallers fix 779
* milti types schema format unmarshal fix 562

Deprecations
* `Spec` class is deprecated. Use `SchemaPath` from jsonschema-path package.

Breaking changes
* `request_class`/`response_class` renamed to `request_cls`/`response_cls` in unmarshalling processors (Django, Falcon and Flask integrations) 667
* `ParameterDeserializersFactory` renamed to `StyleDeserializersFactory` 676
* Specification validation is no longer part of `Spec` object creation and moved to be part of `OpenAPI` object creation. 686 716
* `Request` and `Response` protocols' `mimetype` attribute replaced with `content_type` 699
* `Request` protocol's `body` attribute returns bytes instead of str 710
* `Response` protocol's `data` attribute returns bytes instead of str 710
* Unmarshalling no longer raises `FormatUnmarshalError`

0.19.0a2

This version focuses on OpenAPI app and support for binary requests and responses.

Bug fixes
* Path finder returns default server 648
* OpenAPI config passed to validators and unmarshallers fix 779
* milti types schema format unmarshal fix 562

Backward incompatibilities
* Unmarshalling no longer raises `FormatUnmarshalError`

0.19.0a1

This version focuses on OpenAPI app and support for binary requests and responses.

Features
* Mimetype parameters (i.e. charset) handling 678
* Parameter deserializers renamed to Style deserializers 676
* Unmarshalling processor enhancement 625
* Option to skip response validation in Django, Falcon and Flask integrations 667
* use explicit arguments (instead of kwargs) in Spec.from_dict and add short note in documentation how to use base_url for Spec.from_dict
* byte and binary formats return bytes type 647
* Parameter and header get value refactor 677
* Python 3.12 support 684
* Bump openapi-spec-validator from 0.6.0 to 0.7.0 685
* Use openapi-spec-validator spec version finder 691
* Move to `SchemaPath` from jsonschema-path package 690
* Specification validation as part of shortcuts 686
* Style deserializing reimplementation with support for all styles 694
* Media type encoding support 646
* Replace `mimetype` with `content_type` to include content parameters 699
* Suport for primitive properties casting of urlencoded objects. 701
* Request response binary format support 710
* Starlette middleware 680
* OpenAPI app and high level integration 716

Bug fixes
* aiohttp request host_url include scheme 673
* aiohttp response body check none 674
* Validate empty request body fix 713

Deprecations
* `Spec` class is deprecated. Use `SchemaPath` from jsonschema-path package.

Breaking changes
* `request_class`/`response_class` renamed to `request_cls`/`response_cls` in unmarshalling processors (Django, Falcon and Flask integrations) 667
* `ParameterDeserializersFactory` renamed to `StyleDeserializersFactory` 676
* unmarshalling byte and binary formats return bytes 647
* Specification validation is no longer part of `Spec` object creation and moved to be part of `OpenAPI` object creation. 686 716
* `Request` and `Response` protocols' `mimetype` attribute replaced with `content_type` 699
* `Request` protocol's `body` attribute returns bytes instead of str 710
* `Response` protocol's `data` attribute returns bytes instead of str 710

0.18.2

Bug fixes
* Deprecated spec validator fix + warnings resolved 717

0.18.1

Bug fixes
* Ignore formats for other types in unmarshalling process 599

Features
* More media types supported 622
* Unmarshalling customizations in middlewares (`FalconOpenAPIMiddleware`, `FlaskOpenAPIView`, `FlaskOpenAPIViewDecorator`) 623

Documentation
* Changed doc indentation from 3 to 4 631

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.