@@ -34,6 +34,21 @@ your application configuration. Components are pushed to the top of the module
34
34
list, while modules are pushed to the end. As a development component, it will
35
35
not be installed in your production distributions.
36
36
37
+ ## Updated dependencies
38
+
39
+ The v3 release now * requires* :
40
+
41
+ - zend-http
42
+ - zend-modulemanager
43
+ - zend-router
44
+ - zend-view
45
+
46
+ Additionally, the following components require their v3 releases:
47
+
48
+ - zend-eventmanager
49
+ - zend-servicemanager
50
+ - zend-stdlib
51
+
37
52
## Application class
38
53
39
54
The following changes were made to the ` Zend\Mvc\Application ` constructor:
@@ -49,6 +64,20 @@ will not notice a change. Those who are directly instantiating the `Application`
49
64
instance (in production or test code) or who have created their own factory for
50
65
the class will need to update their code.
51
66
67
+ ### send method
68
+
69
+ The ` send() ` method has been deprecated since the 2.2 release, and a no-op since
70
+ then as well. It is removed starting with the v3 release.
71
+
72
+ ## ControllerLoader
73
+
74
+ The ` ControllerLoader ` service was deprecated early in the v2 lifecycle, and
75
+ aliased to ` ControllerManager ` . The ` ControllerLoader ` factory was kept to
76
+ prevent BC breaks due to extending the class.
77
+
78
+ v3 removes the ` ControllerLoaderFactory ` , as well as the ` ControllerLoader `
79
+ service alias.
80
+
52
81
## DI-ServiceManager integration
53
82
54
83
The integration between [ zend-servicemanager] ( https://zendframework.github.io/zend-servicemanager ) and
@@ -71,6 +100,12 @@ $ composer require zendframework/zend-servicemanager-di
71
100
The new component also contains a [ migration document] ( https://zendframework.github.io/zend-servicemanager-di/migration/v2-to-v3/ )
72
101
detailing potential issues for users migrating to version 3.
73
102
103
+ ## DispatchListener
104
+
105
+ The ` marshallControllerNotFoundEvent() ` method was deprecated early in the ZF2
106
+ lifecycle, and has proxied to ` marshalControllerNotFoundEvent() ` . It is removed
107
+ with the v3 release.
108
+
74
109
## Routing
75
110
76
111
Routing was removed from zend-mvc, and moved to a new component,
@@ -340,6 +375,19 @@ $ composer require zendframework/zend-serializer
340
375
Note: the above assumes you have already installed zend-component-installer, per
341
376
the section above on [ dependency reduction] ( #dependency-reduction ) .
342
377
378
+ ## ServiceLocatorAware initializers
379
+
380
+ Starting with zend-servicemanager v3, that component no longer defines the
381
+ ` ServiceLocatorAwareInterface ` . Since zend-mvc pins against zend-servicemanager
382
+ v3 with its own v3 release, the initializers that injected the application
383
+ container into implementations of that interface are no longer relevant. As
384
+ such, they have now been removed from each of the
385
+ ` Zend\Mvc\Service\ServiceManagerConfig ` and
386
+ ` Zend\Mvc\Controller\ControllerManager ` classes.
387
+
388
+ If you relied on this functionality, you are encouraged to update your code to
389
+ use factories to inject your * actual* dependencies.
390
+
343
391
## Validator integration
344
392
345
393
In version 2, zend-mvc exposed a ` ValidatorManager ` service by default, and
@@ -356,3 +404,9 @@ $ composer require zendframework/zend-validator
356
404
357
405
Note: the above assumes you have already installed zend-component-installer, per
358
406
the section above on [ dependency reduction] ( #dependency-reduction ) .
407
+
408
+ ## Zend\Mvc\View\SendResponseListener
409
+
410
+ ` Zend\Mvc\View\SendResponseListener ` was deprecated with the 2.2 release, and
411
+ has been an extension of ` Zend\Mvc\SendResponseListener ` ever since. It is
412
+ removed with the v3 release.
0 commit comments