Zope-component

Latest version: v4.4.1

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

Scan your dependencies

Page 5 of 6

3.6.0

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

- IMPORTANT: the interfaces that were defined in the
``zope.component.bbb.interfaces`` and deprecated for years are
now (re)moved. However, some packages, including part of zope
framework were still using those interfaces. They will be adapted
for this change. If you were using some of those interfaces, you
need to adapt your code as well:

- Move ``IView`` and ``IDefaultViewName`` to ``zope.publisher.interfaces``.

- Move ``IResource`` to ``zope.app.publisher.interfaces``.

- Remove ``IContextDependent``, ``IPresentation``, ``IPresentationRequest``,
``IResourceFactory``, and ``IViewFactory`` completely.

If you used ``IViewFactory`` in context of ``zope.app.form``, there's now
``IWidgetFactory`` in the ``zope.app.form.interfaces`` instead.

- Move ``getNextUtility`` / ``queryNextUtility`` functions here from
``zope.site`` (they were in ``zope.app.component`` even earlier).

- Add a pure-Python ``hookable`` implementation, for use when
``zope.hookable`` is not present.

- Remove use of ``zope.deferredimport`` by breaking import cycles.

- Cleanup package documentation and changelog a bit. Add sphinx-based
documentation building command to the buildout.

- Remove deprecated code.

- Change package's mailing list address to zope-dev at zope.org, because
zope3-dev at zope.org is now retired.

3.5.1

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

- Fix bug introduced in 3.5.0: ``<utility factory="...">`` no longer supported
interfaces declared in Python and always wanted an explicit
``provides="..."`` attribute. https://bugs.launchpad.net/zope3/+bug/251865

3.5.0

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

- Support registration of utilities via factories through the component
registry and return factory information in the registration information.
Fixes https://bugs.launchpad.net/zope3/+bug/240631

- Optimize ``un/registerUtility`` by storing an optimized data structure for
efficient retrieval of already registered utilities. This avoids looping over
all utilities when registering a new one.

3.4.0

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

No further changes since 3.4.0a1.

3.4.0a1

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

Corresponds to ``zope.component`` from Zope 3.4.0a1.

- In the Zope 3.3.x series, ``zope.component`` was simplified yet once
more. See http://wiki.zope.org/zope3/LocalComponentManagementSimplification
for the proposal describing the changes.

3.2.0.2

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

- Fix packaging bug: ``package_dir`` must be a *relative* path.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.