All notable changes to this project will be documented in this file, in reverse chronological order by release.
- #9 added PHP 8.x support.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-mvc-console#24 adds support for PHP 7.1 and 7.2.
- Nothing.
- Nothing.
- zendframework/zend-mvc-console#24 removes support for HHVM.
- zendframework/zend-mvc-console#21 adds a missing import statement for
Laminas\Router\RouteMatch
to theConsoleViewHelperManagerDelegatorFactory
class.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-mvc-console#11 ups the
minimum supported laminas-mvc version to 3.0.3, to ensure that the
SendResponseListenerFactory
is present, fixing an issue with console output. - zendframework/zend-mvc-console#15 promotes
Laminas\Mvc\Console\View\ViewManager::getView()
to public visibility, matching the API ofLaminas\Mvc\View\Http\ViewManager
.
- Nothing.
- Nothing.
- Nothing.
- zendframework/zend-mvc-console#8 marks laminas-mvc versions less than 3.0.0 as conflicts.
- zendframework/zend-mvc-console#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
toLaminas\Router\RouteStackInterface
instead ofRouter
, as the former is what laminas-router now defines as the canonical service name; this change ensures the delegator factory intercepts correctly.
- Adds
Laminas\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 laminas-mvc constraint to allow using either current development versions of laminas-mvc, or stable 3.0 releases once available.
- Nothing.
- Nothing.
- Nothing.
- This release fixes development requirements to ensure tests can be executed.
- zendframework/zend-mvc-console#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.
- zendframework/zend-mvc-console#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.
- zendframework/zend-mvc-console#3 adds the
CreateConsoleNotFoundModel
controller plugin from laminas-mvc. This also required addingLaminas\Mvc\Console\Service\ControllerPluginManagerDelegatorFactory
to ensure it is present in the controller plugin manager when in a console context. - zendframework/zend-mvc-console#3 adds
Laminas\Mvc\Console\Service\ControllerManagerDelegatorFactory
, to add an initializer for injecting a console adapter intoAbstractConsoleController
instances.
- Nothing.
- Nothing.
- zendframework/zend-mvc-console#3 updates the
AbstractConsoleController
to override thenotFoundAction()
and always return the return value of theCreateConsoleNotFoundModel
plugin. - zendframework/zend-mvc-console#3 updates the
AbstractConsoleController
to mark it as abstract, as was always intended, but evidently never implemented, in laminas-mvc.
First stable release.
This component replaces the various console utilities in laminas-mvc, laminas-router, and laminas-view, and provides integration between each of those components and laminas-console.
While this is a stable release, please wait to use it until a v3 release of laminas-mvc, which will remove those features, to ensure everything works together as expected.
- Nothing.
- Nothing.
- Nothing.
- Nothing.