The change log describes what been "Added", "Removed", "Changed" or "Fixed" between versions
- Added support for using any PSR-18 client
- Added support for providing PSR-17 factories in the mailer
- Removed support for HTTPlug 1 (HTTPlug 2 is still supported as it extends PSR-18).
- Deprecated
Stampie\Mailer::setMessageFactory
in favor of setting a PSR-17 RequestFactory
- Added support for PHP 8
- Removed support for PHP <7.2
- Fixed the Postmark endpoint to use https
- Fixed the handling of taggable messages without any tags in the Sendgrid mailer
- Marked HTTPlug 2 as supported.
- Support for Mailjet
- Support for Sparkpost
- Support for Mandrill subaccounts
- All exception implements
Stampie\ExceptionInterface
.
- The
Stampie\MailerInterface::send
method no longer return a boolean. Errors are now reported using exceptions that implementsStampie\ExceptionInterface
. As core mailers were already throwing exceptions when sending a message, the BC break impact is limited. - The
SendGrid
mailer is updated to version 3. Please update your token. - We use PSR-4 instead of PSR-0 for auto loading.
- The
setHttpClient
,setServerToken
andgetServerToken
methods have been removed fromStampie\MailerInterface
. Response
andResponseInterface
has been removed in favor of PSR-7.SendGrid::setServerToken()
was removed. Use constructor instead.
- Allow more special characters in password.
- Replaced our HTTP Adapters with HTTPlug.