All notable changes to this project will be documented in this file, in reverse chronological order by release.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #24 adds support for PHP 7.1 and 7.2.
- Nothing.
- Nothing.
- #24 removes support for HHVM.
- #21 adds a missing import statement for
Zend\Router\RouteMatch
to theConsoleViewHelperManagerDelegatorFactory
class.
- Nothing.
- Nothing.
- Nothing.
- #11 ups the
minimum supported zend-mvc version to 3.0.3, to ensure that the
SendResponseListenerFactory
is present, fixing an issue with console output. - #15 promotes
Zend\Mvc\Console\View\ViewManager::getView()
to public visibility, matching the API ofZend\Mvc\View\Http\ViewManager
.
- Nothing.
- Nothing.
- Nothing.
- #8 marks zend-mvc versions less than 3.0.0 as conflicts.
- #7 adds support
for handling any PHP 7
Throwable
, not justException
s, within theRouteNotFoundStrategy
andExceptionStrategy
.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- The
ConsoleApplicationDelegatorFactory
is deprecated in favor of theViewManagerDelegatorFactory
, as the former does not work correctly in unit test situations, and the latter works correctly for both testing and in production usage.
- Nothing.
- Re-maps the
ConsoleRouterDelegatorFactory
toZend\Router\RouteStackInterface
instead ofRouter
, as the former is what zend-router now defines as the canonical service name; this change ensures the delegator factory intercepts correctly.
- Adds
Zend\Mvc\Console\Service\ViewManagerDelegatorFactory
, which listens for theViewManager
service and, if in a console environment, returns theConsoleViewManager
service instead.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Updates the
ConfigProvider::getDependencyConfig()
to add aliases forconsole
andConsole
, targeting theConsoleAdapter
service. These were used internally, and were previously missing definitions.
- Nothing.
- Nothing.
- Nothing.
- Updates the
ConfigProvider::getDependencyConfig()
to remove the delegator entry forControllerPluginManager
, as the referenced delegator does not exist (it was never created, as plugins can be provided via configuration).
- Nothing.
- Nothing.
- Nothing.
- Updates the
ConfigProvider::getDependencyConfig()
to rename the keydelegator_factories
todelegators
(as the latter is the key the service manager looks for).
- Nothing.
- Nothing.
- Nothing.
- Updates the zend-mvc constraint to allow using either current development versions of zend-mvc, or stable 3.0 releases once available.
- Nothing.
- Nothing.
- Nothing.
- This release fixes development requirements to ensure tests can be executed.
- #5 fixes the
ConsoleExceptionStrategyFactory
to only inject an exception message if one was present in configuration; previously, it was overriding the default message with an empty string in such situations.
- Nothing.
- Nothing.
- Nothing.
- #4 updates the code base to work with zendframework/zend-mvc@e1e42c33. As that revision (a) removes console-related functionality, and (b) removes routing functionality, it detailed further changes to this component required to ensure it runs correctly as a module.
- #3 adds the
CreateConsoleNotFoundModel
controller plugin from zend-mvc. This also required addingZend\Mvc\Console\Service\ControllerPluginManagerDelegatorFactory
to ensure it is present in the controller plugin manager when in a console context. - #3 adds
Zend\Mvc\Console\Service\ControllerManagerDelegatorFactory
, to add an initializer for injecting a console adapter intoAbstractConsoleController
instances.
- Nothing.
- Nothing.
- #3 updates the
AbstractConsoleController
to override thenotFoundAction()
and always return the return value of theCreateConsoleNotFoundModel
plugin. - #3 updates the
AbstractConsoleController
to mark it as abstract, as was always intended, but evidently never implemented, in zend-mvc.
First stable release.
This component replaces the various console utilities in zend-mvc, zend-router, and zend-view, and provides integration between each of those components and zend-console.
While this is a stable release, please wait to use it until a v3 release of zend-mvc, which will remove those features, to ensure everything works together as expected.
- Nothing.
- Nothing.
- Nothing.
- Nothing.