Nti.contentfragments

Latest version: v1.9.0

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

Scan your dependencies

Page 2 of 3

1.5.0

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

- When sanitizing html, disable link creation when already under an anchor.

1.4.0

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

- Allow ``IAllowedAttributeProvider`` to be registered to provide
additional attributes that would be allowed in sanitized content
fragments.

1.3.0

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

- Add support for Python 3.8.

- Depend on zope.interface 5.0.

- Update the datrie dependency. See https://github.com/NextThought/nti.contentfragments/issues/24

- Make ``IUnicodeContentFragment`` extend
``zope.interface.common.collections.ISequence`` instead of the
semi-deprecated ``zope.interface.common.sequence.IReadSequence``.

- Replace custom interfaces ``IString``, ``IUnicode`` and ``IBytes``
with aliases for ``INativeString``, ``ITextString`` and
``IByteString`` from ``zope.interface.common.builtins``. These
custom aliases are now deprecated. See https://github.com/NextThought/nti.contentfragments/issues/23.

- Fix unicode normalization breaking schema fields with zope.schema
6.0. See https://github.com/NextThought/nti.contentfragments/issues/26

- Ensure all objects have consistent resolution orders.

1.2.1

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

- Remove a word from the censored word list. See issue https://github.com/NextThought/nti.contentfragments/issues/22.

1.2.0

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

- Add support for Python 3.7. Note that ``datrie`` is not yet
available for Python 3.7.

- Add support for PyPy3.

- Add interfaces for all schema fields defined in
``nti.contentfragments.schema`` and make the respective classes
implement them.

1.1.1

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

- Packaging: Do not use ``html5lib[datrie]`` and instead copy that
dependency into our own dependencies to workaround a buildout error.
See https://github.com/NextThought/nti.contentfragments/issues/17

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.