forked from pool/python-marshmallow
Accepting request 691765 from home:pgajdos
- version update to 2.19.1
- Fix bug where ``Nested(many=True)`` would skip first element when
serializing a generator (:issue:`1163`). Thanks :user:`khvn26` for the
catch and patch.
- A `RemovedInMarshmallow3` warning is raised when using
`fields.FormattedString`. Use `fields.Method` or `fields.Function`
instead (:issue:`1141`).
- A ``ChangedInMarshmallow3Warning`` is no longer raised when
``strict=False`` (:issue:`1108`). Thanks :user:`Aegdesil` for
reporting.
- Add warnings for functions in ``marshmallow.utils`` that are removed in
marshmallow 3.
- Copying ``missing`` with ``copy.copy`` or ``copy.deepcopy`` will not
duplicate it (:pr:`1099`).
- Add ``marshmallow.__version_info__`` (:pr:`1074`).
- Add warnings for API that is deprecated or changed to help users
prepare for marshmallow 3 (:pr:`1075`).
- Prevent memory leak when dynamically creating classes with ``type()``
(:issue:`732`). Thanks :user:`asmodehn` for writing the tests to
reproduce this issue.
- Prevent warning about importing from ``collections`` on Python 3.7
(:issue:`1027`). Thanks :user:`nkonin` for reporting and
:user:`jmargeta` for the PR.
- Remove spurious warning about implicit collection handling
(:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
- Allow username without password in basic auth part of the url in
``fields.Url`` (:pr:`982`). Thanks user:`alefnula` for the PR.
- Prevent ``TypeError`` when a non-collection is passed to a ``Schema`` with ``many=True``.
Instead, raise ``ValidationError`` with ``{'_schema': ['Invalid input type.']}`` (:issue:`906`).
- Fix ``root`` attribute for nested container fields on list
OBS-URL: https://build.opensuse.org/request/show/691765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
20e3a322be
commit
8b5db69938
@@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 09:07:04 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- version update to 2.19.1
|
||||
- Fix bug where ``Nested(many=True)`` would skip first element when
|
||||
serializing a generator (:issue:`1163`). Thanks :user:`khvn26` for the
|
||||
catch and patch.
|
||||
- A `RemovedInMarshmallow3` warning is raised when using
|
||||
`fields.FormattedString`. Use `fields.Method` or `fields.Function`
|
||||
instead (:issue:`1141`).
|
||||
- A ``ChangedInMarshmallow3Warning`` is no longer raised when
|
||||
``strict=False`` (:issue:`1108`). Thanks :user:`Aegdesil` for
|
||||
reporting.
|
||||
- Add warnings for functions in ``marshmallow.utils`` that are removed in
|
||||
marshmallow 3.
|
||||
- Copying ``missing`` with ``copy.copy`` or ``copy.deepcopy`` will not
|
||||
duplicate it (:pr:`1099`).
|
||||
- Add ``marshmallow.__version_info__`` (:pr:`1074`).
|
||||
- Add warnings for API that is deprecated or changed to help users
|
||||
prepare for marshmallow 3 (:pr:`1075`).
|
||||
- Prevent memory leak when dynamically creating classes with ``type()``
|
||||
(:issue:`732`). Thanks :user:`asmodehn` for writing the tests to
|
||||
reproduce this issue.
|
||||
- Prevent warning about importing from ``collections`` on Python 3.7
|
||||
(:issue:`1027`). Thanks :user:`nkonin` for reporting and
|
||||
:user:`jmargeta` for the PR.
|
||||
- Remove spurious warning about implicit collection handling
|
||||
(:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
|
||||
- Allow username without password in basic auth part of the url in
|
||||
``fields.Url`` (:pr:`982`). Thanks user:`alefnula` for the PR.
|
||||
- Prevent ``TypeError`` when a non-collection is passed to a ``Schema`` with ``many=True``.
|
||||
Instead, raise ``ValidationError`` with ``{'_schema': ['Invalid input type.']}`` (:issue:`906`).
|
||||
- Fix ``root`` attribute for nested container fields on list
|
||||
on inheriting schemas (:issue:`956`). Thanks :user:`bmcbu`
|
||||
for reporting.
|
||||
- Handle empty SQLAlchemy lazy lists gracefully when dumping (:issue:`948`).
|
||||
Thanks :user:`vke-code` for the catch and :user:`YuriHeupa` for the patch.
|
||||
- Respect ``load_from`` when reporting errors for ``@validates('field_name')``
|
||||
(:issue:`748`). Thanks :user:`m-novikov` for the catch and patch.
|
||||
- Fix passing ``only`` as a string to ``nested`` when the passed field
|
||||
defines ``dump_to`` (:issue:`800`, :issue:`822`). Thanks
|
||||
:user:`deckar01` for the catch and patch.
|
||||
- Fix a race condition in validation when concurrent threads use the
|
||||
same ``Schema`` instance (:issue:`783`). Thanks :user:`yupeng0921` and
|
||||
:user:`lafrech` for the fix.
|
||||
- Fix serialization behavior of
|
||||
``fields.List(fields.Integer(as_string=True))`` (:issue:`788`). Thanks
|
||||
:user:`cactus` for reporting and :user:`lafrech` for the fix.
|
||||
- Fix behavior of ``exclude`` parameter when passed from parent to
|
||||
nested schemas (:issue:`728`). Thanks :user:`timc13` for reporting and
|
||||
:user:`deckar01` for the fix.
|
||||
- :cve:`CVE-2018-17175`: Fix behavior when an empty list is passed as the ``only`` argument
|
||||
(:issue:`772`). Thanks :user:`deckar01` for reporting and thanks
|
||||
:user:`lafrech` for the fix.
|
||||
- Handle ``UnicodeDecodeError`` when deserializing ``bytes`` with a
|
||||
``String`` field (:issue:`650`). Thanks :user:`dan-blanchard` for the
|
||||
suggestion and thanks :user:`4lissonsilveira` for the PR.
|
||||
- Add ``require_tld`` parameter to ``validate.URL`` (:issue:`664`).
|
||||
Thanks :user:`sduthil` for the suggestion and the PR.
|
||||
- added patches
|
||||
+ python-marshmallow-no-version-warning.patch
|
||||
- deleted patches
|
||||
+ patch-remove-unsupported-theme-option.patch (upstreamed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 00:15:31 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user