Zope.container

Latest version: v6.1

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

Scan your dependencies

Page 6 of 6

3.8.2

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

- Rid ourselves of ``IContained`` interface. This interface was moved
to ``zope.location.interfaces``. A b/w compat import still exists
to keep old code running. Depend on ``zope.location``>=3.5.4.

- Rid ourselves of the implementations of ``IObjectMovedEvent``,
``IObjectAddedEvent``, ``IObjectRemovedEvent`` interfaces and
``ObjectMovedEvent``, ``ObjectAddedEvent`` and
``ObjectRemovedEvent`` classes. B/w compat imports still exist.
All of these were moved to ``zope.lifecycleevent``. Depend on
``zope.lifecycleevent``>=3.5.2.

- Fix a bug in ``OrderedContainer`` where trying to set the value for a
key that already exists (duplication error) would actually delete the
key from the order, leaving a dangling reference.

- Partially break dependency on ``zope.traversing`` by disusing
``zope.traversing.api.getPath`` in favor of using
``ILocationInfo(object).getPath()``. The rest of the runtime
dependencies on ``zope.traversing`` are currently interface
dependencies.

- Break runtime dependency on ``zope.app.dependable`` by using a zcml
condition on the subscriber ZCML directive that registers the
``CheckDependency`` handler for ``IObjectRemovedEvent``. If
``zope.app.dependable`` is not installed, this subscriber will never
be registered. ``zope.app.dependable`` is now a testing dependency
only.

3.8.1

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

- Fix misspackaged 3.8.0

3.8.0

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

- Change ``configure.zcml`` to not depend on ``zope.app.component``.
Fixes: https://bugs.launchpad.net/bugs/348329

- Move the declaration of ``IOrderedContainer.updateOrder`` to a new, basic
``IOrdered`` interface and let ``IOrderedContainer`` inherit it. This allows
easier reuse of the declaration.

3.7.2

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

- Fix: added missing ``ComponentLookupError``, missing since revision 95429
and missing in last release.

- Adapt to the move of IDefaultViewName from ``zope.component.interfaces``
to ``zope.publisher.interfaces``.

- Add support for reserved names for containers. To specify reserved
names for some container, you need to provide an adapter from the
container to the ``zope.container.interfaces.IReservedNames`` interface.
The default ``NameChooser`` is now also aware of reserved names.

3.7.1

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

- Raise more "Pythonic" errors from ``__setitem__``, losing the dependency
on ``zope.exceptions``:

o ``zope.exceptions.DuplicationError`` -> ``KeyError``

o ``zope.exceptions.UserError`` -> ``ValueError``

- Move import of ``IBroken`` interface to use new ``zope.broken``
package, which has no dependencies beyond ``zope.interface``.

- Make ``test`` part pull in the extra test requirements of this package.

- Split the ``z3c.recipe.compattest`` configuration out into a new file,
``compat.cfg``, to reduce the burden of doing standard unit tests.

- Strip out bogus develop eggs from ``buildout.cfg``.

3.7.0

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

- Split this package off ``zope.app.container``. This package is
intended to have far less dependencies than ``zope.app.container``.

- This package also contains the container implementation that
used to be in ``zope.app.folder``.

Page 6 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.