Skip to content

Commit 0b1f33e

Browse files
authored
Merge pull request rails#49035 from akhilgkrishnan/action_mailer_release_note
[skip ci] Added ActionMailer notable features and deprecations to 7.1 release note
2 parents fcda3a8 + c957964 commit 0b1f33e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

guides/source/7_1_release_notes.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,20 @@ Please refer to the [Changelog][action-mailer] for detailed changes.
268268

269269
### Deprecations
270270

271+
* Deprecated `config.action_mailer.preview_path`.
272+
273+
* Deprecated passing params to `assert_enqueued_email_with` via the `:args` kwarg.
274+
Now supports a `:params` kwarg, so use that to pass params.
275+
271276
### Notable changes
272277

278+
* Add `config.action_mailer.preview_paths` to support multiple preview paths.
279+
280+
* Add `capture_emails` in the test helper to capture all emails sent in a block.
281+
282+
* Add `deliver_enqueued_emails` to `ActionMailer::TestHelper` to deliver all enqueued email jobs.
283+
284+
273285
Active Record
274286
-------------
275287

@@ -281,7 +293,7 @@ Please refer to the [Changelog][active-record] for detailed changes.
281293

282294
* Remove deprecated `ActiveRecord::Base` config accessors
283295

284-
* Remove support for `:include_replicas` on `configs_for`. Use `:include_hidden` instead.
296+
* Remove support for `:include_replicas` on `configs_for`. Use `:include_hidden` instead.
285297

286298
* Remove deprecated `config.active_record.partial_writes`.
287299

0 commit comments

Comments
 (0)