All notable changes to this project will be documented in this file, in reverse chronological order by release.
replace version constraint in composer.json so repository can be used as replacement of zendframework/zend-mime:^2.7.2.Mime::encodeQuotedPrintable() for big strings by avoiding copying of the whole string in the loop.Laminas\Mime\Decode::splitMessage to set Laminas\Mail\Headers
instance always for $headers parameter. Before, when messages
without headers was provided, $headers was an empty array.zendframework/zend-mime#27 adds a fluent
interface to the various setters in Laminas\Mime\Message.
zendframework/zend-mime#28 adds support for PHP versions 7.1 and 7.2.
zendframework/zend-mime#28 removes support for PHP 5.5.
zendframework/zend-mime#28 removes support for HHVM.
zendframework/zend-mime#26 ensures commas included within list data items are ASCII encoded, ensuring that the items will split on commas correctly (instead of splitting within an item).
zendframework/zend-mime#30 fixes how EOL
characters are detected, to ensure that mail using \r\n as an EOL sequence
(including mail emitted by Cyrus and Dovecot) will be properly parsed.
Laminas\Mime\Message::createFromMessage()
by omitting the $boundary argument.InvalidArgumentException when detected.Laminas\Mime\Part::setContent().Mime::mimeDetectCharset(), which can be used to detect the charset
of a given string (usually a header) according to the rules specified in
RFC-2047.Mime::encodeBase64()'s behavior when presented with lines of invalid
lengths (not multiples of 4).Mime::encodeQuotedPrintable() to ensure it never creates a header line
consisting of only a dot (concatenation character), a situation that can break
parsing by Outlook.