Skip to content

Bump flask-jwt-extended from 3.25.0 to 4.2.1

Bumps flask-jwt-extended from 3.25.0 to 4.2.1.

Release notes

Sourced from flask-jwt-extended's releases.

4.2.1

  • Update Flask-JWT-Extended to work with flask 2.x.x. (#427).

4.2.0

  • Add JWT_ENCODE_NBF configuration option to allow disabling the NBF claim during token creation. Thanks @magnunleno! #416
  • Add a new get_jwt_request_location() function to determine where a token was parsed from in a request (useful for implicit token refresh with cookies). Thanks @sammck! #420
  • Fix wrong error message in edge case with current user in non-decorated route. #408
  • Fix JWT in headers followed by a comma raises IndexError #347
  • Fix edge cases where @jwt_required(optional=True) was treating a request as if there was jwt present instead of handling the InvalidHeaderError. #421
  • Add a JWT_QUERY_STRING_VALUE_PREFIX configuration option. #421
  • Update error messages to provide more helpful information to callers when they are sending in a token in an unexpected way.

4.1.0

  • Allow JWT type to be things besides refresh or access (#401). Any type that is not refresh will be considered an access token. Thanks @sambonner for the PR!
  • Allow locations kwarg for jwt_required() to be a string (#394)
  • Minor documentation improvements

4.0.2

  • Properly include requirements.txt in the manifest.

4.0.1

  • No changes from 4.0.0, this release is purely to fix some github actions and documentation builds

4.0.0

This release contains many months of work and lots of breaking changes. For full details, please see: https://flask-jwt-extended.readthedocs.io/en/stable/v4_upgrade_guide/

3.25.1

  • The only change it this release is that we are setting the metadata that marks this as the last release to support python versions earlier then 3.6 (including python 2).
Commits
  • 64d6d9f Bump to 4.2.1
  • 4013c73 Allow flask 2.x.x (#427)
  • 3ecf2c0 Bump to 4.2.0
  • a43701f Add JWT_QUERY_STRING_VALUE_PREFIX configuration option
  • 7068f12 Fix jwt optional edge cases and default to more helpful error messages
  • 39eba9c Fix JWT in headers followed by a comma raises IndexError (#347)
  • a0f206e Fix error messaging for edge case with current_user
  • ef3da3c Add get_jwt_request_location() function to find out where the request JWT was...
  • fdc0602 Add option to disable NBF claim during ecoding (#416)
  • bab12d7 Bump urllib3 from 1.26.3 to 1.26.4 (#410)
  • Additional commits viewable in compare view

Merge request reports