Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Latest commit

 

History

History
133 lines (85 loc) · 2.92 KB

CHANGELOG.md

File metadata and controls

133 lines (85 loc) · 2.92 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

1.4.1 - TBD

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

1.4.0 - 2017-11-27

Added

  • #41 adds support for PHP versions 7.1 and 7.2.

Changed

  • #40 changes the dependency on container-interop/container-interop to psr/container, and updates internal typehints against container-interop to reference the PSR-11 typehint instead. This should generally not be an issue, as most containers that still typehint against container-interop will use the last version of container-interop, which extends the PSR-11 interface.

Deprecated

  • Nothing.

Removed

  • #41 removes support for HHVM.

Fixed

  • Nothing.

1.3.0 - 2016-07-11

Added

  • #28 adds the ability to provide an Interop\Container\ContainerInterface instance to ZF\Console\Dispatcher during instantiation; when present, dispatch() will attempt to look up command callables via the container. This allows simpler configuration:

    $dispatch = new Dispatcher($container);
    
    $routes = [
        [
            'name' => 'hello',
            'handler' => HelloCommand::class,
        ],
    ];
    
    $app = new Application('App', 1.0, $routes, null, $dispatcher);

    (vs wrapping the handler in a closure.)

  • #29 adds the ability to disable output of the banner in two ways:

    $application->setBannerDisabledForUserCommands(true);
    $application->setBanner(null);

    You may also now disable a previously enabled footer by passing a null value:

    $application->setFooter(null);
  • #30 adds ZF\Console\DispatcherInterface, which defines the methods map(), has(), and dispatch(); Dispatcher now implements the interface. By providing an interface, consumers may now provide their own implementation when desired.

  • #35 adds support for v3 components from Zend Framework, retaining backwards compatibility with v2 releases.

Deprecated

  • Nothing.

Removed

  • #35 removes support for PHP 5.5.

Fixed

  • #34 updates the ExceptionHandler to allow handling either exceptions or PHP 7 Throwables.

1.2.1 - 2016-07-11

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #26 fixes the Route::isMatched() implementation to use the stored $matches property.