Skip to content

Bump webargs from 4.1.2 to 4.2.0 #311

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

Changelog

Sourced from webargs's changelog.

4.2.0 (2018-12-27)


Features:

  • Add force_all argument to use_args and use_kwargs
    (:issue:252, :issue:307). Thanks :user:piroux for reporting.
  • The status_code and headers arguments to ValidationError
    are deprecated. Pass error_status_code and error_headers to
    Parser.parse, Parser.use_args, and Parser.use_kwargs instead.
    (:issue:327, :issue:336).
  • Custom error handlers receive error_status_code and error_headers arguments.
    (:issue:327).

.. code-block:: python

# <4.2.0
[**parser**](https://github.com/parser).error_handler
def handle_error(error, req, schema):
    raise CustomError(error.messages)


class MyParser(FlaskParser):
    def handle_error(self, error, req, schema):
        # ...
        raise CustomError(error.messages)


# >=4.2.0
[**parser**](https://github.com/parser).error_handler
def handle_error(error, req, schema, status_code, headers):
    raise CustomError(error.messages)


# OR


[**parser**](https://github.com/parser).error_handler
def handle_error(error, **kwargs):
    raise CustomError(error.messages)


class MyParser(FlaskParser):
    def handle_error(self, error, req, schema, status_code, headers):
        # ...
        raise CustomError(error.messages)

    # OR

    def handle_error(self, error, req, **kwargs):
... (truncated)
Commits
  • b5404fb Bump version and update changelog
  • fef17ba Merge pull request #345 from marshmallow-code/docs
  • e92271a Update repo links to marshmallow-code/webargs; add COC
  • 244b837 Change sphinx theme to sphinx-typlog-theme
  • bb7e131 Merge pull request #338 from sloria/deprecate-status-code
  • da2d2fb Bump sphinx-issues from 1.1.0 to 1.2.0
  • f70882d Bump sphinx from 1.8.2 to 1.8.3
  • 32e8d7e Remove documentation for status_code; fix examples
  • 18b3573 Fix pyramid parsing; respect error_headers argument
  • cdac38e Deprecate status and headers params of ValidationErrors
  • 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 Dec 28, 2018
@dependabot-preview
Copy link
Contributor Author

Superseded by #312.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/webargs-4.2.0 branch December 31, 2018 09:13
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