Changelog History
Page 1
-
v1.8.3 Changes
November 28, 2020➕ 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 ofnode.children
after binding.
-
v1.8.2 Changes
August 07, 2020- Fix the broken wheels in 1.8.1 and 1.8.0 to include the locale data. sigh
-
v1.8.1 Changes
August 06, 2020- 🛠 Fix the broken wheels in 1.8.0 to include the locale data.
-
v1.8.0 Changes
August 05, 2020⬇️ Drop support for Python 3.4.
➕ Add support for Python 3.7 and 3.8.
🛠 Fix deserializer on
Date
andDateTime
fields to correctly catchValueError
andTypeError
exception, which can arise when using custom formats on the field. Instead of allowing these exceptions to propagate, replace then with anInvalid
exception instead. See https://github.com/Pylons/colander/pull/338
-
v1.7.0 Changes
February 01, 2019- ⚡️ 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 validatefile://
URI's should change their validator to usecolander.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
-
v1.6.0 Changes
January 31, 2019👌 Support custom format strings on
DateTime
andDate
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) intotox.ini
. See https://github.com/Pylons/colander/pull/320
-
v1.5.1 Changes
September 10, 2018- 👌 Support deserializing
colander.drop
andcolander.required
. See https://github.com/Pylons/colander/pull/304
- 👌 Support deserializing
-
v1.5.0 Changes
September 07, 2018⬇️ 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,[email protected]' 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
andel
locales. See https://github.com/Pylons/colander/pull/284 and https://github.com/Pylons/colander/pull/314
-
v1.4.0 Changes
July 31, 2017- ✂ Remove the
colander.iso8601
backward-compatibility module, broken by recent updates to the actualiso8601
package which backed it. Downstream libraries can just mechanically adjust imports to useiso8601.iso8601
instead ofcolander.iso8601
. See https://github.com/Pylons/colander/pull/296
- ✂ Remove the
-
v1.3.3 Changes
April 25, 2017➕ Add "zh_Hant", traditional chinese translations, and rename simplified chinese from "zh" to "zh_Hans". See https://github.com/Pylons/colander/pull/285
👌 Improve serialization of class objects using
colander.GlobalObject
. See https://github.com/Pylons/colander/pull/288