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

Releases: zendframework/zend-mvc

zend-mvc 2.7.15

03 May 13:16
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #245 moves the zend-console dependency from require-dev to require, as it is
    a requirement of the RequestFactory, and removal of the package causes that factory to fail.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-mvc 2.7.14

02 May 22:31
Compare
Choose a tag to compare

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 of get() 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

14 Dec 22:45
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Updates the Zend\Mvc\Controller\PluginManager::get() signature to match that of Zend\ServiceManager\AbstractPluginManager::get(), and thus ensure compatibility when running under PHP 7.2.

  • #234 fixes docblock annotations in AbstractActionController::indexAction and notFoundAction to indicate they return a ViewModel|ConsoleModel and not array.

zend-mvc 3.1.1

24 Nov 06:40
release-3.1.1
Compare
Choose a tag to compare

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

01 May 20:24
Compare
Choose a tag to compare

Added

  • #217 adds support for middleware pipelines when using the MiddlewareListener. You can now specify an _arrayof middleware for themiddlewareattached to a route, and it will be marshaled into aZend\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 identifier Zend\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 and injectLayoutTemplate() to be HttpDefaultRenderingStrategy and not HttpDefaultRendererStrategy.

zend-mvc 2.7.12

27 Apr 15:45
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #235 fixes FormAnnotationBuilderFactory::injectFactory() to pass the correct arguments to the plugin manager's injectFactory() initializer when running under zend-servicemanager v2.

zend-mvc 2.7.11

27 Apr 14:37
Compare
Choose a tag to compare

Added

  • #233 adds a replace entry to the composer.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 and suggest sections of composer.json, and updates the RouteNotFoundStrategy::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 the FormElementManager service such that it will work with the latest zend-form releases.

zend-mvc 3.0.4

20 Dec 15:45
release-3.0.4
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #210 copies the
    RouteMatch and its parameters to the PSR-7 ServerRequest object so that
    they are available to middleware.

zend-mvc 3.0.3

29 Aug 18:44
Compare
Choose a tag to compare

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

  • #184 provides a performance optimization for DELETE requests to AbstractRestfulController instances.
  • #187 removes a typehint for Exception from an argument in DispatchListener::marshalControllerNotFoundEvent(), allowing it to be used with PHP 7 Throwable instances.

zend-mvc 3.0.2

30 Jun 20:32
Compare
Choose a tag to compare

Added

  • #163 adds support to the AcceptableViewModelSelector plugin for controller maps in the view_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 either Throwable or Exception types for the $exception argument.