play-silhouette v4.0 Release Notes

Release Date: 2016-07-14 // almost 8 years ago
    • ⚡️ 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