|
1 |
| -* `MailerGenerator` now generates layouts by default. The HTML mailer layout |
2 |
| - now includes `<html>` and `<body>` tags which improve the spam rating in |
3 |
| - some spam detection engines. Mailers now inherit from `ApplicationMailer` |
4 |
| - which sets the default layout. |
5 |
| - |
6 |
| - *Andy Jeffries* |
7 |
| - |
8 |
| -* `link_to` and `url_for` now generate URLs by default in templates. |
9 |
| - Passing `only_path: false` is no longer needed. |
10 |
| - |
11 |
| - Fixes #16497 and #16589. |
12 |
| - |
13 |
| - *Xavier Noria*, *Richard Schneeman* |
14 |
| - |
15 |
| -* Attachments can now be added while rendering the mail template. |
16 |
| - |
17 |
| - Fixes #16974. |
18 |
| - |
19 |
| - *Christian Felder* |
20 |
| - |
21 |
| -* Add `#deliver_later` and `#deliver_now` methods and deprecate `#deliver` in |
22 |
| - favor of `#deliver_now`. `#deliver_later` will enqueue a job to render and |
23 |
| - deliver the mail instead of delivering it immediately. The job is enqueued |
24 |
| - using the new Active Job framework in Rails and will use the queue that you |
25 |
| - have configured in Rails. |
26 |
| - |
27 |
| - *DHH*, *Abdelkader Boudih*, *Cristian Bica* |
28 |
| - |
29 |
| -* `ActionMailer::Previews` are now class methods instead of instance methods. |
30 |
| - |
31 |
| - *Cristian Bica* |
32 |
| - |
33 |
| -* Deprecate `*_path` helpers in email views. They generated broken links in |
34 |
| - email views and were not the intention of most developers. The `*_url` |
35 |
| - helper is recommended instead. |
36 |
| - |
37 |
| - *Richard Schneeman* |
38 |
| - |
39 |
| -* Raise an exception when attachments are added after `mail` is called. |
40 |
| - This is a safeguard to prevent invalid emails. |
41 |
| - |
42 |
| - Fixes #16163. |
43 |
| - |
44 |
| - *Yves Senn* |
45 |
| - |
46 |
| -* Add `config.action_mailer.show_previews` configuration option. |
47 |
| - |
48 |
| - This configuration option can be used to enable the mail preview in |
49 |
| - environments other than development (such as staging). |
50 |
| - |
51 |
| - Defaults to `true` in development and `false` elsewhere. |
52 |
| - |
53 |
| - *Leonard Garvey* |
54 |
| - |
55 |
| -* Allow preview interceptors to be registered through |
56 |
| - `config.action_mailer.preview_interceptors`. |
57 |
| - |
58 |
| - See #15739. |
59 |
| - |
60 |
| - *Yves Senn* |
61 |
| - |
62 |
| -Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionmailer/CHANGELOG.md) |
63 |
| -for previous changes. |
| 1 | +Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/actionmailer/CHANGELOG.md) for previous changes. |
0 commit comments