play-silhouette v7.0.0 Release Notes

Release Date: 2020-02-27 // almost 2 years ago

Previous changes from v4.0

    • โšก๏ธ Update to Play 2.5
    • โœ‚ Removed Play Messages instance from Event, Authorization and ErrorHandler types. The I18nSupport trait should be used instead, to get the Messages instance for the current request
    • 0๏ธโƒฃ Rewrite Silhouette trait to provide injectable actions (this is now the default method from Play 2.5 on)
      • Every SecuredAction can now override the global(default injected) error handler if needed
      • A controller is not bound to a single Authenticator anymore
    • โœ‚ Remove SecuredErrorHandler in favour of injectable error handler
    • ๐Ÿ“œ Pass the auth info to the profile parsers to easier query additional data from the provider API
    • โž• Add UnsecuredRequestHandler and UnsecuredAction
    • โฌ‡๏ธ Dropped Scala 2.10 support
    • Projects separated
      • silhouette-password-bcrypt -> contains BCrypt password hasher
      • silhouette-persistence -> contains base implementations for the persistence layer
      • silhouette-persistence-memory -> in-memory implementation of the persistence layer
    • ๐Ÿ‘‰ Use request extractors to find authenticator values in other parts of the request
    • ๐Ÿ›  Fix overriding settings method for Providers (thanks @felipefzdz)
    • ๐Ÿ‘ Allow to override the API URL in the OAuth1 and OAuth2 providers
    • ๐Ÿ‘ Allow to override authentication provider constants
    • ๐Ÿ‘Œ Support for Auth0 authentication provider (thanks @lucamilanesio)
    • ๐Ÿ‘Œ Support for Gitlab authentication provider (thanks @ThmX)
    • ๐Ÿ‘Œ Support for CAS authentication provider (thanks @SBSMMO)
    • Issue #435: copy customClaims when renewing JWTToken (thanks @mizerlou)
    • Define meaningful interface for password re-hashing (thanks @alexmojaki)
    • Play Framework independent crypto implementation