Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin openapi-core to latest version 0.14.0 #404

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented May 7, 2021

This PR pins openapi-core to the latest release 0.14.0.

Changelog

0.14.0

openapi-core 0.14 is scheduled to be the last major version in the 0.x series.

This release introduces `SpecPath` which reduces spec creation time and allows to get rid of big `schema` package

Changes:
* `Spec` replaced with `SpecPath` (318)

Backward incompatibilities:
* `create_spec` shortcut returns `SpecPath` instead of `Spec`
* removed Spec-related `schema` package
* schema-related `exceptions` moved to top level `exceptions` module
* `readOnly`/`writeOnly` invalid properties raise error (before were ommitted)
* `MediaTypeDeserializersFactory.create` expects `mimetype` string instead of `media_type`
* `MediaTypeFinder.find` returns `media_type, mimetype` tuple instead of just `media_type`

0.13.8

Changelog
* use prepared request to format payload before converting (271)
* deserialize form urlencoded media type (302)
* deserialize data form media type (303)
* Media type finder (307)
* Add extensions support for the Parameter model (308)
* Response finder (309)
* Falcon3 support (316)

0.13.7

Changelog
* Any unmarshaller validate fix (295)
* Spec validation customization (290)
* Format checker deepcopy to shallowcopy (291)
* Format checker on validation scope (292)
* Basic documentation (293)

0.13.6

Changelog
* Remove security on operation level fix (284)
* AnyUnmarshaller use allOf schemas (286)

0.13.5

Changelog
* prioritize concrete paths fix (273)
* return None on nullable array type (276)

0.13.4

Changelog
* Paths finder relative url and simple paths check fix (222)
* Add documentation for custom formatters (228)
* Fix Requests.response factory (227)
* Case insensitive headers fix (236)
* Security HTTP provider fix (225)
* Unmarshalling nullable objects (239)
* Date-time format unmarshal tz fix (237)
* Templating parser path parameter search fix (245)
* Fix the Falcon integration to properly handle URLs with query strings. (233)

0.13.3

Changelog
* Path patterns finder (202) - server and path with variables resolving
* Requests integration (209)
* b64decode issue29427 fix (210)
* Extensible schema models (211)
* Use `openapi-schema-validator` library (212)
* Fix to force ConfigParser to correctly parse extra requirements (214)
* Falcon integration (215)

0.13.2

Changelog
* werkzeug missing dependency fix (203)

0.13.1

Changelog
* Flask error handler status fix (199)
* Validators shortcuts fix (200)

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 means `parameters` in `RequestValidationResult` is no longer `dict` type but you can still access parameter types (path, query, heder, cookie) lika a dict.
* `validate_body`, `validate_parameters` and `validate_data` no longer accept `wrapper_class`, `request_wrapper_class` and `response_wrapper_class` keyword arguments. Use `request_factory` and `response_factory` instead.
* `openapi_core.wrappers.flask` module moved to `openapi_core.contrib.flask`
* `openapi_core.wrappers.mock` module moved to `openapi_core.testing.mock`
* validation is now part of unmarshalling process
* `strict` parameter removed
* standardized formatting process with `Formatter` class. Custom formatters should inherit from the class.
* unmarshalling process no longer raise `InvalidMediaTypeValue ` and `InvalidParameterValue ` exceptions
* casting process no longer raise `InvalidParameterValue` exception
* deserializing process no longer raise `InvalidMediaTypeValue` exception
* `OpenAPIRequest `'s `host_url ` and `path_pattern ` attributes replaced with `full_url_pattern ` attribute

0.12.0

This release contains new Open API schema validation based on jsonschema (OAS Validator).

Changelog
- OAS validation with JSONSchema (157)

0.11.1

Changelog
* Path item parameter override (145)
* Separate cast and unmarshal (156)

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
- End of Python 3.4 support (136)
- Add support for one-of with any type (133)
- Modify FlaskOpenAPIRequest to accommodate path variables (141)
- Primitive types unmarshallers (138)
- attr errors hashable fix (143)
- Parameters on path item object support (144)

0.10.0

openapi-core 0.10 is the last major version with Python 3.4 support

Changelog
* Fix 124: Checking "additionalProperties" in "oneOf" items. (125)
* Add support for `password` string format (132)
* Add support for path-level parameters (130)
* Add support for "links" in Response (131)
* Fix number validator (134)

0.9.0

Changelog

- Raw value type strict validation (123 
- Object additionalProperties support (121)
- Properly formatting UUID if value is already a UUID (112)
- String byte format fix (117)

0.8.0

Changelog
* byte string format (111)
* Fix import in an example (102)
* Dont use value for determining any type (106)
* Test for non utc systems fix (107)
* Accepting uuid string format and validating accordingly (109)

0.7.1

Changelog
* Python 2.7 requirements fix
Links

@stephenfin stephenfin closed this Oct 5, 2021
@stephenfin stephenfin deleted the pyup-pin-openapi-core-0.14.0 branch May 6, 2022 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants