diff --git a/python-zope.schema.changes b/python-zope.schema.changes index a71fac0..56ffe0c 100644 --- a/python-zope.schema.changes +++ b/python-zope.schema.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Mar 9 10:24:34 UTC 2020 - pgajdos@suse.com + +- update to version 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. + - Set ``IDecimal`` attributes ``min``, ``max`` and ``default`` as ``Decimal`` + type instead of ``Number``. + See `issue 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 `_. + ------------------------------------------------------------------- Mon Oct 14 14:51:30 UTC 2019 - Matej Cepl diff --git a/python-zope.schema.spec b/python-zope.schema.spec index 1fc55dc..b81378d 100644 --- a/python-zope.schema.spec +++ b/python-zope.schema.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.schema # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-zope.schema%{psuffix} -Version: 4.9.3 +Version: 5.0.1 Release: 0 Summary: Zope interface extension for defining data schemas License: ZPL-2.1 diff --git a/zope.schema-4.9.3.tar.gz b/zope.schema-4.9.3.tar.gz deleted file mode 100644 index 0d522ba..0000000 --- a/zope.schema-4.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d971da8707cab47b1916534b9929dcd9d7f23aed790e6b4cbe3103d5b18069d -size 98217 diff --git a/zope.schema-5.0.1.tar.gz b/zope.schema-5.0.1.tar.gz new file mode 100644 index 0000000..f985da9 --- /dev/null +++ b/zope.schema-5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca136177e7fcfe22d4a0183e2e87a71ccc25b804892a11389c8228513a902361 +size 106251