- Add name prefix into custom EmailHeaders to avoid conflicts with reserved names Symfony\Component\Mime\Header\Headers::HEADER_CLASS_MAP
- Add more template examples in Laravel/Symfony docs
- Remove an expected message from the
testUnsupportedSchemeException
method (reason)
- Support mixed types in template_variables (array, string, int, float, bool)
- [BC BREAK] PHP 7.4 will no longer be supported (PHP 8.0+).
- [BC BREAK] Rebuild
Emails
layers to use theinboxId
at the client level (examples) - [BC BREAK] Rebuild SANDBOX
Projects
&Messages
&Attachments
&Inboxes
layers (examples) - [BC BREAK] Rebuild GENERAL
Accounts
&Permissions
&Users
layers (examples) - Added a short method to get the Email layer depending on config params
MailtrapClient::initSendingEmails()
- Added MailtrapEmail wrapper (MIME) for easy add category, custom variables, template uuid, etc.
- Use real value for template headers (should not be encoded as it is not a real header)
- Support new functionality Bulk Stream
- Add PHP 8.3 support (GitHub Actions)
- Support new Symfony packages v7 (mime, http-client, etc)
- Use Psr18ClientDiscovery instead of deprecated HttpClientDiscovery
- Support sandbox message endpoints. Examples here
- Support sandbox attachment endpoints. Examples here
- Support sandbox inbox endpoints. Examples here
- Support general permission endpoints. Examples here
- Support sandbox project endpoints. Examples here
- Support general account users endpoints. Examples here
- Breaking changes:
- move
accounts()
functions from thesandbox & sending
layers to thegeneral
- move
- Add the new
general
layer to mailtrapClient
- The initial release of the official mailtrap.io PHP client