All Versions
15
Latest Version
Avg Release Cycle
41 days
Latest Release
1455 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v2.0.0 Changes
November 05, 2018๐ Connexion 2.0 supports version 3.0.x of the OpenAPI Specification!
As 2.0 is a major version bump, you can expect some breaking changes from Connexion 1.5.3.- You can now use openapi 3 specifications
- ๐ป Swagger UI is now optional, and can be installed with
pip install connexion[swagger-ui]
- ๐
App and Api options must be provided through the "options" argument (
old_style_options
have been removed). - You must specify a form content-type in 'consumes' in order to consume form data.
- The
Operation
interface has been formalized in theAbstractOperation
class. - The
Operation
class has been renamed toSwagger2Operation
. - Array parameter deserialization now follows the Swagger 2.0 spec more closely.
In situations when a query parameter is passed multiple times, and the collectionFormat is either csv or pipes, the right-most value will be used.
For example,?q=1,2,3&q=4,5,6
will result inq = [4, 5, 6]
.
๐ The old behavior is available by setting the collectionFormat tomulti
, or by importingdecorators.uri_parsing.AlwaysMultiURIParser
and passingparser_class=AlwaysMultiURIParser
to your Api. - The spec validator library has changed from
swagger-spec-validator
toopenapi-spec-validator
. - ๐ป Errors that previously raised
SwaggerValidationError
now raise theInvalidSpecification
exception.
All spec validation errors should be wrapped withInvalidSpecification
. - ๐ Support for nullable/x-nullable, readOnly and writeOnly/x-writeOnly has been added to the standard json schema validator.
- Custom validators can now be specified on api level (instead of app level).
- โ Added support for basic authentication and apikey authentication
- ๐ If unsupported security requirements are defined or
x-tokenInfoFunc
/x-tokenInfoUrl
is missing, connexion now denies requests instead of allowing access without security-check. - ๐ Accessing
connexion.request.user
/flask.request.user
is no longer supported, useconnexion.context['user']
instead
-
v2.0.0.rc5
October 29, 2018 -
v2.0.0.rc4
October 29, 2018 -
v2.0.0.rc3
October 05, 2018 -
v2.0.0.rc2
October 04, 2018