Releases: flavors/django-graphql-jwt
Releases · flavors/django-graphql-jwt
v0.4.0 (2023-08-04)
v0.3.4 (2021-08-12)
- Added JSONWebTokenBackend.get_user method
v0.3.3 (2021-07-24)
- Added Graphene V2 support
v0.3.2 (2021-04-09)
- Added support for PyJWT>=2
- Removed signals providing_args
- Added
JWT_COOKIE_SAMESITE
setting - Added support for Graphene v3
v0.3.1 (2020-04-04)
- Set JWT-refresh-token cookie on tokenAuth mutation
- Read token/refresh-token from cookies (TokenAuth, Refresh, Verify and Revoke mutations)
- Add refreshExpiredIn field
- Add token payload to tokenAuth mutation
- Add DeleteJSONWebTokenCookie and DeleteRefreshTokenCookie mutations
- Add JWT_REUSE_REFRESH_TOKENS setting in order to reuse the refresh token instances
- Add JWT_HIDE_TOKEN_FIELDS setting (prevent XSS exploitation)
- Add JWT_CSRF_ROTATION setting
- Add JWT_COOKIE_PATH and JWT_COOKIE_DOMAIN settings
- Removed ugettext in favor of gettext
v0.3.0 (2019-12-05)
- Added Django 3 support
- Removed Python 2.7 support
v0.2.3 (2019-12-05)
- Fixed refresh_token cookie
- Added middleware method to SchemaRequestFactory
- Added arabic, french and portuguese translations
v0.2.2 (2019-08-27)
- Removed DjangoMiddleware
- Added dutch and french locales
- Added JWT Refresh token cookie
- Added signals
- Added JWT_GET_USER_BY_NATURAL_KEY_HANDLER
v0.2.1 (2019-02-17)
- Added JWT cookie authentication
- Added
refresh_token_lazy
- Fixed
RefreshToken
related name - WARNING: Added
kwargs
argument toJSONWebTokenMutation.resolve()
- Fixed
@context
decorator to determine the info argument - Added
_cached_token
to refresh token instances to allow hashed tokens - Added
JWT_GET_REFRESH_TOKEN_HANDLER
setting variable - Improved argument authentication using multiple credentials
- Added
execute
method toSchemaTestCase
- Added
graphql_jwt
classes toJWT_ALLOW_ANY_CLASSES
- Added
@superuser_required
decorator
v0.2.0 (2018-10-28)
- Added Graphene middleware
- Added Per-argument authentication
- Added
JSONWebTokenExpired
exception - Added documentation
- Renamed
JWT_AUTH_HEADER
toJWT_AUTH_HEADER_NAME