Releases: TrestleAdmin/trestle-auth
Releases · TrestleAdmin/trestle-auth
v0.5.0
v0.5.0.pre2
v0.5.0.pre
This release updates trestle-auth to support the Hotwire updates introduced in Trestle v0.10.0.pre.
- Markup and CSS has been updated for Bootstrap 5
- Turbolinks meta tags and data- attributes replaced with Turbo tags
- FontAwesome icons added to auth layout when using Sprockets
v0.4.4
v0.4.3
v0.4.2
This release fixes a Cross-Site Request Forgery issue that is present in trestle-auth versions 0.4.0 and 0.4.1.
See GHSA-h8hx-2c5r-32cf for more information.
- Ensure CSRF protection is prepended before authentication before_actions (addresses CVE-2021-29435)
- Fix install generator on older Ruby versions (< 2.6) [#31]
v0.4.1
v0.4.0
- Add support for alternative authentication backends including Devise and Warden
- Add
--devise
option to install generator:rails generate trestle:auth:install User --devise
- Add ability to disable login/logout actions via
config.auth.enable_login
andconfig.auth.enable_logout
configuration options - Add
config.auth.login_url
configuration option - Add
config.auth.human_attribute_name
configuration option for translating login fields - Evaluate
config.auth.locale
andconfig.auth.time_zone
blocks within controller context
v0.3.0
v0.2.5
- Add
config.auth.format_user_name
configuration option to customize user name rendering in header - Add
config.auth.redirect_on_login
andconfig.auth.redirect_on_logout
configuration options to control redirect locations after login/logout - Allow user locale and time zone around actions to be disabled if
config.auth.locale
orconfig.auth.time_zone
are false - Add more helpful error message when install generator is run before the main Trestle install generator