Skip to content

Releases: eadwinCode/django-ninja-jwt

v5.2.9

19 Nov 07:26
8a9059a

Choose a tag to compare

What's Changed

Full Changelog: v5.2.7...v5.2.9

v5.2.7

07 Nov 19:33
7ca48bd

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.2.6...v5.2.7

v5.2.6

22 Oct 06:08
5b942ff

Choose a tag to compare

What's Changed

  • code linting with ruff by @eadwinCode in #29
  • bumped up required python and updated the docs by @eadwinCode in #31
  • Bump black from 21.12b0 to 23.3.0 by @dependabot in #28
  • feat: add default routers autentication by @pedrohsbarbosa99 in #35
    from ninja import NinjaAPI
    from ninja_jwt.routers.obtain import obtain_pair_router
    
    api = NinjaAPI()
    api.add_router('/token', tags=['Auth'], router=obtain_pair_router)
    ...

New Contributors

Full Changelog: v5.2.5...5.2.6

v5.2.5

18 Mar 09:23
f643ede

Choose a tag to compare

What's Changed

Full Changelog: v5.2.4...v5.2.5

v5.2.4

17 Mar 05:48
cc79b79

Choose a tag to compare

What's Changed

# 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

30 Oct 10:49
dfff6a9

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.2.0...v5.2.2

5.2.0

04 Apr 09:42
4d269dc

Choose a tag to compare

What's Changed

  • Jazzband recent updates by @eadwinCode in #10
  • Add back support for PyJWT 1.7.1

5.1.9

25 Mar 16:36
028bc9e

Choose a tag to compare

What's Changed

  • Use dynamically generated schema, and use specified username field by @demiurg in #9

New Contributors

5.1.8

13 Feb 06:25
a895240

Choose a tag to compare

What's Changed

  • Schema root validation fix for python >= 3.8

v5.1.6

20 Jan 10:41
514b4b4

Choose a tag to compare

  • Updated NinjaJWT with SIMPLEJWT changes
  • Added AsyncJWTAuth for authenticating routes asynchronously
  • Added some asynchronous controllers equivalent to obtain and verifying tokens