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

Update django-oauth-toolkit requirement from ==2.3.* to ==3.0.* #315

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2024

Updates the requirements on django-oauth-toolkit to permit the latest version.

Release notes

Sourced from django-oauth-toolkit's releases.

Release 3.0.1

bugfix #1491 Fix migration error when there are pre-existing Access Tokens.

Changelog

Sourced from django-oauth-toolkit's changelog.

[3.0.1] - 2024-09-07

Fixed

  • #1491 Fix migration error when there are pre-existing Access Tokens.

[3.0.0] - 2024-09-05

WARNING - POTENTIAL BREAKING CHANGES

  • Changes to the AbstractAccessToken model require doing a manage.py migrate after upgrading.
  • If you use swappable models you will need to make sure your custom models are also updated (usually manage.py makemigrations).
  • Old Django versions below 4.2 are no longer supported.
  • A few deprecations warned about in 2.4.0 (#1345) have been removed. See below.

Added

  • #1366 Add Docker containerized apps for testing IDP and RP.
  • #1454 Added compatibility with LoginRequiredMiddleware introduced in Django 5.1.

Changed

  • Many documentation and project internals improvements.
  • #1446 Use generic models pk instead of id. This enables, for example, custom swapped models to have a different primary key field.
  • #1447 Update token to TextField from CharField. Removing the 255 character limit enables supporting JWT tokens with additional claims. This adds a SHA-256 token_checksum field that is used to validate tokens.
  • #1450 Transactions wrapping writes of the Tokens now rely on Django's database routers to determine the correct database to use instead of assuming that 'default' is the correct one.
  • #1455 Changed minimum supported Django version to >=4.2.

Removed

  • #1425 Remove deprecated RedirectURIValidator, WildcardSet per #1345; validate_logout_request per #1274

Fixed

  • #1444, #1476 Fix several 500 errors to instead raise appropriate errors.
  • #1469 Fix ui_locales request parameter triggers AttributeError under certain circumstances

Security

[2.4.0] - 2024-05-13

WARNING

Issues caused by Release 2.0.0 breaking changes continue to be logged. Please make sure to carefully read these release notes before performing a MAJOR upgrade to 2.x.

These issues both result in {"error": "invalid_client"}:

  1. The application client secret is now hashed upon save. You must copy it before it is saved. Using the hashed value will fail.

  2. PKCE_REQUIRED is now True by default. You should use PKCE with your client or set PKCE_REQUIRED=False if you are unable to fix the client.

... (truncated)

Commits
  • 1d19e54 3.0.1: fix for migration error on upgrade to 3.0.0 (#1491)
  • f220235 Fix test for changed error message from newer Django (djmain) (#1486)
  • 5ce5e7f Release 3.0.0 Changlelog, version and minor version dependency updates. See a...
  • 72d0551 add link to new gh discussions (#1480)
  • 9561866 Honor database assignment from router (#1450)
  • 1d19e3d bump oauthlib to 3.2.2 (#1481)
  • 62508b4 Raise InvalidGrantError if no grant associated with auth code exists (#1476)
  • aede24b [pre-commit.ci] pre-commit autoupdate (#1475)
  • 3b429c9 Bump svelte from 4.2.18 to 4.2.19 in /tests/app/rp (#1473)
  • e63999d Work around double parsing of ui_locales (#1469)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 9, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/django-oauth-toolkit-eq-3.0.star branch from 5543a2b to af04bc3 Compare September 17, 2024 09:20
@dependabot dependabot bot force-pushed the dependabot/pip/django-oauth-toolkit-eq-3.0.star branch from af04bc3 to d719233 Compare September 26, 2024 07:30
@mariobehling
Copy link
Member

@dependabot rebase

@mariobehling
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/django-oauth-toolkit-eq-3.0.star branch from bfd7d4c to cc0de5d Compare October 10, 2024 08:27
@mariobehling
Copy link
Member

@dependabot rebase

Dependabot couldn't find the original pull request head commit, bfd7d4c.
@dependabot dependabot bot force-pushed the dependabot/pip/django-oauth-toolkit-eq-3.0.star branch from cc0de5d to 13aec1f Compare November 1, 2024 06:14
@mariobehling
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 22, 2024

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.

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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants