-
Action Mailer no longer have a hard dependency on Active Job.
If using Action Mailer standalone, as in outside Rails, and depend on the
deliver_laterfeature, you may need to add Active Job in your Gemfile.Jean Boussier
-
Raise when ActionMailer.deliver_all_later is called with a message that was already accessed.
Previously, the messages were enqueued and any local changes were silently lost, while
deliver_laterraises in the same situation.Bastin
-
Add support for
config.action_mailer.raise_on_missing_callback_actionswhen using_delivercallbacks withonly:andexcept:options.Iaroslav
-
Add
assert_partandassert_no_partto::ActionMailer::TestCasetest "assert MyMailer.welcome HTML and text parts" do mail = MyMailer.welcome("Hello, world") assert_part :text, mail do |text| assert_includes text, "Hello, world" end assert_part :html, mail do |html| assert_dom html.root, "p", "Hello, world" end endSean Doyle
Please check8-1-stable for previous changes.