Skip to content

1.12.0

Compare
Choose a tag to compare
@janko janko released this 20 Oct 15:10
· 71 commits to main since this release
991a0d1
  • The #rails_cookies shorthand was added on Rodauth::Rails::App and Rodauth::Rails::Auth for accessing the Rails request's cookie jar (the same as #cookies in controllers).

  • The #turbo_stream method is now exposed on Rodauth::Rails::Auth when using the turbo-rails gem, for easier generation of turbo stream responses.

  • When running rodauth:install with --jwt or --argon2 options, the generated jwt_secret and argon2_secret now default to hmac_secret (which in turn defaults to Rails secret key base), instead of having a hardcoded secret.

  • The rodauth:install generator now includes Rodauth::Model(RodauthMain) into the account model, which is essentially what Rodauth::Rails.model did. This makes Rodauth::Rails.model soft-deprecated.

  • The Rodauth app now forwards all unhandled requests to the Rails router, even those that partially matched a Roda matcher.

  • The rodauth:views generator can now generate the view template for the confirm_password feature as well (thanks to @igor-alexandrov).