Releases: OpenBuildings/postmark
Releases · OpenBuildings/postmark
PSR-2, PSR-4 and Symfony conventions
The old interface is deprecated and will be removed in the next version. This release is a transitional release to the new interface. New things will be developed on top of the new one and 0.3.0
allows you to migrate gradually to it.
Summary of some of the changes:
Old | New |
---|---|
$transport->api() | $transport->getApi() |
$transport->api($api) | $transport->setApi($api) |
$api->token() | $api->getToken() |
$api->token($token) | $api->setToken($token) |
$api->headers() | $api->getHeaders() |
$api->is_secure() | $api->isSecure() |
$api->get_send_uri() | $api->getSendUri() |
and so on...
Calling the old methods would trigger an E_USER_DEPRECATED
error. You could suppress it with something like error_reporting(E_ALL & ~E_USER_DEPRECATED)
.
0.2.0: Use https:// protocol
0.1.6: Improve tests structure
0.1.5: Throw Postmark exception with specific error code
Add `multipart/alternative` content type
This makes it compatible with Laravel.
See #1.
Fix critical bug in email sending
0.1.3 Fix Postmrak email sending
0.1.2
0.1.1
Initial Release
Add readme, copyrights, make it a proper transport Added event handlers for the transport itself