2017-02-23 14:53:12 -05:00
|
|
|
## Rails 5.1.0.beta1 (February 23, 2017) ##
|
|
|
|
|
2017-02-03 04:54:04 -05:00
|
|
|
* Add `:args` to `process.action_mailer` event.
|
|
|
|
|
|
|
|
*Yuji Yaginuma*
|
|
|
|
|
2017-01-28 05:20:46 -05:00
|
|
|
* Add parameterized invocation of mailers as a way to share before filters and defaults between actions.
|
2017-02-21 11:45:50 -05:00
|
|
|
See `ActionMailer::Parameterized` for a full example of the benefit.
|
2017-01-28 05:20:46 -05:00
|
|
|
|
|
|
|
*DHH*
|
|
|
|
|
|
|
|
* Allow lambdas to be used as lazy defaults in addition to procs.
|
|
|
|
|
|
|
|
*DHH*
|
|
|
|
|
2016-11-30 20:59:53 -05:00
|
|
|
* Mime type: allow to custom content type when setting body in headers
|
|
|
|
and attachments.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
def test_emails
|
|
|
|
attachments["invoice.pdf"] = "This is test File content"
|
|
|
|
mail(body: "Hello there", content_type: "text/html")
|
|
|
|
end
|
|
|
|
|
|
|
|
*Minh Quy*
|
|
|
|
|
2016-05-13 20:43:48 -04:00
|
|
|
* Exception handling: use `rescue_from` to handle exceptions raised by
|
|
|
|
mailer actions, by message delivery, and by deferred delivery jobs.
|
|
|
|
|
|
|
|
*Jeremy Daer*
|
2016-05-06 17:54:40 -04:00
|
|
|
|
2016-05-10 00:07:09 -04:00
|
|
|
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/actionmailer/CHANGELOG.md) for previous changes.
|