| 148 |
lars |
1 |
CHANGELOG
|
|
|
2 |
=========
|
|
|
3 |
|
| 688 |
lars |
4 |
6.2.7
|
|
|
5 |
-----
|
|
|
6 |
|
|
|
7 |
* [BC BREAK] The following data providers for `TransportFactoryTestCase` are now static:
|
|
|
8 |
`supportsProvider()`, `createProvider()`, `unsupportedSchemeProvider()`and `incompleteDsnProvider()`
|
|
|
9 |
|
| 148 |
lars |
10 |
6.2
|
|
|
11 |
---
|
|
|
12 |
|
|
|
13 |
* Add a `mailer:test` command
|
|
|
14 |
* Add `SentMessageEvent` and `FailedMessageEvent` events
|
|
|
15 |
|
|
|
16 |
6.1
|
|
|
17 |
---
|
|
|
18 |
|
|
|
19 |
* Make `start()` and `stop()` methods public on `SmtpTransport`
|
|
|
20 |
* Improve extensibility of `EsmtpTransport`
|
|
|
21 |
|
|
|
22 |
6.0
|
|
|
23 |
---
|
|
|
24 |
|
|
|
25 |
* The `HttpTransportException` class takes a string at first argument
|
|
|
26 |
|
|
|
27 |
5.4
|
|
|
28 |
---
|
|
|
29 |
|
|
|
30 |
* Enable the mailer to operate on any PSR-14-compatible event dispatcher
|
|
|
31 |
|
|
|
32 |
5.3
|
|
|
33 |
---
|
|
|
34 |
|
|
|
35 |
* added the `mailer` monolog channel and set it on all transport definitions
|
|
|
36 |
|
|
|
37 |
5.2.0
|
|
|
38 |
-----
|
|
|
39 |
|
|
|
40 |
* added `NativeTransportFactory` to configure a transport based on php.ini settings
|
|
|
41 |
* added `local_domain`, `restart_threshold`, `restart_threshold_sleep` and `ping_threshold` options for `smtp`
|
|
|
42 |
* added `command` option for `sendmail`
|
|
|
43 |
|
|
|
44 |
4.4.0
|
|
|
45 |
-----
|
|
|
46 |
|
|
|
47 |
* [BC BREAK] changed the `NullTransport` DSN from `smtp://null` to `null://null`
|
|
|
48 |
* [BC BREAK] renamed `SmtpEnvelope` to `Envelope`, renamed `DelayedSmtpEnvelope` to
|
|
|
49 |
`DelayedEnvelope`
|
|
|
50 |
* [BC BREAK] changed the syntax for failover and roundrobin DSNs
|
|
|
51 |
|
|
|
52 |
Before:
|
|
|
53 |
|
|
|
54 |
dummy://a || dummy://b (for failover)
|
|
|
55 |
dummy://a && dummy://b (for roundrobin)
|
|
|
56 |
|
|
|
57 |
After:
|
|
|
58 |
|
|
|
59 |
failover(dummy://a dummy://b)
|
|
|
60 |
roundrobin(dummy://a dummy://b)
|
|
|
61 |
|
|
|
62 |
* added support for multiple transports on a `Mailer` instance
|
|
|
63 |
* [BC BREAK] removed the `auth_mode` DSN option (it is now always determined automatically)
|
|
|
64 |
* STARTTLS cannot be enabled anymore (it is used automatically if TLS is disabled and the server supports STARTTLS)
|
|
|
65 |
* [BC BREAK] Removed the `encryption` DSN option (use `smtps` instead)
|
|
|
66 |
* Added support for the `smtps` protocol (does the same as using `smtp` and port `465`)
|
|
|
67 |
* Added PHPUnit constraints
|
|
|
68 |
* Added `MessageDataCollector`
|
|
|
69 |
* Added `MessageEvents` and `MessageLoggerListener` to allow collecting sent emails
|
|
|
70 |
* [BC BREAK] `TransportInterface` has a new `__toString()` method
|
|
|
71 |
* [BC BREAK] Classes `AbstractApiTransport` and `AbstractHttpTransport` moved under `Transport` sub-namespace.
|
|
|
72 |
* [BC BREAK] Transports depend on `Symfony\Contracts\EventDispatcher\EventDispatcherInterface`
|
|
|
73 |
instead of `Symfony\Component\EventDispatcher\EventDispatcherInterface`.
|
|
|
74 |
* Added possibility to register custom transport for dsn by implementing
|
|
|
75 |
`Symfony\Component\Mailer\Transport\TransportFactoryInterface` and tagging with `mailer.transport_factory` tag in DI.
|
|
|
76 |
* Added `Symfony\Component\Mailer\Test\TransportFactoryTestCase` to ease testing custom transport factories.
|
|
|
77 |
* Added `SentMessage::getDebug()` and `TransportExceptionInterface::getDebug` to help debugging
|
|
|
78 |
* Made `MessageEvent` final
|
|
|
79 |
* add DSN parameter `verify_peer` to disable TLS peer verification for SMTP transport
|
|
|
80 |
|
|
|
81 |
4.3.0
|
|
|
82 |
-----
|
|
|
83 |
|
|
|
84 |
* Added the component.
|