Releases: laminas/laminas-mail
2.12.5
2.12.5 - 2020-12-31
Release Notes for 2.12.5
2.12.x bugfix release (patch)
2.12.5
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug
2.12.4
Release Notes for 2.12.4
2.12.4
- Total issues resolved: 1
- Total pull requests resolved: 2
- Total contributors: 1
Bug
2.12.3
Release 2.12.3
2.12.3
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Bug,Documentation
2.12.2
Release 2.12.2
2.12.2
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 1
Bug
2.12.1
Release 2.12.1
2.12.1
-
Total issues resolved: 0
-
Total pull requests resolved: 1
-
Total contributors: 1
-
102: fix IMAP constructor annotation thanks to @Piskvor
laminas-mail 2.12.0
Added
-
#95 adds a new interface,
Laminas\Mail\Header\HeaderLocatorInterface
. This defines classes that will locate header classes based on an email header name. -
#95 adds a new class,
Laminas\Mail\Header\HeaderLocator
, implementingLaminas\Mail\Header\HeaderLocatorInterface
. This is the default implementation of that new interface. -
#95 adds the methods
setHeaderLocator(Laminas\Mail\Header\HeaderLocatorInterface $locator)
andgetHeaderLocator(): Laminas\Mail\Header\HeaderLocatorInterface
to theLaminas\Mail\Headers
implementation. Users are encouraged to use these when providing custom header implementations in order to prepare for a 3.0 release. The value ofgetHeaderLocator()
will now be used as the default mechanism for resolving header names to header classes. -
#94 and #99 add the "novalidatecert" option for each of the POP3, IMAP, and SMTP protocol implementations. When toggled true, you can connect to servers using self-signed certificates.
Changed
- #95 bumps the minimum supported PHP version to 7.1.
Deprecated
-
#99 deprecates the
Laminas\Mail\Protocol\AbstractProtocol::_connect()
method, as it is no longer used internally. -
#95 deprecates
Laminas\Mail\Header\HeaderLoader
in favor of the newLaminas\Mail\Header\HeaderLocator
class. The class will be removed in version 3.0.0. -
#95 deprecates the
Headers::getPluginClassLoader()
andHeaders::setPluginClassLoader()
methods, in favor of the newsetHeaderLocator()
andgetHeaderLocator()
methods. These methods will be removed in version 3.0.0, and laminas-loaderPluginClassLocator
instances will no longer be supported. Please update your code to use the newHeaderLocatorInterface
instead.
Removed
- #98 removes
Laminas\Mail\Transport\Null
, as it is unusable with the new minimum supported PHP version (7.1). Users should useLaminas\Mail\Transport\InMemory
instead. As this has been the default when requesting a "null" transport fromLaminas\Mail\Transport\Factory
for the past several minor releases, end-users should be unaffected. However, users are encouraged to specify "inmemory" instead of "null" when requiring a no-op transport.
Fixed
- Nothing.
laminas-mail 2.11.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #97 adds code to
Header\ContentType::addParameter()
to ensure the value is trimmed of whitespace, fixing issues whereby filenames might contain a leading or trailing space.
laminas-mail 2.11.0
Added
- #31 adds the class
Laminas\Main\Header\ContentDisposition
, which implementsLaminas\Mail\Header\UnstructuredInterface
, and which provides propery encoding and escaping forContent-Disposition
mail headers.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #31 provides a fix to ensure that the
Content-Disposition
header is properly encoded.
laminas-mail 2.10.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
laminas-mail 2.10.1
Added
- #81 adds PHP 7.3 and 7.4 support.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#83 fixes PHPDocs in
Transport\InMemory
(last message can benull
). -
#84 fixes PHP 7.4 compatibility.
-
#82 fixes numerous issues in
Storage\Maildir
. This storage adapter was not working before and unit tests were disabled. -
#75 fixes how
Laminas\Mail\Header\ListParser::parse()
parses the string with quotes. -
#88 fixes recognising encoding of
Subject
andGenericHeader
headers.