5.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:
- Roll back to the last known migration:
python manage.py migrate rest_framework_simplejwt.token_blacklist 0012
- Upgrade djangorestframework-simplejwt to the latest version.
- 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.
- fix: add missing migration for token_blacklist app by @juanbailon in #894
- 🌐 Fix typos and improve clarity in es_AR translations by @fabianfalon in #876
- docs: Add warning in docs for
for_user
usage by @vgrozdanic in #872 - feat: log warning if token is being created for inactive user by @vgrozdanic in #873
- ref: full tracebacks on exceptions by @vgrozdanic in #870
- #858 New i18n messages by @Cloves23 in #879
- Repair the type annotations in the TokenViewBase class. by @triplepoint in #880
- fix: Token.outstand forces users to install blacklist app by @Andrew-Chen-Wang in #884
- fix: PytestConfigWarning Unknown config option: python_paths by @vgrozdanic in #886
- fix: Do not copy
iat
claim from refresh token by @vgrozdanic in #888 - fix: add missing migration for token_blacklist app by @juanbailon in #894
- Update Persian translations (fa, fa_IR) for Django application by @mahdirahimi1999 in #897
- fix: always stringify user_id claim (#887)
New Contributors
- @fabianfalon made their first contribution in #876
- @Cloves23 made their first contribution in #879
- @triplepoint made their first contribution in #880
- @juanbailon made their first contribution in #894
Full Changelog: v5.5.0...v5.5.1