Skip to content

Bump webargs from 4.1.2 to 5.1.0 #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps webargs from 4.1.2 to 5.1.0.

Changelog

Sourced from webargs's changelog.

5.1.0 (2019-01-11)


Features:

  • Error handlers for AsyncParser classes may be coroutine functions.
  • Add type annotations to AsyncParser and AIOHTTPParser.

Bug fixes:

  • Fix compatibility with Flask<1.0 (:issue:355).
    Thanks :user:hoatle for reporting.
  • Address warning on Python 3.7 about importing from collections.abc.

5.0.0 (2019-01-03)


Features:

  • Backwards-incompatible: A 400 HTTPError is raised when an
    invalid JSON payload is passed. (:issue:329).
    Thanks :user:zedrdave for reporting.

Other changes:

  • Backwards-incompatible: webargs.argmap2schema is removed. Use
    webargs.dict2schema instead.
  • Backwards-incompatible: webargs.ValidationError is removed.
    Use marshmallow.ValidationError instead.

.. code-block:: python

# <5.0.0
from webargs import ValidationError


def auth_validator(value):
    # ...
    raise ValidationError("Authentication failed", status_code=401)


[**use**](https://github.com/use)_args({"auth": fields.Field(validate=auth_validator)})
def auth_view(args):
    return jsonify(args)


# >=5.0.0
from marshmallow import ValidationError
... (truncated)
Commits
  • f12c0b8 Bump version and update changelog
  • 5dca902 Merge pull request #356 from marshmallow-code/fix-flask-compat
  • aab5c06 Fix Flask<1.0 compatibility
  • c7ac24e Merge pull request #354 from marshmallow-code/warnings
  • 630d50f Address warning on Python 3.7 about importing from collections.abc
  • ab6e21a Show example of file upload and marshmallow 3 data_key usage
  • af6cb39 Remove outdated warning about aiohttp<2 support
  • e4b118d Add type annotations to AsyncParser and AIOHTTPParser
  • fd5ceb9 Allow error handler to be a coroutine
  • 011be9f Remove workaround for ad blockers
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added dependencies python Pull requests that update Python code labels Jan 11, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #331.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/webargs-5.1.0 branch January 28, 2019 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant