Skip to content

Commit c957964

Browse files
Added ActionMailer notable features and deprecations to 7.1 release note
Unwanted changes
1 parent 153eae8 commit c957964

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
@@ -244,8 +244,20 @@ Please refer to the [Changelog][action-mailer] for detailed changes.
244244

245245
### Deprecations
246246

247+
* Deprecated `config.action_mailer.preview_path`.
248+
249+
* Deprecated passing params to `assert_enqueued_email_with` via the `:args` kwarg.
250+
Now supports a `:params` kwarg, so use that to pass params.
251+
247252
### Notable changes
248253

254+
* Add `config.action_mailer.preview_paths` to support multiple preview paths.
255+
256+
* Add `capture_emails` in the test helper to capture all emails sent in a block.
257+
258+
* Add `deliver_enqueued_emails` to `ActionMailer::TestHelper` to deliver all enqueued email jobs.
259+
260+
249261
Active Record
250262
-------------
251263

@@ -257,7 +269,7 @@ Please refer to the [Changelog][active-record] for detailed changes.
257269

258270
* Remove deprecated `ActiveRecord::Base` config accessors
259271

260-
* Remove support for `:include_replicas` on `configs_for`. Use `:include_hidden` instead.
272+
* Remove support for `:include_replicas` on `configs_for`. Use `:include_hidden` instead.
261273

262274
* Remove deprecated `config.active_record.partial_writes`.
263275

0 commit comments

Comments
 (0)