Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Releases: acmailer/acmailer

v8.2.0

16 Feb 18:45
b2b32a9
Compare
Choose a tag to compare

Added

  • #280 Added support for PHP 8

Changed

  • Migrated build to Github Actions.

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

v8.1.0

11 Oct 19:08
1497233
Compare
Choose a tag to compare

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 value true to the mail service config.

    When this is done and any of the event listener for PreSendEvent returns false, an AcMailer\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

19 Jul 20:31
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • #241 Replaced dependency on [laminas/laminas-eventmanager] by own basic implementation.
  • #220 Removed MailEvent class in favor of individual PreRenderEvent, PreSendEvent, PostSendEvent and SendErrorEvent 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

18 Dec 15:43
35f2c69
Compare
Choose a tag to compare

Added

  • #234 and #240 Added support for PHP 7.4.

Changed

Deprecated

  • Nothing

Removed

Fixed

  • Nothing

v7.4.1

27 May 06:04
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • #232 Fixed notice threw when MailServiceAbstractFactory::canCreate method is called and the name cannot be split in 3 parts.

v7.4.0

26 May 18:30
Compare
Choose a tag to compare

Added

Changed

  • #224 and #228 Updated dev dependencies.

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

v7.3.3

19 Jan 07:06
09aa0b7
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • #222 Fixed transport options being set on transports that have been configured as a plain instance or a service name. Now those transports are returned as they are in those two cases.

v7.3.2

15 Dec 19:52
6fe6bd2
Compare
Choose a tag to compare

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

02 Sep 07:01
Compare
Choose a tag to compare

Added

  • #207 Improved badges in readme file

Changed

  • #208 Updated to Infection 0.10

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

v7.3.0

03 Jun 07:52
281d5d6
Compare
Choose a tag to compare

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