CHANGELOG
=========

8.2
---

 * Add `MimeBundle`, which provides the MIME type guessing services previously provided by `FrameworkBundle`
 * Support `binary` as a `Content-Transfer-Encoding`
 * Add `PgpSigner` and `PgpEncrypter` to sign and encrypt messages with PGP/MIME
 * Add `AbstractPart::setContentTypeParameter()`
 * Add the `Group` class to put a group of mailboxes in a mailbox list header (RFC 5322 and RFC 6854)
 * Add `MailboxListHeader::getAddressList()` and `MailboxListHeader::createAddressList()`
 * Make `Email::ensureBodyValid()` protected
 * Make `FormDataPart` keep the encoding of parts created with an explicit `$encoding` instead of forcing `8bit`
 * Add argument `$encoding` to `DataPart::fromPath()`
 * Use the global clock of symfony/clock, when installed, for the default `Date` header and for the timestamp of DKIM signatures

8.0
---

 * Replace `__sleep/wakeup()` by `__(un)serialize()` on `AbstractPart` implementations

7.4
---

 * Deprecate implementing `__sleep/wakeup()` on `AbstractPart` implementations; use `__(un)serialize()` instead

7.0
---

 * Remove `Email::attachPart()`, use `Email::addPart()` instead
 * Argument `$body` is now required (at least null) in `Message::setBody()`
 * Require explicit argument when calling `Message::setBody()`

6.3
---

 * Support detection of related parts if `Content-Id` is used instead of the name
 * Add `TextPart::getDisposition()`

6.2
---

 * Add `File`
 * Deprecate `Email::attachPart()`, use `addPart()` instead
 * Deprecate calling `Message::setBody()` without arguments

6.1
---

 * Add `DataPart::getFilename()` and `DataPart::getContentType()`

6.0
---

 * Remove `Address::fromString()`, use `Address::create()` instead
 * Remove `Serializable` interface from `RawMessage`

5.2.0
-----

 * Add support for DKIM
 * Deprecated `Address::fromString()`, use `Address::create()` instead

4.4.0
-----

 * [BC BREAK] Removed `NamedAddress` (`Address` now supports a name)
 * Added PHPUnit constraints
 * Added `AbstractPart::asDebugString()`
 * Added `Address::fromString()`

4.3.3
-----

 * [BC BREAK] Renamed method `Headers::getAll()` to `Headers::all()`.

4.3.0
-----

 * Introduced the component as experimental
