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