Rodauth 2.38.0 Released #465
jeremyevans
started this conversation in
General
Replies: 1 comment 3 replies
-
@jeremyevans Very rad. This project seems very active. Any reason I should NOT use it for a new Rails app? Seems like you're doing killer work, I've just always used Devise before and wanted to send out an "is this thing on?" Seems like a project that will have success for years down the road...? :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rodauth 2.38.0 has been released!
New Features
Rodauth now automatically supports fixed locals in templates if
using Roda 3.88+ and Tilt 2.6+. This allows you to use the
Roda default_fixed_locals: '()' template option without breaking
Rodauth. If the default fixed locals support breaks your Rodauth
configuration, such as if you are overriding Rodauth templates
and modifying the local variables they accept, you can disable
the use of fixed locals in your Rodauth configuration:
Rodauth::ConfigurationError has been added, and issues that
Rodauth believes are configuration errors now use this
exception class.
Other Improvements
The following methods are now public:
This makes it supported to call these methods and use the result
in your own code.
The verify-account-resend page now works if
verify_account_resend_explanatory_text calls
verify_account_email_recently_sent?. Rodauth does not do that
by default, but if you override
verify_account_resend_explanatory_text to use different text
depending on whether the email was recently sent, direct
navigations to the verify-account-resend page previously failed.
Rodauth now uses JWT.gem_version to check the JWT gem version, which
works with JWT 2.10.0. JWT 2.10.1 restored the constants Rodauth
used to check the version, but this allows the JWT to remove
such constants again in the future without breaking Rodauth.
Backwards Compatibility
rescued other exception classes, such as ArgumentError,
RuntimeError, or NotImplementedError.
Best,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions