Nti.site

Latest version: v3.0.0

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

Scan your dependencies

Page 1 of 3

3.0.1

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

- Nothing changed yet.

3.0.0

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

- Update to zope.interface 5.3. and zope.component 5.0.
This lets the ``BTreeAdapterRegistry``
and ``BTreeLocalSiteManager`` work much more smoothly and scale
better.

.. important::

The automatic conversion from dicts to BTrees has been removed.
You must explicitly migrate by calling ``BTreeLocalSiteManager.rebuild()``.

2.4.2

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

- Fix ``BTreePersistentComponents`` attempting BTree conversion during
``_p_activate()``. Only actual mutations via registering or
unregistering utilities, adapters or subscribers should trigger
conversion. See :issue:`38`.

2.4.1

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

- Fix a ``TypeError`` in logging during the conversion performed by
``BTreePersistentComponents``.

2.4.0

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

- Substantially reduce the thresholds at which the
``BTreePersistentComponents`` will convert internal data structures
from plain ``dict`` objects into ``BTree`` objects. This is intended
to reduce the pickle size of, and number of ghost objects created
by, components containing many utilities. Previously, the thresholds
were set very high and mostly worked for sites with many adapters.

- Add support for Python 3.9.

- Move to Github Actions from Travis CI.

2.3.0

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

- Make ``threadSiteSubscriber`` (the traversal subscriber for
``ISite`` objects) will install a traversed site that is a root if
there is no current site.

Previously, it never installed root sites.

- Make ``threadSiteSubscriber`` install sites when their configuration
is not recognized.

Previously, it would raise ``LocationError``.

- Fix tests with, and require, zope.site 4.4.0 or above. See
:issue:`34`.

- Fix deprecation warning from ``nti.transactions``. Requires
``nti.transactions`` 4.0. See :issue:`33`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.