Sha256: f7406d7b06a14727bf5ce2a333a514c5cea84a26d82ac53f14b91db9b5ad826a

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

*   Attachments can be added while rendering the mail template.

    Fixes #16974.

    *Christian Felder*

*   Added `#deliver_later`, `#deliver_now` and deprecate `#deliver` in favour of
    `#deliver_now`. `#deliver_later` will enqueue a job to render and deliver
    the mail instead of delivering it right at that moment. The job is enqueued
    using the new Active Job framework in Rails, and will use whatever queue is
    configured for Rails.

    *DHH/Abdelkader Boudih/Cristian Bica*

*   Make `ActionMailer::Previews` methods class methods. Previously they were
    instance methods and `ActionMailer` tries to render a message when they
    are called.

    *Cristian Bica*

*   Deprecate `*_path` helpers in email views. When used they generate
    non-working links and are not the intention of most developers. Instead
    we recommend to use `*_url` helper.

    *Richard Schneeman*

*   Raise an exception when attachments are added after `mail` was called.
    This is a safeguard to prevent invalid emails.

    Fixes #16163.

    *Yves Senn*

*   Add `config.action_mailer.show_previews` configuration option.

    This config option can be used to enable the mail preview in environments
    other than development (such as staging).

    Defaults to `true` in development and false elsewhere.

    *Leonard Garvey*

*   Allow preview interceptors to be registered through
    `config.action_mailer.preview_interceptors`.

    See #15739.

    *Yves Senn*

Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionmailer/CHANGELOG.md) for previous changes.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
actionmailer-4.2.0.beta3 CHANGELOG.md
actionmailer-4.2.0.beta2 CHANGELOG.md