Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

zend-log 2.5.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 06 Jul 21:36
· 424 commits to master since this release

Added

  • #2 adds the ability to specify the mail transport via the configuration options for a mail log writer, using the same format supported by Zend\Mail\Transport\Factory::create(); as an example:
$writer = new MailWriter([
    'mail' => [
        // message options
    ],
    'transport' => [
        'type' => 'smtp',
        'options' => [
             'host' => 'localhost',
        ],
    ],
]);

Deprecated

  • Nothing.

Removed

  • #43 removed both ServerRequestFactory::marshalUri() and ServerRequestFactory::marshalHostAndPort(), which were deprecated prior to the 1.0 release.

Fixed

  • #4 adds better, more complete verbiage to the composer.json suggest section, to detail why and when you might need additional dependencies.
  • #1 updates the code to remove conditionals related to PHP versions prior to PHP 5.5, and use bound closures in tests (not possible before 5.5).