Zope-publisher

Latest version: v4.3.2

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

Scan your dependencies

Page 3 of 9

4.0.0a1

====================

- Replace deprecated ``zope.component.adapts`` usage with equivalent
``zope.component.adapter`` decorator.

- Replace deprecated ``zope.interface.implements`` usage with equivalent
``zope.interface.implementer`` decorator.

- Drop support for Python 2.4, 2.5 and pypy.

- Add support for Python 3.3.

- Wrap ``with interaction()`` in try/finally.

- Don't guess the content type with 304 responses which MUST NOT /
SHOULD NOT include it according to:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htmlsec10.3.5

Unfortunately, the content type will still be guessed if the result is
set before the status.

3.13.0

===================

- Fix error when no charset matches form data and HTTP_ACCEPT_CHARSET contains a ``*``.

- Add test convenience helper ``create_interaction`` and ``with interaction()``.

3.12.6

===================

- Upload a non-CRLF version to pypi.

3.12.5

===================

- Rename the ``tests`` extra to ``test``.

- Add a test for our own configure.zcml.

- Use UTF-8 as the charset if the browser does not set a header,
per W3C spec.

3.12.4

===================

- LP 131460: Make principal logging unicode safe.

- Remove use of string exceptions in tests, http://bugs.debian.org/585343

- Add ``IStartRequestEvent`` and ``StartRequestEvent`` for use in
``zope.app.publication`` (matching up with ``IEndRequestEvent`` and
``EndRequestEvent``). Includes refactoring to produce one definition of
'event with a request' - IRequestEvent.

3.12.3

===================

- LP 209440: Don't obscure original exception when handling retries
in ``publish.publish()`` with ``handleErrors == False``. This change
makes debugging such exception in unit tests easier.
Thanks to James Henstridge for the patch.

- LP 98395: allow unicode output of XML content whose mimetype does not
begin with ``text/``, per RFC 3023 as well as for content types ending
in ``+xml`` such as Mozilla XUL's ``application/vnd+xml``. Thanks to
Justin Ryan for the patch.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.