Bump django-filter from 23.5 to 24.2
Bumps django-filter from 23.5 to 24.2.
Changelog
Sourced from django-filter's changelog.
Version 24.2 (2024-03-27)
Fixed a regression in v23.4 where callable choices were incorrectly evaluated at filter instantiation, on Django versions prior to 5.0.
Thanks to Craig de Stigter for the report and reproduce.
Version 24.1 (2024-03-08)
Updated supported Python and Django versions, and resolved upcoming Django deprecations.
Required versions are now at least Python 3.8 and Django 4.2.
Thanks to Michael Manganiello.
Allowed passing a FilterSet class to the filterset_factory().
Thanks to Birger Schacht.
Set empty default value of filterset data to MultiValueDict.
Thanks to Shlomo Gordon.
Preserve list values passed to the data dict in CSV widgets.
Thanks to Bryan Brancotte.
Updates French and Ukrainian localisations.
Thanks to Weblate.
Commits
920a79fBumped version and changes for 24.2 release.0311653Fixed setting callable choices on Django <5.0. (#1648)89c65d4Adjusted sample code in docs. (#1651)690a906Replace codecov with python-coverage-comment-action (#1649)6e2a698Bump the github-actions group with 3 updates (#1646)f5d4b67Keep GitHub Actions up to date with GitHub's Dependabot (#1645)6da0ccdBumped version and changes for 24.1 release.3ece0edAllowed passing a FilterSet class to the filterset_factory(). (#1644)a5f3f1aFixed trailing whitespace in test file.296cabeSet default value of filterset data to MultiValueDict (#1634)- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@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)
Hi there :wave:, @dryrunsecurity here, below is a summary of our analysis and findings.
| DryRun Security | Status | Findings |
|---|---|---|
| Server-Side Request Forgery Analyzer | :white_check_mark: | 0 findings |
| Configured Codepaths Analyzer | :white_check_mark: | 0 findings |
| IDOR Analyzer | :white_check_mark: | 0 findings |
| Sensitive Files Analyzer | :grey_exclamation: | 1 finding |
| SQL Injection Analyzer | :white_check_mark: | 0 findings |
| Authn/Authz Analyzer | :white_check_mark: | 0 findings |
| Secrets Analyzer | :white_check_mark: | 0 findings |
[!Note] :green_circle: Risk threshold not exceeded.
Change Summary (click to expand)
The following is a summary of changes in this pull request made by me, your security buddy :robot:. Note that this summary is auto-generated and not meant to be a definitive list of security issues but rather a helpful summary from a security perspective.
Summary:
The provided code change is an update to the
requirements.txtfile for the DefectDojo application. The key change is the update of thedjango-filterlibrary from version 23.5 to 24.2. This is a positive security enhancement, as older versions of thedjango-filterlibrary have had reported security vulnerabilities, such as CRLF injection (CVE-2022-24713) and Denial of Service (CVE-2022-24714) vulnerabilities. Updating to the latest version ofdjango-filterhelps ensure the application is using the most up-to-date and secure version of the library.Additionally, the
requirements.txtfile contains a large number of dependencies, which is common for a complex web application like DefectDojo. It's important to ensure that all of these dependencies are kept up-to-date and that any known security vulnerabilities are addressed in a timely manner. Regular dependency scanning and updating can help mitigate the risk of introducing security vulnerabilities through outdated libraries.Files Changed:
requirements.txt: The key change in this file is the update of thedjango-filterlibrary from version 23.5 to 24.2. This update helps address known security vulnerabilities in older versions of the library and is a positive security enhancement for the DefectDojo application.
Powered by DryRun Security
Looks like they only support Django >= 4.2 now, so this will have to wait on #9493
#12 17.22 ERROR: Cannot install -r ./requirements.txt (line 10), -r ./requirements.txt (line 12), -r ./requirements.txt (line 8), -r ./requirements.txt (line 9) and Django==4.1.13 because these package versions have conflicting dependencies.
#12 17.22
#12 17.22 The conflict is caused by:
#12 17.22 The user requested Django==4.1.13
#12 17.22 django-celery-results 2.5.1 depends on Django>=3.2.18
#12 17.22 django-auditlog 2.3.0 depends on Django>=3.2
#12 17.22 django-dbbackup 4.1.0 depends on django>=2.2
#12 17.22 django-filter 24.2 depends on Django>=4.2
This pull request has conflicts, please resolve those before we can evaluate the pull request.
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
@dependabot recreate
Conflicts have been resolved. A maintainer will review the pull request shortly.
@dependabot rebase