Releases: eadwinCode/django-ninja-jwt
Releases · eadwinCode/django-ninja-jwt
v5.2.5
v5.2.4
What's Changed
- Added mkdocstrings package by @eadwinCode in #16
- Bump actions/setup-python from 1 to 4 by @dependabot in #20
- Bump actions/checkout from 2 to 3 by @dependabot in #22
- Bump codecov/codecov-action from 1 to 3 by @dependabot in #19
- Bump flake8 from 4.0.1 to 6.0.0 by @dependabot in #25
- Bump isort from 5.10.1 to 5.12.0 by @dependabot in #24
- Removed ninja_schema in favour of Ninja schema by @eadwinCode in #26
- More customization control in controller schemas by @eadwinCode in #26
# controller schema used in generating token, refreshing token, or verifying token can be swapped in `NINJA_JWT` settings
NINJA_JWT = {
# FOR OBTAIN PAIR
'TOKEN_OBTAIN_PAIR_INPUT_SCHEMA': "ninja_jwt.schema.TokenObtainPairInputSchema",
'TOKEN_OBTAIN_PAIR_REFRESH_INPUT_SCHEMA': "ninja_jwt.schema.TokenRefreshInputSchema",
# FOR SLIDING TOKEN
'TOKEN_OBTAIN_SLIDING_INPUT_SCHEMA': "ninja_jwt.schema.TokenObtainSlidingInputSchema",
'TOKEN_OBTAIN_SLIDING_REFRESH_INPUT_SCHEMA':"ninja_jwt.schema.TokenRefreshSlidingInputSchema",
'TOKEN_BLACKLIST_INPUT_SCHEMA': "ninja_jwt.schema.TokenBlacklistInputSchema",
'TOKEN_VERIFY_INPUT_SCHEMA': "ninja_jwt.schema.TokenVerifyInputSchema",
}
Check Controller Schema Swapping for more info.
Full Changelog: v5.2.2...v5.2.4
v5.2.2
What's Changed
- July 16 jazzband merge by @eadwinCode in #12
- Improve README.md by @lausek in #13
- Added support for python3.10 and Django 4.1 @eadwinCode in #14
- October-30-2022:Jazz master branch merge by @eadwinCode in #15
- Fixed issue jazzband#543 by @armenak-baburyan in jazzband#586
- Fix uncaught exception with JWK by @jerr0328 in jazzband#600
- Allow none
jti
claim token type claim by @denniskeends in jazzband#567 - Allow customizing token JSON encoding by @vainu-arto in jazzband#568
- Remove the JWTTokenUserAuthentication from the Experimental Features jazzband#546 by @byrpatrick in jazzband#547
New Contributors
Full Changelog: v5.2.0...v5.2.2
5.2.0
What's Changed
- Jazzband recent updates by @eadwinCode in #10
- Add back support for PyJWT 1.7.1
5.1.9
5.1.8
What's Changed
- Schema root validation fix for python >= 3.8
v5.1.6
- Updated NinjaJWT with SIMPLEJWT changes
- Added
AsyncJWTAuth
for authenticating routes asynchronously - Added some asynchronous controllers equivalent to obtain and verifying tokens
v5.1.5
- Doc typo error fix
- Django-Ninja-Extra new api_controller decorator fix
v5.1.4
- Separated authentication.JWTAuthentication from authentication.JWTTokenUserAuthentication
- Updated experimental feature document
v5.1.3
- Documentation updates
- Naming consistence