Colander

Latest version: v2.0

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

Scan your dependencies

Page 5 of 8

0.9.8

Not secure
==================

- False evaluating values are now serialized to colander.null for
String, Date, and Time. This resolves the issue where a None value
would be rendered as 'None' for String, and missing='None' was not
possible for Date, Datetime, and Time.
See https://github.com/Pylons/colander/pull/1 .

- Updated Brazilian Portugese translations.

- Updated Japanese translations.

- Updated Russian translations.

- Fix documentation: 0.9.3 allowed explicitly passing None to DateTime
to have no default timezone applied.

- Add ``dev`` and ``docs`` setup.py aliases (e.g. ``python setup.py dev``).

0.9.7

Not secure
==================

- Using ``schema.flatten(...)`` against a mapping schema node without a name
produced incorrectly dot-prefixed keys. See
https://github.com/Pylons/colander/issues/37

- Fix invalid.asdict for multiple error messages. See
https://github.com/Pylons/colander/pull/22 ,
https://github.com/Pylons/colander/pull/27 ,
https://github.com/Pylons/colander/pull/12 , and
https://github.com/Pylons/colander/issues/2 .

- Invalid.messages() now returns an empty list if there are no messages.
See https://github.com/Pylons/colander/pull/21 .

- ``name`` passed to a SchemaNode constructor was not respected in
declaratively constructed schemas. Now if you pass ``name`` to the
SchemaNode constructor within the body of a schema class, it will take
precedence over the name it's been assigned to in the schema class.
See https://github.com/Pylons/colander/issues/39 .

- Japanese translation thanks to OCHIAI, Gouji.

- Replaced incorrect ``%{err}`` with correct ``${err}`` in String.deserialize
error message. See https://github.com/Pylons/colander/pull/41

0.9.6

Not secure
==================

- No longer runs on Python 2.4 or 2.5. Python 2.6+ is now required.

- Python 3.2 compatibility.

- Removed a dependency on the iso8601 package (code from the package is now
inlined in Colander itself).

- Added copyright and licensing information for iso8601-derived code to
LICENSE.txt.

0.9.5

Not secure
==================

- Added Czech translation.

- Compile pt_BR translation (it was previously uncompiled).

- Minor docs fixes.

- Documentation added about flatten and unflatten.

0.9.4

Not secure
==================

- ``flatten`` now only includes leaf nodes in the flattened dict.

- ``flatten`` does not include a path element for the name of the type node
for sequences.

- ``unflatten`` is implemented.

- Added ``__setitem__`` to ``SchemaNode``, allowing replacement of nodes by
name.

- Added ``get_value`` and ``set_value`` methods to ``Schema`` which allow
access and mutation of appstructs using dotted name paths.

- Add Swedish, French, Chinese translations.

0.9.3

Not secure
==================

- Add ``Time`` type.

- Add Dutch translation.

- Fix documentation: 0.9.2 requires ``deserialize`` of types to explicitly
deal with the potential to receive ``colander.null``.

- Use ``default_tzinfo`` when deserializing naive datetimes. See
https://github.com/Pylons/colander/pull/5

- Allow ``default_tzinfo`` to be ``None`` when creating a
``colander.DateTime``. See
https://github.com/Pylons/colander/pull/6

- Add the ability to insert a ``colander.interfaces.Preparer`` between
deserialization and validation. See the Preparing section in the
documentation.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.