mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b74edd37c5
* ActionMailer::Base can unregister observer(s) and interceptor(s). One or multiple mail observers can be unregistered using `ActionMailer::Base.unregister_observers` or `ActionMailer::Base.unregister_observer`. One or multiple mail interceptors can be unregistered using `ActionMailer::Base.unregister_interceptors` or `ActionMailer::Base.unregister_interceptor`. For preview interceptors, it's possible to use `ActionMailer::Base.unregister_preview_interceptors` or `ActionMailer::Base.unregister_preview_interceptor`. * Ensure to be reset registered observer(s) and interceptor(s) * Add explanation to CHANGELOG * Add original author's name [Kota Miyake + Rafael Mendonça França + Claudio Ortolina]
22 lines
767 B
Markdown
22 lines
767 B
Markdown
* Ensure mail gem is eager autoloaded when eager load is true to prevent thread deadlocks.
|
|
|
|
*Samuel Cochran*
|
|
|
|
* Perform email jobs in `assert_emails`.
|
|
|
|
*Gannon McGibbon*
|
|
|
|
* Add `Base.unregister_observer`, `Base.unregister_observers`,
|
|
`Base.unregister_interceptor`, `Base.unregister_interceptors`,
|
|
`Base.unregister_preview_interceptor` and `Base.unregister_preview_interceptors`.
|
|
This makes it possible to dynamically add and remove email observers and
|
|
interceptors at runtime in the same way they're registered.
|
|
|
|
*Claudio Ortolina*, *Kota Miyake*
|
|
|
|
* Rails 6 requires Ruby 2.4.1 or newer.
|
|
|
|
*Jeremy Daer*
|
|
|
|
|
|
Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/actionmailer/CHANGELOG.md) for previous changes.
|