Add validate.And (1768). Thanks rugleb for the suggestion.
Add type annotations to marshmallow.decorators (1788, 1789). Thanks michaeldimchuk for the PR.
Let Fields be accessed by name as Schema attributes (1631).
Other changes:
Improve types in marshmallow.validate (1786).
Make marshmallow.validate.Validator an abstract base class (1786).
Remove unnecessary list cast (1785).
3.11.1 (2021-03-29)
Bug fixes:
Fix treatment of dotted keys when unknown=INCLUDE (1506). Thanks rbu for reporting and thanks sirosen for the fix (1745).
3.11.0 (2021-03-28)
Features:
Add fields.IPInterface, fields.IPv4Interface, and IPv6Interface (1733). Thanks madeinoz67 for the suggestion and the PR.
Raise AttributeError for missing methods when using fields.Method (1675). Thanks lassandroan.
Other changes:
Remove unnecessary hasattr and getattr checks in Field (1770).
3.10.0 (2020-12-19)
Deprecations:
Passing field metadata via keyword arguments is deprecated and will be removed in marshmallow 4 (1350). Use the explicit metadata=... argument instead. Thanks sirosen.
3.9.1 (2020-11-07)
Bug fixes:
Cast to mapping type in Mapping.serialize and Mapping.deserialize (1685).
Fix bug letting Dict pass invalid dict on deserialization when no key or value Field is specified (1685).
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 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)
- `@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)
- 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)
Bumps marshmallow from 3.5.0 to 3.12.0.
Changelog
Sourced from marshmallow's changelog.
... (truncated)
Commits
ecf6930
Bump version and update changelog721976d
Type hinted all the decorators in marshmallow/decorators.py (#1789)4041fb4
Fix markup of code literals in changelog (#1804)199e185
Upgrade to GitHub-native Dependabot (#1800)97f8375
Fix Url and Email fields docstrings8c34b4b
Add validate.And (#1777)1be1b0c
Bump sphinx from 3.4.3 to 3.5.4681f1a1
Bump autodocsumm from 0.2.2 to 0.2.34acbfba
Bump flake8 from 3.9.0 to 3.9.1670ae33
Merge pull request #1631 from marshmallow-code/rework_get_fieldsDependabot 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 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) - `@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) - 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)