Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.94 KB

CHANGELOG.md

File metadata and controls

29 lines (21 loc) · 1.94 KB

Changelog

Unreleased

  • [B/C Break] Changed the object mappings to mapped superclasses, this requires updating your app's configuration
  • Added support for checking the request path in the refresh_jwt authenticator
  • Deprecated not configuring the request path to check in the refresh_jwt authenticator
  • Added feature to add the expiration timestamp on the response

1.0.0

  • Dropped support for MongoDB ODM 1.x
  • Dropped support for Symfony 3.4
  • Added support for Symfony 6.0
  • Added a LogoutEventListener that will invalidate the supplied refresh token and clear the cookie (if configured) when a LogoutEvent is triggered on the configured firewall.

1.0.0-beta4

  • Added Gesdinet\JWTRefreshTokenBundle\Doctrine\RefreshTokenRepositoryInterface
  • Gesdinet\JWTRefreshTokenBundle\Doctrine\RefreshTokenManager now requires all object repositories implement Gesdinet\JWTRefreshTokenBundle\Doctrine\RefreshTokenRepositoryInterface

1.0.0-beta2

  • Added Gesdinet\JWTRefreshTokenBundle\Request\Extractor\ExtractorInterface as an interface for extracting the refresh token from the request, implementations provided by this bundle include:
    • Gesdinet\JWTRefreshTokenBundle\Request\Extractor\ChainExtractor - Calls all registered extractors to find the request token (by default, this extractor is aliased to the interface in the DI container)
    • Gesdinet\JWTRefreshTokenBundle\Request\Extractor\RequestBodyExtractor - Decodes a JSON request body and loads the token from it
    • Gesdinet\JWTRefreshTokenBundle\Request\Extractor\RequestParameterExtractor - Loads the refresh token by calling $request->get()
  • Removed the Gesdinet\JWTRefreshTokenBundle\Request\RequestRefreshToken class, a Gesdinet\JWTRefreshTokenBundle\Request\Extractor\ExtractorInterface implementation should be used instead
  • Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenInterface now extends Stringable, refresh token models now require a __toString() method