Zope-app-wsgi

Latest version: v4.1.0

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

Scan your dependencies

Page 1 of 5

4.1.1

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

- Nothing changed yet.

4.1.0

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

- Use ``base64.b64encode`` to avoid deprecation warning with Python 3.

- Add support for PyPy.

- Add support for Python 3.6.

- Fix the testlayer's ``FakeResponse`` assuming that headers were in
unicode on Python 2, where they should usually be encoded bytes
already. This could lead to UnicodeDecodeError if the headers
contained non-ascii characters. Also make it implement
``__unicode__`` on Python 2 and ``__bytes__`` on Python 3 to ease
cross version testing. See `issue 7 <https://github.com/zopefoundation/zope.app.wsgi/issues/7>`_.

4.0.0

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

- Update dependencies to no longer pin alpha versions of packages which already
have final releases.

- Drop support for Python 2.6.

- Claim support for Python 3.4 and 3.5. This requires to update to

- ``zope.app.appsetup`` >= 4.0

- ``zope.app.publication`` >= 4.0

- Fix a bug occurring in Python 3 when the principal could not be adapted to
`ILoggingInfo`.

4.0.0a4

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

- Improve Trove classifiers.

- Fix ``BrowserLayer(allowTearDown=True)`` to actually allow tear downs.

4.0.0a3

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

- You can now specify additional WSGI middleware components wihtout
subclassing the ``BrowserLayer`` class.

- `tox` now uses the Zope test runner's `ftest` command to execute tests,
since setup tests cannot deal with layers, especially when they need to
spawn sub-proceeses.

- Switched all functional tests to use `WebTest` instead of
``zope.testbrowser``. Set up proper layering.

- Do not rely on ``zope.testbrowser.wsgi`` WSGI layer support. It was not
needed anyways.

- Minimized the ``ftesting.zcml`` setup.

- Backwards incompatibility: if you depend on ``zope.app.wsgi.testlayer``, you
will need to require ``zope.app.wsgi[testlayer] >= 4.0`` (version constraint
is there because older zope.app.wsgi releases did not define a ``testlayer``
extra).

4.0.0a2

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

- Fixed a bug in WSGI Test Layer setup, where the DB is not correctly set.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.