Garden changelog.
This commit is contained in:
16
CHANGES.rst
16
CHANGES.rst
@@ -9,27 +9,31 @@ Platform
|
|||||||
Features
|
Features
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
|
||||||
- Add ``min_err`` and ``max_err`` arguments to ``Length``, thus allowing
|
- Add ``min_err`` and ``max_err`` arguments to ``Length``, allowing
|
||||||
customization of its error messages.
|
customization of its error messages.
|
||||||
|
|
||||||
- Add `Any` validator which succeeds if at least one of its subvalidators
|
- Add ``colander.Any`` validator: succeeds if at least one of its
|
||||||
succeeded.
|
subvalidators succeeded.
|
||||||
|
|
||||||
- Allow localization of error messages returned by ``colander.Invalid.asdict``
|
- Allow localization of error messages returned by ``colander.Invalid.asdict``
|
||||||
by adding an optional ``translate`` callable argument.
|
by adding an optional ``translate`` callable argument.
|
||||||
|
|
||||||
- Add a ``missing_msg`` argument to ``SchemaNode`` that specifies the error
|
- Add a ``missing_msg`` argument to ``SchemaNode``, allowing customization
|
||||||
message to be used when the node is required and missing
|
of the error message used when the node is required and missing.
|
||||||
|
|
||||||
Bug Fixes
|
Bug Fixes
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
- Update translations: ``de``, ``ja``, ``fr``.
|
||||||
|
|
||||||
- Fix an issue where the ``flatten()`` method produces an invalid name
|
- Fix an issue where the ``flatten()`` method produces an invalid name
|
||||||
(ex: "answer.0.") for the type "Sequence". See
|
(ex: "answer.0.") for the type ``Sequence``. See
|
||||||
https://github.com/Pylons/colander/issues/179
|
https://github.com/Pylons/colander/issues/179
|
||||||
|
|
||||||
- Fixed issue with ``String`` not being properly encoded when non-string
|
- Fixed issue with ``String`` not being properly encoded when non-string
|
||||||
values were passed into ``serialize()``
|
values were passed into ``serialize()``
|
||||||
See `#235 <https://github.com/Pylons/colander/pull/235>`_
|
See `#235 <https://github.com/Pylons/colander/pull/235>`_
|
||||||
|
|
||||||
- ``title`` was being overwritten when made a child through defining a schema
|
- ``title`` was being overwritten when made a child through defining a schema
|
||||||
as a class. See `#239 <https://github.com/Pylons/colander/pull/239>`_
|
as a class. See `#239 <https://github.com/Pylons/colander/pull/239>`_
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user