Zope-publisher

Latest version: v4.3.2

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

Scan your dependencies

Page 6 of 9

3.6.4

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

- Add some BBB code to setDefaultSkin to allow IBrowserRequest's to continue
to work without configuring any special adapter for IDefaultSkin.

- Move `getDefaultSkin` to the skinnable module next to the `setDefaultSkin`
method, leaving a BBB import in place. Mark `IDefaultBrowserLayer` as a
`IBrowserSkinType` in code instead of relying on the ZCML to be loaded.

3.6.3

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

- Mark HTTPRequest as IAttributeAnnotatable if ``zope.annotation`` is
available, this was previously done by ``zope.app.i18n``.

- Register `IHTTPRequest` -> `IUserPreferredCharsets` adapter in ZCML
configuration. This was also previously done by ``zope.app.i18n``.

3.6.2

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

- Add an adapter from ``zope.security.interfaces.IPrincipal`` to
``zope.publisher.interfaces.logginginfo.ILoggingInfo``. It was moved
from ``zope.app.security`` as a part of refactoring process.

- Add adapters from HTTP and FTP request to
``zope.authentication.ILoginPassword`` interface. They are moved from
``zope.app.security`` as a part of refactoring process. This change adds a
dependency on the ``zope.authentication`` package, but it's okay, since it's
a tiny contract definition-only package.

See http://mail.zope.org/pipermail/zope-dev/2009-March/035325.html for
reasoning.

3.6.1

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

- Fix: remove IBrowserRequest dependency in http implementation based on
condition for setDefaultSkin. Use ISkinnable instead of IBrowserRequest.

3.6.0

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

- Clean-up: Move skin related code from zope.publisher.interfaces.browser and
zope.publisher.browser to zope.publihser.interfaces and
zope.publisher.skinnable and provide BBB imports. See skinnable.txt for more
information.

- Fix: ensure that we only apply skin interface in setDefaultSkin which also
provide IBrowserSkinType. This will ensure that we find a skin if the
applySkin method will lookup for a skin based on this type interface.

- Fix: Make it possible to use adapters and not only interfaces as skins from
the adapter registry. Right now the defaultSkin directive registers simple
interfaces as skin adapters which will run into a TypeError if someone tries
to adapter such a skin adapter. Probably we should change the defaultSkin
directive and register real adapters instead of using the interfaces as fake
adapters where we expect adapter factories.

- Feature: allow use of ``applySkinof`` with different skin types using the
optional ``skinType`` argument, which is by default set to
``IBrowserSkinType``.

- Feature: implement the default skin pattern within adapters. This allows
us to register default skins for other requests then only
``IBrowserRequest`` using ``IDefaultSkin`` adapters.

Note, ``ISkinnable`` and ``ISkinType`` and the skin implementation should
be moved out of the browser request modules. Packages like ``z3c.jsonrpc``
do not depend on ``IBrowserRequest`` but they are skinnable.

- Feature: add ``ISkinnable`` interface which allows us to implement the apply
skin pattern not only for ``IBrowserRequest``.

- Fix: Don't cause warnings on Python 2.6

- Fix: Make ``IBrowserPage`` inherit ``IBrowserView``.

- Move ``IView`` and ``IDefaultViewName`` here from
``zope.component.interfaces``. Stop inheriting from deprecated (for years)
interfaces defined in ``zope.component``.

- Remove deprecated code.

- Clean-up: Move ``zope.testing`` from extras to dependencies, per Zope
Framework policy. Remove ``zope.app.testing`` as a dependency: tests run
fine without it.

3.5.6

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

- Fix an untested code path that incorrectly attempted to construct a
``NotFound``, adding a test.

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.