Openapi-core

Latest version: v0.19.1

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

Scan your dependencies

Page 2 of 8

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_url` parameter of `Spec.from_dict` is deprecated. Use `base_uri` instead. 597
* `ref_resolver_handlers` parameter of `Spec.from_dict` is deprecated. Use `handlers` instead. 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.create` method
* `spec` as a first parameter for `validate_request` and `validate_response` shortcuts
* `validator` parameter for `validate_request` and `validate_response` shortcuts
* return unmarshalling data result for `validate_request` and `validate_response` shortcuts
* `RequestValidator`, `ResponseValidator` and `openapi_` objects
* `custom_deserializers`parameter
* `custom_formatters`parameter

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 of `Spec.from_dict` is deprecated. Use `base_uri` instead.
* `ref_resolver_handlers` parameter of `Spec.from_dict` is deprecated. Use `handlers` 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` method
* `spec` as a first parameter for `validate_request` and `validate_response` shortcuts
* `validator` parameter for `validate_request` and `validate_response` shortcuts
* return unmarshalling data result for `validate_request` and `validate_response` shortcuts
* `RequestValidator`, `ResponseValidator` and `openapi_` objects
* `custom_deserializers`parameter
* `custom_formatters`parameter

0.17.2

Features
* Integrations: Add support for aiohttp.web 571

Fixes
* Integrations: requests strip mimetype fix 553
* Unmarshalling: any unmarshaller get types fix 555
* Shortcuts: `validate_request` and `validate_response` show deprecation warning on return value use only 589

0.17.1

Changelog
* Include tests in sdist archives 537
* add python 3.11 support 538

0.17.0

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` to `ValidationContext` 472
* Fix `PATH_PARAMETER_PATTERN` for DRF default value pattern. 468
* Fix falcon response data none 471
* Shortcuts backward compatible 482
* `RequestValidator` and `ResponseValidator` 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 to `SecurityNotFound`

0.17.0a3

Changelog
* 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

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.