Skip to content

Commit

Permalink
Update CHANGELOG.md for v4.7.2 (#430)
Browse files Browse the repository at this point in the history
* Lint
* Update translation files
  • Loading branch information
Andrew-Chen-Wang authored Jul 6, 2021
1 parent b06723f commit 8864dc8
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 16 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
## Unreleased

## Version 4.7.2

* Fix BrowsableAPIRenderer needing `media_type` ([#426](https://github.com/jazzband/django-rest-framework-simplejwt/pull/426))
* Fix blacklist migrations for multiple databases ([#429](https://github.com/jazzband/django-rest-framework-simplejwt/pull/429))
* Fix Django 3.2 `default_app_config` deprecation ([#415](https://github.com/jazzband/django-rest-framework-simplejwt/pull/415))
* Fix docs specifying `INSTALLED_APPS` for SimpleJWT iff you want translations ([#420](https://github.com/jazzband/django-rest-framework-simplejwt/pull/420))
* Fix drf-yasg API Schema generation for `TokenRefreshSerializer` ([#396](https://github.com/jazzband/django-rest-framework-simplejwt/pull/396))
* Fix invalid syntax in docs for `INSTALLED_APPS` ([#416](https://github.com/jazzband/django-rest-framework-simplejwt/pull/416))

Translations:
* Added Dutch translations ([#422](https://github.com/jazzband/django-rest-framework-simplejwt/pull/422))
* Added Ukrainian translations ([#423](https://github.com/jazzband/django-rest-framework-simplejwt/pull/423))
* Added Simplified Chinese translations ([#427](https://github.com/jazzband/django-rest-framework-simplejwt/pull/427))

## Version 4.7.1

* Fixed user-generated migration file bug in token_blacklist ([#410]((https://github.com/jazzband/django-rest-framework-simplejwt/pull/411)))
* Fixed user-generated migration file bug in token_blacklist ([#411](https://github.com/jazzband/django-rest-framework-simplejwt/pull/411))

## Version 4.7.0

Expand All @@ -17,9 +31,11 @@

* Added support for PyJWT>=2.0.0 ([#329](https://github.com/jazzband/django-rest-framework-simplejwt/pull/329))
* Restored Python 3.7 support ([#332](https://github.com/jazzband/django-rest-framework-simplejwt/pull/332))
* Added Indonesian translations ([#316](https://github.com/jazzband/django-rest-framework-simplejwt/pull/316))
* Fixed Django 4.0 re_path deprecation ([#280](https://github.com/jazzband/django-rest-framework-simplejwt/pull/280))

Translations:
* Added Indonesian translations ([#316](https://github.com/jazzband/django-rest-framework-simplejwt/pull/316))

## Version 4.5

* Added `AUTH_HEADER_NAME` to settings ([#309](https://github.com/jazzband/django-rest-framework-simplejwt/pull/309))
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_simplejwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pkg_resources import get_distribution, DistributionNotFound
from pkg_resources import DistributionNotFound, get_distribution

try:
__version__ = get_distribution("djangorestframework_simplejwt").version
Expand Down
Binary file modified rest_framework_simplejwt/locale/id_ID/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified rest_framework_simplejwt/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified rest_framework_simplejwt/locale/ru_RU/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified rest_framework_simplejwt/locale/zh_Hans/LC_MESSAGES/django.mo
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by Django 3.2.3 on 2021-05-27 17:46

import os, fnmatch
from pathlib import Path

from django.db import migrations, models
Expand All @@ -15,14 +14,14 @@ class Migration(migrations.Migration):
]

operations = [
migrations.AlterField(
model_name='blacklistedtoken',
name='id',
field=models.BigAutoField(primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='outstandingtoken',
name='id',
field=models.BigAutoField(primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='blacklistedtoken',
name='id',
field=models.BigAutoField(primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='outstandingtoken',
name='id',
field=models.BigAutoField(primary_key=True, serialize=False),
),
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from pathlib import Path

from django.db import migrations, models
from django.db import migrations, models # noqa F401

parent_dir = Path(__file__).resolve(strict=True).parent

Expand Down
1 change: 0 additions & 1 deletion tests/test_token_blacklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,3 @@ def test_outstandingtoken_id_field_is_biagauto_field(self):
def test_blacklistedtoken_id_field_is_biagauto_field(self):
BlacklistedToken = self.apps.get_model('token_blacklist', 'BlacklistedToken')
assert isinstance(BlacklistedToken._meta.get_field('id'), BigAutoField)

0 comments on commit 8864dc8

Please sign in to comment.