Skip to content

Commit baf0d8e

Browse files
authoredOct 22, 2024··
Update CHANGELOG.md
1 parent 5b15bbe commit baf0d8e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
* breaking changes
44
* Drop support to Ruby < 2.7
55
* Drop support to Rails < 6.0
6+
* Remove `SecretKeyFinder` and use `app.secret_key_base` as the default secret key for `Devise.secret_key` if a custom `Devise.secret_key` is not provided.
7+
8+
This is potentially a breaking change because Devise previously used the following order to find a secret key:
9+
10+
```
11+
app.credentials.secret_key_base > app.secrets.secret_key_base > application.config.secret_key_base > application.secret_key_base
12+
```
13+
14+
Now, it always uses `application.secret_key_base`. Make sure you're using the same secret key after the upgrade; otherwise, previously generated tokens for `recoverable`, `lockable`, and `confirmable` will be invalid.
15+
https://github.com/heartcombo/devise/pull/5645
616
717
* enhancements
818
* Removed deprecations warning output for `Devise::Models::Authenticatable::BLACKLIST_FOR_SERIALIZATION` (@soartec-lab)

1 commit comments

Comments
 (1)

Faq commented on Oct 24, 2024

@Faq

When planned realese of new version with these last changes?

Please sign in to comment.