Changelog
*Sourced from [webargs's changelog](https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst).*
> 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`](https://github.com/marshmallow-code/webargs/commit/f12c0b8f66c0a86cc15e90b322162e15450cc952) Bump version and update changelog
- [`5dca902`](https://github.com/marshmallow-code/webargs/commit/5dca902ccb91889626a0396fd8e8a391448db0de) Merge pull request [#356](https://github-redirect.dependabot.com/marshmallow-code/webargs/issues/356) from marshmallow-code/fix-flask-compat
- [`aab5c06`](https://github.com/marshmallow-code/webargs/commit/aab5c061e2877050d53bf2998acf40744329e527) Fix Flask<1.0 compatibility
- [`c7ac24e`](https://github.com/marshmallow-code/webargs/commit/c7ac24efbd8559c99caf749f2b66c6477d0a31d7) Merge pull request [#354](https://github-redirect.dependabot.com/marshmallow-code/webargs/issues/354) from marshmallow-code/warnings
- [`630d50f`](https://github.com/marshmallow-code/webargs/commit/630d50fa384d79c3dd8b10acea5a1987d227b3ba) Address warning on Python 3.7 about importing from collections.abc
- [`ab6e21a`](https://github.com/marshmallow-code/webargs/commit/ab6e21af5ac572bf0d45e5f3ae91a2ffeb1691a0) Show example of file upload and marshmallow 3 data_key usage
- [`af6cb39`](https://github.com/marshmallow-code/webargs/commit/af6cb39ba13aa985bc29c6a207dad0573a923a1b) Remove outdated warning about aiohttp<2 support
- [`e4b118d`](https://github.com/marshmallow-code/webargs/commit/e4b118dae2637024ad15229d6050333499fb7821) Add type annotations to AsyncParser and AIOHTTPParser
- [`fd5ceb9`](https://github.com/marshmallow-code/webargs/commit/fd5ceb9675fb721341cc765fbc7f00f068a101cd) Allow error handler to be a coroutine
- [`011be9f`](https://github.com/marshmallow-code/webargs/commit/011be9fd831be110a931f175fdf77734897c4b2b) Remove workaround for ad blockers
- Additional commits viewable in [compare view](https://github.com/marshmallow-code/webargs/compare/4.1.2...5.1.0)
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](https://app.dependabot.com):
- 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.
Bumps webargs from 4.1.2 to 5.1.0.
Changelog
*Sourced from [webargs's changelog](https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst).* > 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`](https://github.com/marshmallow-code/webargs/commit/f12c0b8f66c0a86cc15e90b322162e15450cc952) Bump version and update changelog - [`5dca902`](https://github.com/marshmallow-code/webargs/commit/5dca902ccb91889626a0396fd8e8a391448db0de) Merge pull request [#356](https://github-redirect.dependabot.com/marshmallow-code/webargs/issues/356) from marshmallow-code/fix-flask-compat - [`aab5c06`](https://github.com/marshmallow-code/webargs/commit/aab5c061e2877050d53bf2998acf40744329e527) Fix Flask<1.0 compatibility - [`c7ac24e`](https://github.com/marshmallow-code/webargs/commit/c7ac24efbd8559c99caf749f2b66c6477d0a31d7) Merge pull request [#354](https://github-redirect.dependabot.com/marshmallow-code/webargs/issues/354) from marshmallow-code/warnings - [`630d50f`](https://github.com/marshmallow-code/webargs/commit/630d50fa384d79c3dd8b10acea5a1987d227b3ba) Address warning on Python 3.7 about importing from collections.abc - [`ab6e21a`](https://github.com/marshmallow-code/webargs/commit/ab6e21af5ac572bf0d45e5f3ae91a2ffeb1691a0) Show example of file upload and marshmallow 3 data_key usage - [`af6cb39`](https://github.com/marshmallow-code/webargs/commit/af6cb39ba13aa985bc29c6a207dad0573a923a1b) Remove outdated warning about aiohttp<2 support - [`e4b118d`](https://github.com/marshmallow-code/webargs/commit/e4b118dae2637024ad15229d6050333499fb7821) Add type annotations to AsyncParser and AIOHTTPParser - [`fd5ceb9`](https://github.com/marshmallow-code/webargs/commit/fd5ceb9675fb721341cc765fbc7f00f068a101cd) Allow error handler to be a coroutine - [`011be9f`](https://github.com/marshmallow-code/webargs/commit/011be9fd831be110a931f175fdf77734897c4b2b) Remove workaround for ad blockers - Additional commits viewable in [compare view](https://github.com/marshmallow-code/webargs/compare/4.1.2...5.1.0)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](https://app.dependabot.com): - 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.