Webargs

Latest version: v8.6.0

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

Scan your dependencies

Page 3 of 18

6.1.1

******************

Bug fixes:

* Failure to validate flask headers would produce error data which contained
tuples as keys, and was therefore not JSON-serializable. (:issue:`500`)
These errors will now extract the headername as the key correctly.
Thanks to :user:`shughes-uk` for reporting.

6.1.0

******************

Features:

* Add ``fields.DelimitedTuple`` when using marshmallow 3. This behaves as a
combination of ``fields.DelimitedList`` and ``marshmallow.fields.Tuple``. It
takes an iterable of fields, plus a delimiter (defaults to ``,``), and parses
delimiter-separated strings into tuples. (:pr:`509`)

* Add ``__str__`` and ``__repr__`` to MultiDictProxy to make it easier to work
with (:pr:`488`)

Support:

* Various docs updates (:pr:`482`, :pr:`486`, :pr:`489`, :pr:`498`, :pr:`508`).
Thanks :user:`lefterisjp`, :user:`timgates42`, and :user:`ugultopu` for the PRs.

6.0.0

******************

Features:

* ``FalconParser``: Pass request content length to ``req.stream.read`` to
provide compatibility with ``falcon.testing`` (:pr:`477`).
Thanks :user:`suola` for the PR.

* *Backwards-incompatible*: Factorize the ``use_args`` / ``use_kwargs`` branch
in all parsers. When ``as_kwargs`` is ``False``, arguments are now
consistently appended to the arguments list by the ``use_args`` decorator.
Before this change, the ``PyramidParser`` would prepend the argument list on
each call to ``use_args``. Pyramid view functions must reverse the order of
their arguments. (:pr:`478`)

6.0.0b8

********************

Refactoring:

* *Backwards-incompatible*: Use keyword-only arguments (:pr:`472`).

6.0.0b7

********************

Features:

* *Backwards-incompatible*: webargs will rewrite the error messages in
ValidationErrors to be namespaced under the location which raised the error.
The `messages` field on errors will therefore be one layer deeper with a
single top-level key.

6.0.0b6

********************

Refactoring:

* Remove the cache attached to webargs parsers. Due to changes between webargs
v5 and v6, the cache is no longer considered useful.

Other changes:

* Import ``Mapping`` from ``collections.abc`` in pyramidparser.py (:pr:`471`).
Thanks :user:`tirkarthi` for the PR.

Page 3 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.