Zope.schema

Latest version: v7.0.1

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

Scan your dependencies

Page 2 of 10

6.1.0

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

- Fix ``IField.required`` to not be required by default.
See `issue 104 <https://github.com/zopefoundation/zope.schema/issues/104>`_.

6.0.1

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

- Bring branch coverage to 100%.

- Add support for Python 3.9.

- Fix FieldUpdateEvent implementation by having an ``object`` attribute as the
``IFieldUpdatedEvent`` interfaces claims there should be.

6.0.0

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

- Require zope.interface 5.0.

- Ensure the resolution orders of all fields are consistent and make
sense. In particular, ``Bool`` fields now correctly implement
``IBool`` before ``IFromUnicode``. See `issue 80
<https://github.com/zopefoundation/zope.schema/issues/80>`_.

- Add support for Python 3.8.

- Drop support for Python 3.4.

5.0.1

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

- Fix: add ``Text.unicode_normalization = 'NFC'`` as default, because some are
persisting schema fields. Setting that attribute only in ``__init__``
breaks loading old objects.

5.0

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

- Set ``IDecimal`` attributes ``min``, ``max`` and ``default`` as ``Decimal``
type instead of ``Number``.
See `issue 88 <https://github.com/zopefoundation/zope.schema/issues/88>`_.

- Enable unicode normalization for ``Text`` fields.
The default is NFC normalization. Valid forms are 'NFC', 'NFKC', 'NFD', and
'NFKD'. To disable normalization, set ``unicode_normalization`` to ``False``
or ``None`` when calling ``__init__`` of the ``Text`` field.
See `issue 86 <https://github.com/zopefoundation/zope.schema/issues/86>`_.

4.9.3

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

- Fix a ReST error in getDoc() results when having "subfields"
with titles.

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.