Zope-schema

Latest version: v4.5.0

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

Scan your dependencies

Page 5 of 7

3.6.0

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

- Prefer zope.testing.doctest over doctestunit.

- Extend validation error to hold the field name.

- Add FieldProperty class that uses Field.get and Field.set methods
instead of storing directly on the instance __dict__.

3.5.4

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

- Don't fail trying to validate default value for Choice fields with
IContextSourceBinder object given as a source. See
https://bugs.launchpad.net/zope3/+bug/340416.

- Add an interface for ``DottedName`` field.

- Add ``vocabularyName`` attribute to the ``IChoice`` interface, change
"vocabulary" attribute description to be more sensible, making it
``zope.schema.Field`` instead of plain ``zope.interface.Attribute``.

- Make IBool interface of Bool more important than IFromUnicode so adapters
registered for IBool take precendence over adapters registered for
IFromUnicode.

3.5.3

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

- Make Choice and Bool fields implement IFromUnicode interface, because
they do provide the ``fromUnicode`` method.

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

- Fix package's documentation formatting. Change package's description.

- Add buildout part that builds Sphinx-generated documentation.

- Remove zpkg-related file.

3.5.2

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

- Made validation tests compatible with Python 2.5 again (hopefully not
breaking Python 2.4)

- Add an __all__ package attribute to expose documentation.

3.5.1

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

- Stop using the old old set type.

- Make tests compatible and silent with Python 2.4.

- Fix __cmp__ method in ValidationError. Show some side effects based on the
existing __cmp__ implementation. See validation.txt

- Make 'repr' of the ValidationError and its subclasses more sensible. This
may require you to adapt your doctests for the new style, but now it makes
much more sense for debugging for developers.

3.5.0a2

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

- Move zope.testing to "test" extras_require, as it is not needed
for zope.schema itself.

- Change the order of classes in SET_TYPES tuple, introduced in
previous release to one that was in 3.4 (SetType, set), because
third-party code could be dependent on that order. The one
example is z3c.form's converter.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.