This repository has been archived by the owner on Aug 20, 2021. It is now read-only.
Releases: acmailer/acmailer
Releases · acmailer/acmailer
v8.2.0
v8.1.0
Added
-
#266 Now it is possible to make emails which are cancelled to throw an exception instead of just return a MailResult with
isCancelled() === true
.In order to do it, set
throw_on_cancel
option with valuetrue
to the mail service config.When this is done and any of the event listener for
PreSendEvent
returns false, anAcMailer\Exception\MailCancelledException
will be thrown.
Changed
- #270 Improved docs, so that error handling is explained in "Usage" section.
- #263 Increased required mutation score to 90%.
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #262 Fixed builds in scrutinizer-ci.com
v8.0.0
Added
- Nothing
Changed
- #241 Replaced dependency on [laminas/laminas-eventmanager] by own basic implementation.
- #220 Removed
MailEvent
class in favor of individualPreRenderEvent
,PreSendEvent
,PostSendEvent
andSendErrorEvent
classes. - #259 Increased required mutation score to 85%.
- #248 Updated to [shlinkio/php-coding-standard] v2.1
- #253 Updated phpstan, infection and phpunti to latest versions.
Deprecated
- Nothing
Removed
- #243 Dropped support for Zend Framework and Zend Expressive in favor of the new project brand, Laminas and Mezzio.
- #245 Dropped support for PHP < 7.4.
Fixed
- Nothing
v7.5.0
v7.4.1
v7.4.0
v7.3.3
v7.3.2
Added
- #211 Added PHP 7.3 to the build matrix.
Changed
- #212 Performance and maintainability slightly improved by enforcing via code sniffer that all global namespace classes, functions and constants are explicitly imported.
- #215 Updated infection to v0.11.
- #216 Added dependency on Shlinkio coding standard.
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #218 Fixed
FilePathAttachmentParser
trying to acquire write permissions on provided attachment when it does not really need that permission, which could result in filesystem errors.
v7.3.1
v7.3.0
Added
-
#201 Added the ability to define custom email headers.
Now you can easily add custom headers to pre-configured and inline emails.
// config [ 'custom_headers' => [ 'X-Company' => 'My company', ], ], // inline $mailService->send('my_email', ['custom_headers' => [ 'X-Company' => 'My company', ]]); $mailService->send((new Email())->setCustomHeaders([ 'X-Company' => 'My company', ]));
-
#204 Updated some of the changelog entries to use the keepachangelog.com recommendation.
Changed
- Nothing
Deprecated
- Nothing
Removed
- Nothing
Fixed
- Nothing