marshmallow-code / flask-smorest

DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
https://flask-smorest.readthedocs.io
MIT License
639 stars 72 forks source link

Bump webargs from 8.3.0 to 8.4.0 #594

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 7 months ago

Bumps webargs from 8.3.0 to 8.4.0.

Changelog

Sourced from webargs's changelog.

8.4.0 (2024-01-07)


Features:

  • Add a new class attribute, empty_value to DelimitedList and DelimitedTuple, with a default of "". This controls the value deserialized when an empty string is seen.

empty_value can be used to handle types other than strings more gracefully, e.g.

.. code-block:: python

from webargs import fields

class IntList(fields.DelimitedList): empty_value = 0

myfield = IntList(fields.Int())

.. note::

``empty_value`` will be changing in webargs v9.0 to be ``missing`` by
default. This will allow use of fields with ``load_default`` to specify
handling of the empty value.
  • The rule for default argument names has been made configurable by overriding the get_default_arg_name method. This is described in the argument passing documentation.

Other changes:

  • Drop support for Python 3.7, which is EOL.
  • Type annotations for FlaskParser have been improved.
Commits
  • 920eb94 Bump version, update changelog, and update LICENSE
  • d80faff Fix name of GHA workflow
  • 32a4cd4 Fix typing of handle_error
  • 83ad0a8 Docs updates re: dropping 3.7
  • 3a954d3 Update .pre-commit-config.yaml
  • 9923f3a Update GHA and tox config for consistency with other marshmallow repos
  • e9316db Bump flake8 from 6.1.0 to 7.0.0
  • 3ad15a0 Merge pull request #905 from marshmallow-code/dependabot/github_actions/actio...
  • 2480108 Bump actions/setup-python from 4 to 5
  • ea1d9d6 [pre-commit.ci] pre-commit autoupdate (#898)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1b66f53) 99.88% compared to head (8bee155) 99.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #594 +/- ## ======================================= Coverage 99.88% 99.88% ======================================= Files 14 14 Lines 885 885 Branches 192 192 ======================================= Hits 884 884 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.