Serde

Latest version: v0.9.0

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

Scan your dependencies

Page 3 of 4

0.5.0

-----

*Released on January 29th, 2019*

- Support conversion between CBOR. (`40`_, `74`_)
- Remove fields and validators that were moved to `serde-ext`_ package. (`66`_,
`71`_)
- Container fields now properly call inner ``Field`` methods. (`70`_)
- Add ``equal()`` and ``length()`` validators. (`67`_, `69`_)
- Add ``basestring`` and ``unicode`` to built-in ``Field`` map. (`68`_)

.. _serde-ext: https://github.com/rossmacarthur/serde-ext

.. _74: https://github.com/rossmacarthur/serde/pull/74
.. _71: https://github.com/rossmacarthur/serde/pull/71
.. _70: https://github.com/rossmacarthur/serde/pull/70
.. _69: https://github.com/rossmacarthur/serde/pull/69
.. _68: https://github.com/rossmacarthur/serde/pull/68

.. _67: https://github.com/rossmacarthur/serde/issues/67
.. _66: https://github.com/rossmacarthur/serde/issues/66
.. _40: https://github.com/rossmacarthur/serde/issues/40

0.4.1

-----

*Released on January 23rd, 2019*

- Fix a bug where ``Optional`` didn't call the inner ``Field.normalize()``.
(`65`_)
- Use 'simplejson' package if available. (`60`_, `63`_)
- Fix a bug where ``Choice`` field didn't call ``super().validate()``.
(`62`_)

.. _65: https://github.com/rossmacarthur/serde/pull/65
.. _63: https://github.com/rossmacarthur/serde/pull/63
.. _62: https://github.com/rossmacarthur/serde/pull/62

.. _60: https://github.com/rossmacarthur/serde/issues/60

0.4.0

-----

*Released on January 6th, 2019*

- Fix a bug where dependencies were not pinned correctly. (`54`_)
- Pluralise module names. (`52`_)
- Add ``Optional`` field. (`51`_, `48`_, `49`_)

.. _54: https://github.com/rossmacarthur/serde/pull/54
.. _52: https://github.com/rossmacarthur/serde/pull/52
.. _51: https://github.com/rossmacarthur/serde/pull/51

.. _49: https://github.com/rossmacarthur/serde/issues/49
.. _48: https://github.com/rossmacarthur/serde/issues/48

0.3.2

-----

*Released on December 19th, 2018*

- Fix a bug where overriding ``Model.__init__()`` method affected
``Model.from_dict``. (`45`_, `46`_)

.. _46: https://github.com/rossmacarthur/serde/pull/46

.. _45: https://github.com/rossmacarthur/serde/issues/45

0.3.1

-----

*Released on December 17th, 2018*

- Fix a bug with the ``Model.__repr__()`` method. (`44`_)
- Make ``Bytes`` an alias of ``Str`` in Python 2.7. (`43`_)
- Fix not being able to create attributes, methods, and functions with the same
name as fields on a ``Model``. (`41`_, `42`_)

.. _44: https://github.com/rossmacarthur/serde/pull/44
.. _43: https://github.com/rossmacarthur/serde/pull/43
.. _42: https://github.com/rossmacarthur/serde/pull/42

.. _41: https://github.com/rossmacarthur/serde/issues/41

0.3.0

-----

*Released on December 9th, 2018*

- Support Python 2.7. (`35`_)
- Add ``BaseString`` and ``Unicode`` fields. (`35`_)
- Remove extra validation options from built-in type Fields. (`34`_)
- Add ``min()`` and ``max()`` validation functions. (`34`_)
- Add ``inclusive`` option to ``between()`` validator. (`34`_)
- Add ``args`` option to the ``field.create()`` method. (`34`_)
- Generate built-in types using the ``field.create()`` method. (`34`_)
- Add ``Complex`` and ``Bytes`` fields. (`34`_)
- Do not clutter root namespace with fields. (`34`_)

.. _35: https://github.com/rossmacarthur/serde/pull/35
.. _34: https://github.com/rossmacarthur/serde/pull/34

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.