OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=22
173 lines
7.4 KiB
Plaintext
173 lines
7.4 KiB
Plaintext
-------------------------------------------------------------------
|
||
Mon Jun 16 06:12:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||
|
||
- Switch to pyroject macros.
|
||
|
||
-------------------------------------------------------------------
|
||
Sun Jan 14 17:09:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||
|
||
- update to 2.0:
|
||
* Drop support for Python 2.7, 3.4, 3.5, 3.6.
|
||
* Add support for Python 3.10, 3.11.
|
||
* [breaking] If a bytes object is serialized by a String schema
|
||
node with the encoding parameter specified, it will be passed
|
||
through directly to str first, causing it to come out with a
|
||
b'' prefix. In order to serialize it properly, it should be
|
||
decoded to a string first. Previously, when the encoding
|
||
parameter was specified it would be decoded and re-encoded,
|
||
effectively passing it through untouched, despite not being a
|
||
string type.
|
||
* Add a new colander.DataURL validator.
|
||
* Add IDN support to colander.url.
|
||
* colander.All now supports colander.Invalid.msg being None or
|
||
a list, otherwise colander.Invalid.asdict crashes with
|
||
TypeError: sequence item 1: expected str instance, NoneType
|
||
found.
|
||
* Fixed an issue with colander.Mapping and colander.Sequence
|
||
where a default value of drop caused missing values to be
|
||
dropped during deserialization. (Only missing values should
|
||
affect deserialization, and only default values should affect
|
||
serialization.) Added many new test cases for MappingSchema
|
||
and SequenceSchema.
|
||
* Remove the dependency on setuptools for resolving
|
||
pkg_resources-style importable paths in
|
||
colander.GlobalObject.
|
||
* Refresh localization files with Babel 2.11.
|
||
* Add support for Python 3.9.
|
||
* Fix handling of insert_before on deferred nodes so that it
|
||
inserts the new node before the specified node instead of
|
||
always appending to the end of node.children after binding.
|
||
* Fix the broken wheels in 1.8.1 and 1.8.0 to include the
|
||
locale data. sigh
|
||
* Fix the broken wheels in 1.8.0 to include the locale data.
|
||
* Drop support for Python 3.4.
|
||
* Add support for Python 3.7 and 3.8.
|
||
* Fix deserializer on Date and DateTime fields to correctly
|
||
catch ValueError and TypeError exception, which can arise
|
||
when using custom formats on the field. Instead of allowing
|
||
these exceptions to propagate, replace then with an Invalid
|
||
exception instead.
|
||
- drop fix-tests.patch (obsolete)
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Apr 20 13:05:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||
|
||
- Obsolete the lang subpackage to avoid conflicts
|
||
- Do not generate docu twice, it is provided online by
|
||
upstream so we don't have to bother really at all
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Apr 20 09:19:56 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||
|
||
- Eliminate complicated py2k constructs
|
||
|
||
-------------------------------------------------------------------
|
||
Fri Apr 17 08:10:18 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||
|
||
- Add fix-tests.patch allowing use of pytest (gh#Pylons/colander#210)
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Oct 14 11:44:08 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||
|
||
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Feb 7 12:18:38 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||
|
||
- Update to 1.7.0 (2019-02-01), also fixes bsc#1123996 (CVE-2017-18361)
|
||
+ The URL validator regex has been updated to no longer be
|
||
vulnerable to a catastrophic backtracking that would have led to
|
||
an infinite loop.
|
||
See https://github.com/Pylons/colander/pull/323
|
||
and https://github.com/Pylons/colander/issues/290.
|
||
With thanks to Przemek (https://github.com/p-m-k).
|
||
+ This does change the behaviour of the URL validator and it no
|
||
longer supports file:// URI scheme
|
||
(https://tools.ietf.org/html/rfc8089). Users that wish to validate
|
||
file:// URI’s should change their validator to use
|
||
colander.file_uri instead.
|
||
+ It has also dropped support for alternate schemes outside of
|
||
http/ftp (and their secure equivelants). Please let us know if we
|
||
need to relax this requirement.
|
||
+ CVE-ID: CVE-2017-18361
|
||
+ The Email validator has been updated to use the same regular
|
||
expression that is used by the WhatWG HTML specification, thereby
|
||
increasing the email addresses that will validate correctly from
|
||
web forms submitted.
|
||
See https://github.com/Pylons/colander/pull/324
|
||
and https://github.com/Pylons/colander/issues/283
|
||
+ Number once again will allow you to serialize None to colander.null,
|
||
this reverts an accidental revert.
|
||
See https://github.com/Pylons/colander/issues/204#issuecomment-459556100
|
||
+ Integer SchemaType now supports an optional strict mode that will
|
||
validate that the number is an integer, rather than silently accepting
|
||
floats and truncating.
|
||
See https://github.com/Pylons/colander/pull/322
|
||
and https://github.com/Pylons/colander/issues/292
|
||
|
||
- Update to 1.6.0 (2019-01-31)
|
||
+ Support custom format strings on DateTime and Date fields.
|
||
See https://github.com/Pylons/colander/pull/318
|
||
+ Support sub-second precision on Time fields if provided.
|
||
See https://github.com/Pylons/colander/pull/319
|
||
+ Format Python code of colander to conform to the PEP 8 style guide.
|
||
Add some linters (flake8, black and other) into tox.ini.
|
||
See https://github.com/Pylons/colander/pull/320
|
||
|
||
- Update to 1.5.1 (2018-09-10)
|
||
+ Support deserializing colander.drop and colander.required.
|
||
See https://github.com/Pylons/colander/pull/304
|
||
|
||
- Update to 1.5.0 (2018-09-07)
|
||
+ Drop Python 3.3 support. Add PyPy3 and Python 3.7 as allowed failures.
|
||
See https://github.com/Pylons/colander/pull/309
|
||
+ Fix email validation to not allow all ASCII characters between + and /.
|
||
This prevents email addresses like ‘foo1,foo2@bar.baz’ from being
|
||
validated, which would be handled as multiple email addresses by
|
||
subsequent tools.
|
||
See https://github.com/Pylons/colander/pull/315
|
||
+ Add support for enum.Enum objects.
|
||
See https://github.com/Pylons/colander/pull/305
|
||
+ Recompiled language translations and updated de and el locales.
|
||
See https://github.com/Pylons/colander/pull/284
|
||
and https://github.com/Pylons/colander/pull/314
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Dec 5 01:20:39 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||
|
||
- Ensure neutrality of descriptions.
|
||
|
||
-------------------------------------------------------------------
|
||
Tue Dec 4 12:46:44 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||
|
||
- Remove superfluous devel dependency for noarch package
|
||
|
||
-------------------------------------------------------------------
|
||
Thu May 24 17:30:12 UTC 2018 - toddrme2178@gmail.com
|
||
|
||
- spec file cleanups
|
||
|
||
-------------------------------------------------------------------
|
||
Tue Sep 19 14:55:27 UTC 2017 - bruno@ioda-net.ch
|
||
|
||
- Update to upstream 1.4
|
||
- Backport python3 to singlespec + lang package
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Feb 9 22:32:43 UTC 2017 - hpj@urpla.net
|
||
|
||
- Update to version 1.3.2: initial build for python3
|
||
|
||
-------------------------------------------------------------------
|
||
Fri Feb 6 11:21:47 UTC 2015 - hpj@urpla.net
|
||
|
||
- Update to version 1.0
|
||
to many changes to list here, check:
|
||
https://pypi.python.org/pypi/colander/1.0
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Aug 5 16:32:46 UTC 2013 - hpj@urpla.net
|
||
|
||
- Version 1.0a5: initial build
|
||
|