Skip to content

Commit 8864dc8

Browse files
Update CHANGELOG.md for v4.7.2 (#430)
* Lint * Update translation files
1 parent b06723f commit 8864dc8

9 files changed

Lines changed: 30 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
## Unreleased
22

3+
## Version 4.7.2
4+
5+
* Fix BrowsableAPIRenderer needing `media_type` ([#426](https://github.com/jazzband/django-rest-framework-simplejwt/pull/426))
6+
* Fix blacklist migrations for multiple databases ([#429](https://github.com/jazzband/django-rest-framework-simplejwt/pull/429))
7+
* Fix Django 3.2 `default_app_config` deprecation ([#415](https://github.com/jazzband/django-rest-framework-simplejwt/pull/415))
8+
* Fix docs specifying `INSTALLED_APPS` for SimpleJWT iff you want translations ([#420](https://github.com/jazzband/django-rest-framework-simplejwt/pull/420))
9+
* Fix drf-yasg API Schema generation for `TokenRefreshSerializer` ([#396](https://github.com/jazzband/django-rest-framework-simplejwt/pull/396))
10+
* Fix invalid syntax in docs for `INSTALLED_APPS` ([#416](https://github.com/jazzband/django-rest-framework-simplejwt/pull/416))
11+
12+
Translations:
13+
* Added Dutch translations ([#422](https://github.com/jazzband/django-rest-framework-simplejwt/pull/422))
14+
* Added Ukrainian translations ([#423](https://github.com/jazzband/django-rest-framework-simplejwt/pull/423))
15+
* Added Simplified Chinese translations ([#427](https://github.com/jazzband/django-rest-framework-simplejwt/pull/427))
16+
317
## Version 4.7.1
418

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

721
## Version 4.7.0
822

@@ -17,9 +31,11 @@
1731

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

36+
Translations:
37+
* Added Indonesian translations ([#316](https://github.com/jazzband/django-rest-framework-simplejwt/pull/316))
38+
2339
## Version 4.5
2440

2541
* Added `AUTH_HEADER_NAME` to settings ([#309](https://github.com/jazzband/django-rest-framework-simplejwt/pull/309))

rest_framework_simplejwt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pkg_resources import get_distribution, DistributionNotFound
1+
from pkg_resources import DistributionNotFound, get_distribution
22

33
try:
44
__version__ = get_distribution("djangorestframework_simplejwt").version
-61 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Generated by Django 3.2.3 on 2021-05-27 17:46
22

3-
import os, fnmatch
43
from pathlib import Path
54

65
from django.db import migrations, models
@@ -15,14 +14,14 @@ class Migration(migrations.Migration):
1514
]
1615

1716
operations = [
18-
migrations.AlterField(
19-
model_name='blacklistedtoken',
20-
name='id',
21-
field=models.BigAutoField(primary_key=True, serialize=False),
22-
),
23-
migrations.AlterField(
24-
model_name='outstandingtoken',
25-
name='id',
26-
field=models.BigAutoField(primary_key=True, serialize=False),
27-
),
17+
migrations.AlterField(
18+
model_name='blacklistedtoken',
19+
name='id',
20+
field=models.BigAutoField(primary_key=True, serialize=False),
21+
),
22+
migrations.AlterField(
23+
model_name='outstandingtoken',
24+
name='id',
25+
field=models.BigAutoField(primary_key=True, serialize=False),
26+
),
2827
]

rest_framework_simplejwt/token_blacklist/migrations/0011_linearizes_history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from pathlib import Path
44

5-
from django.db import migrations, models
5+
from django.db import migrations, models # noqa F401
66

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

tests/test_token_blacklist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,3 @@ def test_outstandingtoken_id_field_is_biagauto_field(self):
204204
def test_blacklistedtoken_id_field_is_biagauto_field(self):
205205
BlacklistedToken = self.apps.get_model('token_blacklist', 'BlacklistedToken')
206206
assert isinstance(BlacklistedToken._meta.get_field('id'), BigAutoField)
207-

0 commit comments

Comments
 (0)