Update dependency djangorestframework-simplejwt to v5.5.1 #56

Open
Renovate wants to merge 1 commit from renovate/djangorestframework-simplejwt-5.x into react-django
Collaborator

This PR contains the following updates:

Package Change Age Confidence
djangorestframework-simplejwt ==5.3.1==5.5.1 age confidence

Release Notes

jazzband/djangorestframework-simplejwt (djangorestframework-simplejwt)

v5.5.1

Compare Source

Missing Migration for rest_framework_simplejwt.token_blacklist app. A previously missing migration (0013_blacklist) has now been added. This issue arose because the migration file was mistakenly not generated earlier. This migration was never part of an official release, but users following the latest master branch may have encountered it.

Notes for Users
If you previously ran makemigrations in production and have a 0013_blacklist migration in your django_migrations table, follow these steps before upgrading:

  1. Roll back to the last known migration:
python manage.py migrate rest_framework_simplejwt.token_blacklist 0012
  1. Upgrade djangorestframework-simplejwt to the latest version.
  2. Apply the migrations correctly:
python manage.py migrate

Important: If other migrations depend on 0013_blacklist, be cautious when removing it. You may need to adjust or regenerate dependent migrations to ensure database integrity.

v5.5.0

Compare Source

v5.4.0

Compare Source

  • Changed string formatting in views by @​Egor-oop in #​750
  • Enhance BlacklistMixin with Generic Type for Accurate Type Inference by @​Dresdn in #​768
  • Improve type of Token.for_user to allow subclasses by @​sterliakov in #​776
  • Fix the Null value of the OutstandingToken of the BlacklistMixin.blacklist by @​JaeHyuckSa in #​806
  • Fix: Disable refresh token for inactive user. by @​ajay09 in #​814
  • Add option to allow inactive user authentication and token generation by @​zxkeyy in #​834
  • Drop Django <4.2, DRF <3.14, Python <3.9 by @​Andrew-Chen-Wang in #​839
    • Note, many deprecated versions are only officially not supported but probably still work fine.
  • Add support for EdDSA and other algorithms in jwt.algorithms.requires_cryptography (#​822) #​823

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [djangorestframework-simplejwt](https://github.com/jazzband/djangorestframework-simplejwt) | `==5.3.1` → `==5.5.1` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/djangorestframework-simplejwt/5.5.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/djangorestframework-simplejwt/5.3.1/5.5.1?slim=true) | --- ### Release Notes <details> <summary>jazzband/djangorestframework-simplejwt (djangorestframework-simplejwt)</summary> ### [`v5.5.1`](https://github.com/jazzband/djangorestframework-simplejwt/blob/HEAD/CHANGELOG.md#551) [Compare Source](https://github.com/jazzband/djangorestframework-simplejwt/compare/v5.5.0...v5.5.1) Missing Migration for rest\_framework\_simplejwt.token\_blacklist app. A previously missing migration (0013\_blacklist) has now been added. This issue arose because the migration file was mistakenly not generated earlier. This migration was never part of an official release, but users following the latest master branch may have encountered it. **Notes for Users** If you previously ran makemigrations in production and have a 0013\_blacklist migration in your django\_migrations table, follow these steps before upgrading: 1. Roll back to the last known migration: ```bash python manage.py migrate rest_framework_simplejwt.token_blacklist 0012 ``` 2. Upgrade djangorestframework-simplejwt to the latest version. 3. Apply the migrations correctly: ```bash python manage.py migrate ``` **Important**: If other migrations depend on 0013\_blacklist, be cautious when removing it. You may need to adjust or regenerate dependent migrations to ensure database integrity. - fix: add missing migration for token\_blacklist app by [@&#8203;juanbailon](https://github.com/juanbailon) in [#&#8203;894](https://github.com/jazzband/djangorestframework-simplejwt/pull/894) - :globe\_with\_meridians: Fix typos and improve clarity in es\_AR translations by [@&#8203;fabianfalon](https://github.com/fabianfalon) in [#&#8203;876](https://github.com/jazzband/djangorestframework-simplejwt/pull/876) - docs: Add warning in docs for `for_user` usage by [@&#8203;vgrozdanic](https://github.com/vgrozdanic) in [#&#8203;872](https://github.com/jazzband/djangorestframework-simplejwt/pull/872) - feat: log warning if token is being created for inactive user by [@&#8203;vgrozdanic](https://github.com/vgrozdanic) in [#&#8203;873](https://github.com/jazzband/djangorestframework-simplejwt/pull/873) - ref: full tracebacks on exceptions by [@&#8203;vgrozdanic](https://github.com/vgrozdanic) in [#&#8203;870](https://github.com/jazzband/djangorestframework-simplejwt/pull/870) - [#&#8203;858](https://github.com/jazzband/djangorestframework-simplejwt/issues/858) New i18n messages by [@&#8203;Cloves23](https://github.com/Cloves23) in [#&#8203;879](https://github.com/jazzband/djangorestframework-simplejwt/pull/879) - Repair the type annotations in the TokenViewBase class. by [@&#8203;triplepoint](https://github.com/triplepoint) in [#&#8203;880](https://github.com/jazzband/djangorestframework-simplejwt/pull/880) - fix: Token.outstand forces users to install blacklist app by [@&#8203;Andrew-Chen-Wang](https://github.com/Andrew-Chen-Wang) in [#&#8203;884](https://github.com/jazzband/djangorestframework-simplejwt/pull/884) - fix: PytestConfigWarning Unknown config option: python\_paths by [@&#8203;vgrozdanic](https://github.com/vgrozdanic) in [#&#8203;886](https://github.com/jazzband/djangorestframework-simplejwt/pull/886) - fix: Do not copy `iat` claim from refresh token by [@&#8203;vgrozdanic](https://github.com/vgrozdanic) in [#&#8203;888](https://github.com/jazzband/djangorestframework-simplejwt/pull/888) - fix: add missing migration for token\_blacklist app by [@&#8203;juanbailon](https://github.com/juanbailon) in [#&#8203;894](https://github.com/jazzband/djangorestframework-simplejwt/pull/894) - Update Persian translations (fa, fa\_IR) for Django application by [@&#8203;mahdirahimi1999](https://github.com/mahdirahimi1999) in [#&#8203;897](https://github.com/jazzband/djangorestframework-simplejwt/pull/897) - fix: always stringify user\_id claim in [#&#8203;887](https://github.com/jazzband/djangorestframework-simplejwt/pull/887) ### [`v5.5.0`](https://github.com/jazzband/djangorestframework-simplejwt/blob/HEAD/CHANGELOG.md#550) [Compare Source](https://github.com/jazzband/djangorestframework-simplejwt/compare/v5.4.0...v5.5.0) - Cap PyJWT version to <2.10.0 to avoid incompatibility with subject claim type requirement by [@&#8203;grayver](https://github.com/grayver) in [#&#8203;843](https://github.com/jazzband/djangorestframework-simplejwt/pull/843) - Add specific "token expired" exceptions by [@&#8203;vainu-arto](https://github.com/vainu-arto) in [#&#8203;830](https://github.com/jazzband/djangorestframework-simplejwt/pull/830) - Fix user\_id type mismatch when user claim is not pk by [@&#8203;jdg-journeyfront](https://github.com/jdg-journeyfront) in [#&#8203;851](https://github.com/jazzband/djangorestframework-simplejwt/pull/851) - Caching signing key by [@&#8203;henryfool91](https://github.com/henryfool91) in [#&#8203;859](https://github.com/jazzband/djangorestframework-simplejwt/pull/859) - Adds new refresh tokens to OutstandingToken db. by [@&#8203;thecarpetjasp](https://github.com/thecarpetjasp) in [#&#8203;866](https://github.com/jazzband/djangorestframework-simplejwt/pull/866) ### [`v5.4.0`](https://github.com/jazzband/djangorestframework-simplejwt/blob/HEAD/CHANGELOG.md#540) [Compare Source](https://github.com/jazzband/djangorestframework-simplejwt/compare/v5.3.1...v5.4.0) - Changed string formatting in views by [@&#8203;Egor-oop](https://github.com/Egor-oop) in [#&#8203;750](https://github.com/jazzband/djangorestframework-simplejwt/pull/750) - Enhance BlacklistMixin with Generic Type for Accurate Type Inference by [@&#8203;Dresdn](https://github.com/Dresdn) in [#&#8203;768](https://github.com/jazzband/djangorestframework-simplejwt/pull/768) - Improve type of `Token.for_user` to allow subclasses by [@&#8203;sterliakov](https://github.com/sterliakov) in [#&#8203;776](https://github.com/jazzband/djangorestframework-simplejwt/pull/776) - Fix the `Null` value of the `OutstandingToken` of the `BlacklistMixin.blacklist` by [@&#8203;JaeHyuckSa](https://github.com/JaeHyuckSa) in [#&#8203;806](https://github.com/jazzband/djangorestframework-simplejwt/pull/806) - Fix: Disable refresh token for inactive user. by [@&#8203;ajay09](https://github.com/ajay09) in [#&#8203;814](https://github.com/jazzband/djangorestframework-simplejwt/pull/814) - Add option to allow inactive user authentication and token generation by [@&#8203;zxkeyy](https://github.com/zxkeyy) in [#&#8203;834](https://github.com/jazzband/djangorestframework-simplejwt/pull/834) - Drop Django <4.2, DRF <3.14, Python <3.9 by [@&#8203;Andrew-Chen-Wang](https://github.com/Andrew-Chen-Wang) in [#&#8203;839](https://github.com/jazzband/djangorestframework-simplejwt/pull/839) - Note, many deprecated versions are only officially not supported but probably still work fine. - Add support for EdDSA and other algorithms in jwt.algorithms.requires\_cryptography ([#&#8203;822](https://github.com/jazzband/djangorestframework-simplejwt/issues/822)) [#&#8203;823](https://github.com/jazzband/djangorestframework-simplejwt/pull/823) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My43Ny4zIiwidXBkYXRlZEluVmVyIjoiNDMuNzcuMyIsInRhcmdldEJyYW5jaCI6InJlYWN0LWRqYW5nbyIsImxhYmVscyI6W119-->
Update dependency djangorestframework-simplejwt to v5.5.1
Some checks failed
Backend OCI Build / build (pull_request) Successful in 4m53s
Backend OCI Build / build (push) Failing after 50s
305ae3c769
Some checks failed
Backend OCI Build / build (pull_request) Successful in 4m53s
Backend OCI Build / build (push) Failing after 50s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/djangorestframework-simplejwt-5.x:renovate/djangorestframework-simplejwt-5.x
git switch renovate/djangorestframework-simplejwt-5.x

Merge

Merge the changes and update on Forgejo.
git switch react-django
git merge --no-ff renovate/djangorestframework-simplejwt-5.x
git switch renovate/djangorestframework-simplejwt-5.x
git rebase react-django
git switch react-django
git merge --ff-only renovate/djangorestframework-simplejwt-5.x
git switch renovate/djangorestframework-simplejwt-5.x
git rebase react-django
git switch react-django
git merge --no-ff renovate/djangorestframework-simplejwt-5.x
git switch react-django
git merge --squash renovate/djangorestframework-simplejwt-5.x
git switch react-django
git merge --ff-only renovate/djangorestframework-simplejwt-5.x
git switch react-django
git merge renovate/djangorestframework-simplejwt-5.x
git push origin react-django
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aroy/Gallery-Archivist!56
No description provided.