Skip to content

Releases: laminas/laminas-mail

2.12.5

31 Dec 11:42
2.12.5
ed5b36a
Compare
Choose a tag to compare

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

31 Dec 11:20
2.12.4
cf8c13b
Compare
Choose a tag to compare

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

12 Aug 20:50
2.12.3
Compare
Choose a tag to compare

Release 2.12.3

2.12.3

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Bug,Documentation

2.12.2

06 Aug 14:35
2.12.2
Compare
Choose a tag to compare

Release 2.12.2

2.12.2

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 1

Bug

2.12.1

05 Aug 15:30
2.12.1
Compare
Choose a tag to compare

Release 2.12.1

2.12.1

laminas-mail 2.12.0

30 Jul 16:10
2.12.0
Compare
Choose a tag to compare

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, implementing Laminas\Mail\Header\HeaderLocatorInterface. This is the default implementation of that new interface.

  • #95 adds the methods setHeaderLocator(Laminas\Mail\Header\HeaderLocatorInterface $locator) and getHeaderLocator(): Laminas\Mail\Header\HeaderLocatorInterface to the Laminas\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 of getHeaderLocator() 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 new Laminas\Mail\Header\HeaderLocator class. The class will be removed in version 3.0.0.

  • #95 deprecates the Headers::getPluginClassLoader() and Headers::setPluginClassLoader() methods, in favor of the new setHeaderLocator() and getHeaderLocator() methods. These methods will be removed in version 3.0.0, and laminas-loader PluginClassLocator instances will no longer be supported. Please update your code to use the new HeaderLocatorInterface instead.

Removed

  • #98 removes Laminas\Mail\Transport\Null, as it is unusable with the new minimum supported PHP version (7.1). Users should use Laminas\Mail\Transport\InMemory instead. As this has been the default when requesting a "null" transport from Laminas\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

28 Jul 21:19
2.11.1
Compare
Choose a tag to compare

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

30 Jun 20:18
2.11.0
Compare
Choose a tag to compare

Added

  • #31 adds the class Laminas\Main\Header\ContentDisposition, which implements Laminas\Mail\Header\UnstructuredInterface, and which provides propery encoding and escaping for Content-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

30 Jun 19:56
2.10.2
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #89 corrects two parameter typehints within the Storage subcomponent to correctly detail what they allow.

  • #93 fixes an issue whereby an address containing a ; character was not getting quoted, causing it to be interpreted as an address separator instead of part of the address.

laminas-mail 2.10.1

21 Apr 16:46
2.10.1
cfe0711
Compare
Choose a tag to compare

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 be null).

  • #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 and GenericHeader headers.