Skip to content
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

fix: bump django from 4.2.17 to 5.1.4 #21

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2024

Bumps django from 4.2.17 to 5.1.4.

Commits
  • 2d4add1 [5.1.x] Bumped version for 5.1.4 release.
  • 6943d61 [5.1.x] Fixed CVE-2024-53908 -- Prevented SQL injections in direct HasKeyLook...
  • bbc74a7 [5.1.x] Fixed CVE-2024-53907 -- Mitigated potential DoS in strip_tags().
  • 5b4d949 [5.1.x] Removed question marks from headings in docs/topics/db/fixtures.txt.
  • 6e3e735 [5.1.x] Fixed #35950 -- Restored refreshing of relations when fields deferred.
  • ee2698d [5.1.x] Removed reference to "removing older versions of Django" in tutorial.
  • bed70e2 [5.1.x] Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning fo...
  • 5f82a5e [5.1.x] Added stub release notes and release date for 5.1.4, 5.0.10, and 4.2.17.
  • 4b26240 [5.1.x] Fixed #35942 -- Fixed createsuperuser crash on Python 3.13+ when user...
  • 08ac8c1 [5.1.x] Updated maintainers of Django Debug Toolbar to Django Commons.
  • 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.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Summary by Sourcery

Update Django dependency to version 5.1.4 to incorporate security fixes and enhancements, including SQL injection and DoS vulnerability patches, and a fix for a crash in createsuperuser on Python 3.13+.

Bug Fixes:

  • Fix potential SQL injection vulnerability in direct HasKeyLookups.
  • Mitigate potential DoS vulnerability in strip_tags function.
  • Fix createsuperuser crash on Python 3.13+.

Enhancements:

  • Restore refreshing of relations when fields are deferred.

Chores:

  • Update Django dependency from version 4.2.17 to 5.1.4.

Bumps [django](https://github.com/django/django) from 4.2.17 to 5.1.4.
- [Commits](django/django@4.2.17...5.1.4)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 12, 2024
Copy link

sourcery-ai bot commented Dec 12, 2024

Reviewer's Guide by Sourcery

This PR updates the Django framework from version 4.2.17 to 5.1.4 in both the main requirements.txt and dropship_project/requirements.txt files. This major version upgrade includes important security fixes for SQL injection vulnerabilities (CVE-2024-53908) and potential DoS attacks (CVE-2024-53907), along with various bug fixes and improvements.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Major version upgrade of Django framework with security patches
  • Updated Django version from 4.2.17 to 5.1.4
  • Fixed SQL injection vulnerability in HasKeyLookup (CVE-2024-53908)
  • Mitigated potential DoS attack in strip_tags() function (CVE-2024-53907)
  • Fixed createsuperuser crash on Python 3.13+
  • Restored refreshing of relations when fields are deferred
dropship_project/requirements.txt
requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@CrzyHAX91 CrzyHAX91 merged commit 4738178 into master Dec 12, 2024
3 of 5 checks passed
@CrzyHAX91 CrzyHAX91 deleted the dependabot/pip/django-5.1.4 branch December 12, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant