github go-goyave/goyave v5.0.0-rc10
Pre-release v5.0.0-rc10

latest releases: v5.3.0, v5.2.1, v5.2.0...
pre-release5 months ago
  • Cleanup
    • Removed unused structure in the auth package
    • Updated some documentation in the fsutil package
  • Reworked the auth package
    • Authenticators depend on a UserService instead of executing DB query themselves
    • Encourage using user DTO instead of models
    • This all results in removing a dependency between presentation and data layer
    • Removed FindColumns. The "username" and "password" fields are not marked with struct tags anymore: they are handled by a repository.
    • Reduced (but not eliminated) uses of reflection. Now only the password field from the DTO returned by the user service is retrieved using reflection.
    • Take advantage of generics even more
    • The request's context is now properly propagated by JWT and basic authenticators

Don't miss a new goyave release

NewReleases is sending notifications on new releases.