Update dependency zendframework/zend-mail to v2.10.0 #81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.7
->2.10.0
Release Notes
zendframework/zend-mail
v2.10.0
Compare Source
Added
#213 re-adds support for PHP 5.6 and 7.0; ZF policy is never
to bump the major version of a PHP requirement unless the package is bumping major version.
#172 adds the flag
connection_time_limit
to the possibleZend\Mail\Transport\Smtp
options.This flag, when provided as a positive integer, and in conjunction with the
use_complete_quit
flag, willreconnect to the server after the specified interval.
#166 adds functionality for handling
References
andIn-Reply-To
headers.#148 adds the optional constructor argument
$comment
and the methodgetComment()
to the classZend\Mail\Address
. When a comment is present,toString()
will include it in the representation.#148 adds the method
Zend\Mail\Address::fromString(string $address, $comment = null) : Address
.The method can be used to generate an instance from a string containing a
(name)?<email>
value.The
$comment
argument can be used to associate a comment with the address.Changed
#196 updates how the
Headers::fromString()
handles header line continuationsthat include a single empty line, ensuring they are concatenated to the
header value.
#165 changes the
AbstractAddressList
IDN<->ASCII conversion; it now no longer requiresext-intl, but instead uses a bundled true/punycode library to accomplish it. This also means that
the conversions will work on any PHP installation.
Deprecated
Removed
Fixed
#211 fixes how the
ContentType
header class parses the value it receives. Previously,it was incorrectly splitting the value on semi-colons that were inside quotes; in now correctly
ignores them.
#204 fixes
HeaderWrap::mimeDecodeValue()
behavior when handling a multiline UTF-8header split across a character. The fix will only work when ext-imap is present, however.
#164 fixes the return value from
Zend\Mail\Protocol\Imap::capability()
when no response isreturned from the server; previously, it returned
false
, but now correctly returns an empty array.#148 fixes how
Zend\Mail\Header\AbstractAddressList
parses address values, ensuringthat they now retain any address comment discovered to include in the generated
Zend\Mail\Address
instances.#147 fixes how address lists are parsed, expanding the functionality to allow either
,
or;
delimiters (or both in combination).v2.9.0
Compare Source
Added
#181
#192
#189 PHP 7.2 support
#160 Support for
mails that don't have a
To
, as long asCc
orBcc
are set.useless try-catch that just re-throws.
checks for the existence of some string sub-sequences, which were
needlessly performed via regular expressions
Deprecated
Removed
Fixed
before calling
iconv_mime_decode()
, which destroys newlines, renderingDKIM parsing useless.
regression in which
<
and>
would appear doubled in messageidentifiers.
of
<
and>
being part of the email address comment.v2.8.0
Compare Source
Added
configuring whether or not an SMTP transport should issue a
QUIT
at__destruct()
and/or end of script execution. Use theuse_complete_quit
configuration flag and/or the
setuseCompleteQuit($flag)
method to changethe setting (default is to enable this behavior, which was the previous
behavior).
requirement on ext/iconv, as it is used internally.
php version to 5.6
for TLS versions 1.1 and 1.2 for all protocols supporting TLS operations.
Changed
Sendmail
transport such thatFrom
andSender
addresses are passed toescapeshellarg()
when forming the-f
argument for thesendmail
binary.While malformed addresses should never reach this class, this extra hardening
helps ensure safety in cases where a developer codes their own
AddressInterface
implementations for these types of addresses.Zend\Mail\Message::getHeaders()
to throw an exception in a case where the$headers
property is not aHeaders
instance.Smtp
protocol to allow an empty ornone
value for the SSL configurationvalue.
Deprecated
Removed
Fixed
in the
Sendmail
transport whereby CLI parameters were not properly trimmed.v2.7.3
Compare Source
Added
Deprecated
Removed
Fixed
whereby
getSender()
was unintentionally creating a blankSender
header,instead of returning
null
if none exists, fixing an issue in the SMTPtransport.
implementation to allow zero (
0
) values for header values.AbstractProtocol
handlesstream_socket_client()
errors, ensuring anexception is thrown with detailed information regarding the failure.
v2.7.2
Compare Source
Added
Deprecated
Removed
Fixed
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.