Skip to content

Commit 47d4c16

Browse files
committed
Bump version to 2.38.0
1 parent f711fdd commit 47d4c16

File tree

3 files changed

+49
-4
lines changed

3 files changed

+49
-4
lines changed

CHANGELOG

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
=== master
1+
=== 2.38.0 (2025-01-15)
22

33
* Make verify-account-resend page work if verify_account_resend_explanatory_text calls verify_account_email_recently_sent? (jeremyevans)
44

@@ -8,8 +8,6 @@
88

99
* Use JWT.gem_version to check jwt gem version, for compatibility with jwt 2.10.0 (janko) (#462)
1010

11-
* Fix strict_unused_block warnings when running specs on Ruby 3.4 (jeremyevans)
12-
1311
* Make rodauth.*_email_recently_sent? methods public (jeremyevans)
1412

1513
* Add Rodauth::ConfigurationError, and use it for configuration errors (janko) (#458)

doc/release_notes/2.38.0.txt

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
= New Features
2+
3+
* Rodauth now automatically supports fixed locals in templates if
4+
using Roda 3.88+ and Tilt 2.6+. This allows you to use the
5+
Roda default_fixed_locals: '()' template option without breaking
6+
Rodauth. If the default fixed locals support breaks your Rodauth
7+
configuration, such as if you are overriding Rodauth templates
8+
and modifying the local variables they accept, you can disable
9+
the use of fixed locals in your Rodauth configuration:
10+
11+
use_template_fixed_locals? false
12+
13+
* Rodauth::ConfigurationError has been added, and issues that
14+
Rodauth believes are configuration errors now use this
15+
exception class.
16+
17+
= Other Improvements
18+
19+
* The following methods are now public:
20+
21+
* has_password?
22+
* email_auth_email_recently_sent?
23+
* unlock_account_email_recently_sent?
24+
* reset_password_email_recently_sent?
25+
* verify_account_email_recently_sent?
26+
27+
This makes it supported to call these methods and use the result
28+
in your own code.
29+
30+
* The verify-account-resend page now works if
31+
verify_account_resend_explanatory_text calls
32+
verify_account_email_recently_sent?. Rodauth does not do that
33+
by default, but if you override
34+
verify_account_resend_explanatory_text to use different text
35+
depending on whether the email was recently sent, direct
36+
navigations to the verify-account-resend page previously failed.
37+
38+
* Rodauth now uses JWT.gem_version to check the JWT gem version, which
39+
works with JWT 2.10.0. JWT 2.10.1 restored the constants Rodauth
40+
used to check the version, but this allows the JWT to remove
41+
such constants again in the future without breaking Rodauth.
42+
43+
= Backwards Compatibility
44+
45+
* The change to use Rodauth::ConfigurationError can break code that
46+
rescued other exception classes, such as ArgumentError,
47+
RuntimeError, or NotImplementedError.

lib/rodauth/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Rodauth
66
MAJOR = 2
77

88
# The minor version of Rodauth, updated for new feature releases of Rodauth.
9-
MINOR = 37
9+
MINOR = 38
1010

1111
# The patch version of Rodauth, updated only for bug fixes from the last
1212
# feature release.

0 commit comments

Comments
 (0)