Skip to content

Commit c267be4

Browse files
Move CHANGELOG entry for rails#44179 to railties [ci-skip]
The CHANGELOG entry for rails#44179 originally focused on `ActiveSupport::MessageVerifiers` and `ActiveSupport::MessageEncryptors`, and made sense in `activesupport/CHANGELOG.md`. However, prior to merge, the focus changed to `Rails.application.message_verifiers`. Therefore, the CHANGELOG entry should be in `railties/CHANGELOG.md`.
1 parent 1ab9de5 commit c267be4

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

activesupport/CHANGELOG.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,6 @@
1717

1818
*Jean Boussier*
1919

20-
* Add `Rails.application.message_verifiers` as a central point to configure
21-
and create message verifiers for an application.
22-
23-
This allows applications to, for example, rotate old `secret_key_base`
24-
values:
25-
26-
```ruby
27-
config.before_initialize do |app|
28-
app.message_verifiers.rotate(secret_key_base: "old secret_key_base")
29-
end
30-
```
31-
32-
And for libraries to create preconfigured message verifiers:
33-
34-
```ruby
35-
ActiveStorage.verifier = Rails.application.message_verifiers["ActiveStorage"]
36-
```
37-
38-
*Jonathan Hefner*
39-
4020
* Add `assert_error_reported` and `assert_no_error_reported`
4121

4222
Allows to easily asserts an error happened but was handled

railties/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
* Add `Rails.application.message_verifiers` as a central point to configure
2+
and create message verifiers for an application.
3+
4+
This allows applications to, for example, rotate old `secret_key_base`
5+
values:
6+
7+
```ruby
8+
config.before_initialize do |app|
9+
app.message_verifiers.rotate(secret_key_base: "old secret_key_base")
10+
end
11+
```
12+
13+
And for libraries to create preconfigured message verifiers:
14+
15+
```ruby
16+
ActiveStorage.verifier = Rails.application.message_verifiers["ActiveStorage"]
17+
```
18+
19+
*Jonathan Hefner*
20+
121
* Support MySQL's ssl-mode option for the dbconsole command.
222
323
Verifying the identity of the database server requires setting the ssl-mode

0 commit comments

Comments
 (0)