Bump django-filter from 2.2.0 to 2.4.0
Bumps django-filter from 2.2.0 to 2.4.0.
Release notes
Sourced from django-filter's releases.
Version 2.4.0
SECURITY: Added a
MaxValueValidatorto the form field forNumberFilter. This prevents a potential DoS attack if numbers with very large exponents were subsequently converted to integers.The default limit value for the validator is
1e50.The new
NumberFilter.get_max_validator()allows customising the used validator, and may returnNoneto disable the validation entirely.Added testing against Django 3.1 and Python 3.9.
In addition tests against Django main development branch are now required to pass.
Version 2.3.0
https://github.com/carltongibson/django-filter/blob/master/CHANGES.rst#version-230-2020-6-5
Changelog
Sourced from django-filter's changelog.
Version 2.4.0 (2020-9-27)
SECURITY: Added a
MaxValueValidatorto the form field forNumberFilter. This prevents a potential DoS attack if numbers with very large exponents were subsequently converted to integers.The default limit value for the validator is
1e50.The new
NumberFilter.get_max_validator()allows customising the used validator, and may returnNoneto disable the validation entirely.Added testing against Django 3.1 and Python 3.9.
In addition tests against Django main development branch are now required to pass.
Version 2.3.0 (2020-6-5)
- Fixed import of FieldDoesNotExist. (#1127)
- Added testing against Django 3.0. (#1125)
- Declared support for, and added testing against, Python 3.8. (#1138)
- Fix filterset multiple inheritance bug (#1131)
- Allowed customising default lookup expression. (#1129)
- Drop Django 2.1 and below (#1180)
- Fixed IsoDateTimeRangeFieldTests for Django 3.1
- Require tests to pass against Django
master.Version 2.2 (2019-7-16)
- Added
DjangoFilterBackend.get_schema_operation_parameters()for DRF 3.10+ OpenAPI schema generation. (#1086)- Added
lookup_exprtoMultipleChoiceFilter(#1054)- Dropped support for EOL Python 3.4
Version 2.1 (2019-1-20)
Fixed a regression in
FilterViewintroduced in 2.0. An emptyQuerySetwas incorrectly used whenever the FilterSet was unbound (i.e. when there were no GET parameters). The correct, pre-2.0 behaviour is now restored.A workaround was to set
strict=Falseon theFilterSet. This is no longer necessary, so you may restorestrictbehaviour as desired.
... (truncated)
Commits
7821072Postpone move to CalVer.fd5824eRestore version declaration in setup.py.c9daa68Version 20.9.0.c045bbeDroped using bumpversion.b1f56edUse single version reference from main module.451d372Update docs copyright year.82c9a42Added MaxValueValidator to NumberFilter.2ebce74Confirmed compatibility with Python 3.9. (#1270)85c9572Run tests with GitHub Actionsd9f389fUpdate Jinja test dependency.- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.