Apig-wsgi

Latest version: v2.18.0

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

Scan your dependencies

Page 4 of 6

2.4.1

------------------

* Fix URL parameter encoding - URL escaping like `%3A` will now be passed
correctly to your application
(`Issue 101 <https://github.com/adamchainz/apig-wsgi/issues/101>`__).
Whilst this is a bugfix release, it may break any workarounds you have in
your application - please check when upgrading.

2.4.0

------------------

* Converted setuptools metadata to configuration file. This meant removing the
``__version__`` attribute from the package. If you want to inspect the
installed version, use
``importlib.metadata.version("apig-wsgi")``
(`docs <https://docs.python.org/3.8/library/importlib.metadata.html#distribution-versions>`__ /
`backport <https://pypi.org/project/importlib-metadata/>`__).
* Support Python 3.8.
* Add `application/vnd.api+json` to default non-binary content type prefixes.
* Add support for custom non-binary content type prefixes. This lets you control
which content types should be treated as plain text when binary support is enabled.

2.3.0

------------------

* Update Python support to 3.5-3.7, as 3.4 has reached its end of life.
* Return binary content for gzipped responses with text or JSON content types.

2.2.0

------------------

* If API Gateway event includes ``requestContext``, for example for custom
authorizers, pass it in the WSGI ``environ`` as
``apig_wsgi.request_context``.

2.1.1

------------------

* Revert adding ``statusDescription`` because it turns out API Gateway doesn't
ignore it but instead fails the response with an internal server error.

2.1.0

------------------

* Change ``statusCode`` returned to API Gateway / ALB to an integer. It seems
API Gateway always supported both strings and integers, whilst ALB only
supports integers.
* Add ``statusDescription`` in return value. API Gateway doesn't seem to use
this whilst the `ALB documentation <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html>`_
mentions it as supported.

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.