connexion

Connexion is a modern Python web framework that makes spec-first and api-first development easy.

APACHE-2.0 License

Downloads
26.1M
Stars
4.4K
Committers
217

Bot releases are visible (Hide)

connexion - 2.12.0

Published by RobbeSneyders over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/spec-first/connexion/compare/2.11.2...2.12.0

connexion - 2.11.2

Published by RobbeSneyders over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/spec-first/connexion/compare/2.11.1...2.11.2

connexion - 2.11.1

Published by RobbeSneyders over 2 years ago

What's Changed

Full Changelog: https://github.com/spec-first/connexion/compare/2.11.0...2.11.1

connexion - 2.11.0

Published by RobbeSneyders over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/spec-first/connexion/compare/2.10.0...2.11.0

connexion - 2.10.0

Published by RobbeSneyders almost 3 years ago

Note

Due to unavailability of maintainers with access to the connexion PyPi project, this version has been released under a new PyPi project connexion2 for now:
https://pypi.org/project/connexion2/

EDIT 15/01/2022: This version is now available under the main PyPi repository:
https://pypi.org/project/connexion/2.10.0/

Changelog

  • Bump Flask & Werkzeug major versions to 2.x #1402
  • Send request exception signal in common exception handler #1326
  • Render correct UI template when serving multiple APIs #1404
  • Use jsonschema for validation instead of openapi_spec_validator #936
  • Add Relative resolver #1419
  • Add keywords to the list of pythonic words #1425
  • Improved error 415 #1185

Full Changelog: https://github.com/zalando/connexion/compare/2.9.0...2.10.0

connexion - 2.9.0

Published by hjacobs over 3 years ago

Release with new (backwards-compatible) features: https://pypi.org/project/connexion/2.9.0/

Notable changes:

  • support required: false for headers #1293
  • support multiple security schemes #1290
  • better handling of numerical path parameters in Flask #1290

Detailed list of changes: https://github.com/zalando/connexion/milestone/12

connexion - 2.8.0

Published by hjacobs over 3 years ago

connexion - 2.7.0

Published by hjacobs over 4 years ago

  • Objects and Arrays recursively construct examples (#1148)
  • Added server_args parameter to AbstractApp (#1173)
  • AIOHTTP: get rid of @asyncio.coroutine (deprecated in Python 3.8) (#1186)
  • AIOHTTP: fix _framework_to_connexion_response for StreamResponse (#1217)
connexion - 2.6.0

Published by hjacobs over 4 years ago

  • Fix variable scoping (#1110)
  • Fix aiohttp access_log duplicated if passed as argument (#1113)
  • Fix pythonic params (#1116)
  • Fix extra formData (#1020)
  • Fix nested additionalProperties (#1138)
  • Allow empty security definition
connexion - 2.5.1

Published by hjacobs almost 5 years ago

  • Require Python 3.6 for pip installation (#1108)
connexion - 2.5.0

Published by hjacobs almost 5 years ago

  • Drop Python 2.7 support, support Python 3.8
  • Convert responses to raise ProblemException (#955)
  • Add error path to schema validation
  • Do not sanitize body keys in OpenAPI 3 (#1008)
  • Date/time serialization (#851)
  • Forward options to AioHTTP app (#885)
  • Returning tuples supported in AioHTTP (#849)
  • Allow Swagger UI configuration options (#948)
  • Remove security parameter to pass query validation (#470)
  • Allow users to enable debug mode via environment variable
connexion - 2.4.0

Published by hjacobs about 5 years ago

  • Handle deepObject and explode: true (#971)
  • Support jsonschema > 3.0.0 (#1050)
  • Drop Python 3.4 and 3.5. Add Python 3.8 (#1056)
  • Fix deprecated import (#1044)
  • Bump Flask version (#995)
connexion - 2.3.0

Published by jmcs over 5 years ago

  • AioHttpApi oauth middleware catches all OAuth problems (#830)
  • Serve YAML spec (#842)
  • Added MethodViewResolver (#847)
  • Fix swagger console backslash redirect for aiohttp (#843)
  • Fix uwsgi metric collection (#972)
  • Respond with problems by default in aiohttp (#952)
connexion - 2.2.0

Published by jmcs almost 6 years ago

  • Fix case sensitive headers in aiohttp (#825)
  • Fix passing empty object body (#815)
  • Fix openapi3 path and query validation (#821)
  • Add path to API only for HTTP operations (#817)
  • Added OpenAPI 3 getting API Key from cookie support (#794)
connexion - 2.1.0

Published by jmcs almost 6 years ago

  • Proper debug logs for aiohttp's StreamResponse (#787)
  • Fix cli --stub (#800)
  • Fix handling additionalProperties in body (#789)
  • Change can_read_body to body_exists in AioHttpApi.get_request (#738)
  • Removed duplicated calls of get_response method of the Api classes (#809)
  • Fix up array style defaults (#803)
connexion - 2.0.2

Published by jmcs almost 6 years ago

  • Enforce that spec has string keys (JSON does not support integer keys) (#763)
  • Add connexion.operation dummy module for backwards compatability (#758)
  • Only pass body on PATCH/POST/PUT request (#761)
  • Add support for JWT authentication (#732)
  • Don't let openapi_spec_validator tamper raw spec (#762)
  • Simplify Operation class construction (#726)
connexion - 2.0.1

Published by jmcs almost 6 years ago

  • Pass files to handler if filename in arguments or has_kwargs (#753)
  • Handle TypeValidationError in form-data (#749)
  • Get rid of deprecation warning when using connexion run ... (#745)
connexion - 2.0.0

Published by jmcs almost 6 years ago

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 the AbstractOperation class.
  • The Operation class has been renamed to Swagger2Operation.
  • 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 in q = [4, 5, 6].
    The old behavior is available by setting the collectionFormat to multi, or by importing decorators.uri_parsing.AlwaysMultiURIParser and passing parser_class=AlwaysMultiURIParser to your Api.
  • The spec validator library has changed from swagger-spec-validator to openapi-spec-validator.
  • Errors that previously raised SwaggerValidationError now raise the InvalidSpecification exception.
    All spec validation errors should be wrapped with InvalidSpecification.
  • 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, use connexion.context['user'] instead
connexion - 1.5.3

Published by jmcs about 6 years ago

  • Fix error codes for bad Content-Types in body validator. (#629)
  • Add validator kind to error logs extra in validators (#671)
  • Improve metrics reporting (#672)
  • Improve coroutine detection (#600)
  • Add x-nullable support for body validators (#642)
connexion - 1.5.2

Published by jmcs about 6 years ago

Bugfix:

  • Split FormData array parameters correctly (#638)
Package Rankings
Top 5.25% on Alpine-edge
Top 0.63% on Pypi.org
Top 9.67% on Conda-forge.org