Releases: zendframework/zend-mvc
zend-mvc 2.7.15
Added
- Nothing.
Changed
- #245 moves the zend-console dependency from
require-dev
torequire
, as it is
a requirement of theRequestFactory
, and removal of the package causes that factory to fail.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-mvc 2.7.14
Added
- #279 provides support for PHP 7.1 and 7.2.
Changed
- #279 changes the
Zend\Mvc\Controller\PluginManager
implementation to vary
based on zend-servicemanager major version detected in order to ensure the
signature ofget()
will be correct regardless of version.
Deprecated
- Nothing.
Removed
- #279 removes explicit support for PHP 5.5.
The code may, and likely will, continue to run on the 5.5 series, but we are
unable to continue testing it at this time as dependencies necessary for PHP
7.2 support have all bumped their minimum versions to PHP 5.6. If you use PHP
5.5, upgrade at your own risk.
Fixed
- Nothing.
zend-mvc 2.7.13
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
Updates the
Zend\Mvc\Controller\PluginManager::get()
signature to match that ofZend\ServiceManager\AbstractPluginManager::get()
, and thus ensure compatibility when running under PHP 7.2. -
#234 fixes docblock annotations in
AbstractActionController::indexAction
andnotFoundAction
to indicate they return aViewModel|ConsoleModel
and notarray
.
zend-mvc 3.1.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #247 fixes bug in controller plugin Forward, introduced in 3.1.0, where problem listeners were not detached for forwarded controller dispatch
zend-mvc 3.1.0
Added
-
#217 adds support for middleware pipelines when using the
MiddlewareListener
. You can now specify an _arrayof middleware for the
middlewareattached to a route, and it will be marshaled into a
Zend\Stratigility\MiddlewarePipe` instance, using the same rules as if you specified a single middleware. -
#236 adds the ability to attach dispatch listeners to middleware when using the
MiddlewareListener
. Attach shared events to the class identifierZend\Mvc\Controller\MiddlewareController
. This feature helps ensure that listeners that should run for every controller (e.g., authentication or authorization listeners) will run even for middleware. -
#231 adds a
composer.json
suggestion for zendframework/zend-paginator. -
#232 adds a
composer.json
suggestion for zendframework/zend-log.
Deprecated
- Nothing.
Removed
- #211 Removed unused zend-servicemanager v2 and zend-eventmanager v2 compatibility code since zend-mvc requires v3 of those components.
Fixed
- #237 fixes the return annotations for
HttpDefaultRenderingStrategyFactory::createService
andinjectLayoutTemplate()
to beHttpDefaultRenderingStrategy
and notHttpDefaultRendererStrategy
.
zend-mvc 2.7.12
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #235 fixes
FormAnnotationBuilderFactory::injectFactory()
to pass the correct arguments to the plugin manager'sinjectFactory()
initializer when running under zend-servicemanager v2.
zend-mvc 2.7.11
Added
- #233 adds a
replace
entry to thecomposer.json
indicating the package replaces zendframework/zend-router. This is done to prevent errors from installing both zend-mvc v2 with zend-router, which could lead to subtle errors when checking exceptions, locating route types, etc. Users should upgrade to zend-mvc v3 if they wish to use the standalone zend-router package.
Deprecated
- Nothing.
Removed
- #229 removes the zend-version package from the
require-dev
andsuggest
sections ofcomposer.json
, and updates theRouteNotFoundStrategy::getConsoleBanner()
method to no longer use the version constant. Since zend-version has had no real meaning since the 2.5 release, this removes ambiguity for end-users.
Fixed
- #223 fixes how the
FormAnnotationBuilderFactory
injects the builder with theFormElementManager
service such that it will work with the latest zend-form releases.
zend-mvc 3.0.4
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #210 copies the
RouteMatch
and its parameters to the PSR-7ServerRequest
object so that
they are available to middleware.
zend-mvc 3.0.3
Added
- #198 adds a factory for the
SendResponseListener
, to ensure that it is injected with an event manager instance from the outset; this fixes issues with delegator factories that registered listeners with it in previous versions.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
zend-mvc 3.0.2
Added
-
#163 adds support to the
AcceptableViewModelSelector
plugin for controller maps in theview_manager
configuration in the format:[ 'ControllerClassName' => 'view/name', ]
This fixes an issue observed when running with Apigility.
-
#163 adds support to the
InjectTemplateListener
for specifying whether or not to prefer the controller matched during routing via routing configuration:'route-name' => [ /* ... */ 'options' => [ /* ... */ 'defaults' => [ /* ... */ 'prefer_route_match_controller' => true, ], ], ],
This allows actions that might otherwise skip injection of the template to force the injection.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #161 fixes the
DispatchListener::marshalBadControllerEvent()
method to allow eitherThrowable
orException
types for the$exception
argument.