Skip to content

Pre-release v5.0.0-rc10

Pre-release
Pre-release
Compare
Choose a tag to compare
@System-Glitch System-Glitch released this 26 Apr 09:52
· 97 commits to master since this release
31622b6
  • 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