Skip to content

Bump webargs from 4.1.2 to 5.0.0 #315

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.0.0.

Changelog

Sourced from webargs's changelog.

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


def auth_validator(value):
    # ...
    raise ValidationError("Authentication failed")


[**use**](https://github.com/use)_args({"auth": fields.Field(validate=auth_validator)}, error_status_code=401)
def auth_view(args):
    return jsonify(args)
  • Backwards-incompatible: Missing arguments will no longer be filled
    in when using [**use**](https://github.com/use)_kwargs (:issue:342,307,252). Use **kwargs
    to account for non-required fields.
... (truncated)
Commits
  • cca430e Bump version and update changelog
  • a28a164 Merge branch '4.x-line' into dev
  • 4fed0d2 Bump version and update changelog
  • 7f96dd6 Update description
  • 0220a10 Remove lingering usages of argmap2schema
  • c2100ec Update changelog
  • 38423b5 Merge branch '4.x-line' into dev
  • e7b4b93 Add release date
  • 9d9ff30 Bump version and update changelog
  • 34feafa Merge pull request #352 from marshmallow-code/deprecate-argmap2schema
  • 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 4, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #318.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/webargs-5.0.0 branch January 11, 2019 09:22
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