Revisions of python-marshmallow
Dirk Mueller (dirkmueller)
accepted
request 1007017
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 33)
- Update to 3.18.0 (2022-09-15)¶ Features: Add Enum field (#2017) and (#2044). Bug fixes: Fix typing in Field._serialize signature (#2046). - Update to 3.17.1 (2022-08-22) Bug fixes: Add return type to fields.Email.__init__ (#2018). Thanks @kkirsche for the PR. Add missing type hint to IPInterface __init__ (#2036). - Update to 3.17.0 (2022-06-26) Features: Support serialization as float in TimeDelta field (#1998). Thanks @marcosatti for the PR. Add messages_dict property to ValidationError to facilitate type checking (#1976). Thanks @sirosen for the PR. - Update to 3.16.0 (2022-05-29) Features: Raise ValueError if an invalid value is passed to the unknown argument (#1721, #1732). Thanks @sirosen for the PR. Other changes: Set lower bound for packaging requirement (#1957). Thanks @MatthewNicolTR for reporting and thanks @sirosen for the PR. Improve warning messages by passing stacklevel (#1986). Thanks @tirkarthi for the PR. - Update to 3.15.0 (2022-03-12) Features: Allow passing a dict to fields.Nested (#1935). Thanks @sirosen for the PR. Other changes: distutils deprecation warning in Python 3.10 (#1903). Thanks @kkirsche for the PR. Add py310 to black target-version (#1921). Drop support for Python 3.6 (#1923).
buildservice-autocommit
accepted
request 979709
from
Dirk Mueller (dirkmueller)
(revision 32)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 979706
from
Torsten Gruner (Simmphonie)
(revision 31)
- Update to 3.14.1 (2021-11-13) * Fix publishing type hints per PEP-561 (#1905). Thanks @bwindsor for the catch and patch. - Release 3.14.0 (2021-10-17) * Fix fields.TimeDelta serialization precision (#1865). Thanks @yarsanich for reporting. * Fix type-hints for `data` arg in `Schema.validate` to accept list of dictionaries (#1790, #1868). Thanks @yourun-proger for PR. * Improve warning when passing metadata as keyword arguments (#1882). Thanks @traherom for the PR. * Don’t build universal wheels. We don’t support Python 2 anymore. (#1860) Thanks @YKdvd for reporting. * Make the build reproducible (#1862). * Drop support for Python 3.5 (#1863). * Test against Python 3.10 (#1888). - Release 3.13.0 (2021-07-21) * Replace missing/default field parameters with load_default/dump_default (#1742). Thanks @sirosen for the PR. * The use of missing/default field parameters is deprecated and will be removed * in marshmallow 4. load_default/dump_default should be used instead. - Release 3.12.2 (2021-07-06) * Don’t expose Fields as Schema attributes. This reverts a change introduced in 3.12.0 that causes issues when field names conflict with Schema attributes or methods. Fieldss are still accessible on a Schema instance through the fields attribute. (#1843) - Release 3.12.1 (2021-05-10) * Fix bug that raised an AttributeError when instantiating a Schema with a field named parent (#1808). Thanks @flying-sheep for reporting and helping with the fix. - Release 3.12.0 (2021-05-09) * Add validate.And (#1768). Thanks @rugleb for the suggestion. * Add type annotations to marshmallow.decorators (#1788, #1789). Thanks @michaeldimchuk for the PR. * Let Fields be accessed by name as Schema attributes (#1631). * Improve types in marshmallow.validate (#1786). * Make marshmallow.validate.Validator an abstract base class (#1786). * Remove unnecessary list cast (#1785).
buildservice-autocommit
accepted
request 888006
from
Markéta Machová (mcalabkova)
(revision 30)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 887532
from
Benjamin Greiner (bnavigator)
(revision 29)
- Update to 3.11.1 * Fix treatment of dotted keys when unknown=INCLUDE (#1506). Thanks @rbu for reporting and thanks @sirosen for the fix (#1745). - Release 3.11.0 * Add fields.IPInterface, fields.IPv4Interface, and IPv6Interface (#1733). Thanks @madeinoz67 for the suggestion and the PR. * Raise AttributeError for missing methods when using fields. Method (#1675). Thanks @lassandroan. * Remove unnecessary hasattr and getattr checks in Field (#1770). - Release 3.10.0 * Passing field metadata via keyword arguments is deprecated and will be removed in marshmallow 4 (#1350). Use the explicit metadata=... argument instead. Thanks @sirosen. - Release 3.9.1 * Cast to mapping type in Mapping.serialize and Mapping. deserialize (#1685). * Fix bug letting Dict pass invalid dict on deserialization when no key or value Field is specified (#1685). - Release 3.9.0 * Add format argument to fields.Time and timeformat class Meta option (#686). Thanks @BennyAlex for the suggestion and thanks @infinityxxx for the PR. * Remove usage of implicit typing.Optional (#1663). Thanks @nadega for the PR. - Release 3.8.0 * Add fields.IP, fields.IPv4 and fields.IPv6 (#1485). Thanks @mgetka for the PR. * Fix typing in AwareDateTime (#1658). Thanks @adithyabsk for
buildservice-autocommit
accepted
request 828384
from
Steve Kowalik (StevenK)
(revision 28)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 27)
- Update to 3.7.1: * Deprecations: + `marshmallow.pprint` is deprecated and will be removed in marshmallow 4 (:issue:`1588`). * Features: + Add ``validators.ContainsNoneOf`` (:issue:`1528`). * Bug fixes: + Fix typing in ``class_registry`` (:pr:`1574`). Thanks :user:`mahenzon`. + Fix passing ``only`` and ``exclude`` to ``Nested`` with an ordered ``Schema`` (:pr:`1627`). + ``fields.Boolean`` correctly serializes non-hashable types (:pr:`1633`). - Refresh patch python-marshmallow-no-version-warning.patch
buildservice-autocommit
accepted
request 790511
from
Tomáš Chvátal (scarabeus_iv)
(revision 26)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 790506
from
Petr Gajdos (pgajdos)
(revision 25)
- version update to 3.5.1 - Includes bug fix from 2.21.0. - Fix list of nullable nested fields ``List(Nested(Field, allow_none=True)`` (:issue:`1497`). Because this fix reverts an optimization introduced to speed-up serialization and deserialization of lists of nested fields, a negative impact on performance in this specific case is expected. - Improve type coverage (:issue:`1479`). Thanks :user:`Reskov`. - Fix typing for ``data`` param of ``Schema.load`` and ``ValidationError`` (:issue:`1492`). Thanks :user:`mehdigmira` for reporting and thanks :user:`dfirst` for the PR. - Remove unnecessary typecasts (:pr:`1500`). Thanks :user:`hukkinj1`. - Remove useless ``_serialize`` override in ``UUID`` field (:pr:`1489`). - ``fields.Nested`` may take a callable that returns a schema instance. Use this to resolve order-of-declaration issues when schemas nest each other (:issue:`1146`). - Passing the string ``"self"`` to ``fields.Nested`` is deprecated. Use a callable instead. - Fix typing for ``Number._format_num`` (:pr:`1466`). Thanks :user:`hukkinj1`. - Make mypy stricter and remove dead code (:pr:`1467`). Thanks again, :user:`hukkinj1`.
buildservice-autocommit
accepted
request 748433
from
Tomáš Chvátal (scarabeus_iv)
(revision 24)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 748403
from
Sebastian Wagner (sebix)
(revision 23)
- Update to version 3.2.2: - Bug fixes: - Don't load fields for which ``load_only`` and ``dump_only`` are both ``True`` (:pr:`1448`). - Fix types in ``marshmallow.validate`` (:pr:`1446`). - Support: - Test against Python 3.8 (pr:`1431`).
buildservice-autocommit
accepted
request 736310
from
Tomáš Chvátal (scarabeus_iv)
(revision 22)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 736259
from
Markéta Machová (mcalabkova)
(revision 21)
- Update to 3.2.1 * Fix typing for Schema.dump[s] * Fix compatibility with Python < 3.5.3 * Fix bug that raised an uncaught error when a nested schema instance had an unpickleable object in its context * Fix propagating dot-delimited only and exclude parameters to nested schema instances * Few bug fixes
buildservice-autocommit
accepted
request 730134
from
Tomáš Chvátal (scarabeus_iv)
(revision 20)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
committed
(revision 19)
- Update to 3.0.3: * Handle when data_key is an empty string * Includes bug fix from 2.20.3 * Fix incorrect super() call in SchemaMeta.__init__
buildservice-autocommit
accepted
request 726271
from
Tomáš Chvátal (scarabeus_iv)
(revision 18)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 726193
from
Markéta Machová (mcalabkova)
(revision 17)
- Update to 3.0.1 * Many changes, some of them breaking. For example: * Remove support for Python 2 (#1120). Only Python>=3.5 is supported. * Allow input value to be included in error messages for a number of fields. * Change ordering of keys and values arguments to fields.Dict. * Please read upstream changelog. - Drop upstreamed patches reproducible.patch and pytest5.patch
buildservice-autocommit
accepted
request 720011
from
Tomáš Chvátal (scarabeus_iv)
(revision 16)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
committed
(revision 15)
- Add patch to fix building with pytest5 from upstream git: * pytest5.patch
buildservice-autocommit
accepted
request 718109
from
Tomáš Chvátal (scarabeus_iv)
(revision 14)
baserev update by copy to link target
Displaying revisions 21 - 40 of 53