|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file, in reverse chronological order by release.
|
4 | 4 |
|
5 |
| -## 3.0.0 - TBD |
| 5 | +## 2.7.0 - TBD |
6 | 6 |
|
7 | 7 | ### Added
|
8 | 8 |
|
9 |
| -- [#31](https://github.com/zendframework/zend-mvc/pull/31) adds three required |
10 |
| - arguments to the `Zend\Mvc\Application` constructor: an EventManager |
| 9 | +- [#31](https://github.com/zendframework/zend-mvc/pull/31) adds three new |
| 10 | + optional arguments to the `Zend\Mvc\Application` constructor: an EventManager |
11 | 11 | instance, a Request instance, and a Response instance.
|
12 | 12 | - [#36](https://github.com/zendframework/zend-mvc/pull/36) adds more than a
|
13 | 13 | dozen service factories, primarily to separate conditional factories into
|
@@ -40,56 +40,38 @@ All notable changes to this project will be documented in this file, in reverse
|
40 | 40 |
|
41 | 41 | ### Deprecated
|
42 | 42 |
|
43 |
| -- Nothing. |
| 43 | +- Two initializers registered by `Zend\Mvc\Service\ServiceManagerConfig` are now |
| 44 | + deprecated, and will be removed starting in version 3.0: |
| 45 | + - `ServiceManagerAwareInitializer`, which injects classes implementing |
| 46 | + `Zend\ServiceManager\ServiceManagerAwareInterface` with the service manager |
| 47 | + instance. Users should create factories for such classes that directly |
| 48 | + inject their dependencies instead. |
| 49 | + - `ServiceLocatorAwareInitializer`, which injects classes implementing |
| 50 | + `Zend\ServiceManager\ServiceLocatorAwareInterface` with the service manager |
| 51 | + instance. Users should create factories for such classes that directly |
| 52 | + inject their dependencies instead. |
44 | 53 |
|
45 | 54 | ### Removed
|
46 | 55 |
|
47 |
| -- [#36](https://github.com/zendframework/zend-mvc/pull/36) removes |
48 |
| - `Zend\Mvc\Service\ConfigFactory`, as the functionality is now incorporated |
49 |
| - into `Zend\ModuleManager\Listener\ServiceListener`. |
50 |
| -- [#36](https://github.com/zendframework/zend-mvc/pull/36) removes |
51 |
| - the `ServiceLocatorAware` intializer, as zend-servicemanager v3 no longer |
52 |
| - defines the interface. |
53 |
| -- [#36](https://github.com/zendframework/zend-mvc/pull/36) removes |
54 |
| - `Zend\Mvc\Service\ControllerLoaderFactory` and replaces it with |
55 |
| - `Zend\Mvc\Service\ControllerManagerFactory`. |
56 |
| -- [#36](https://github.com/zendframework/zend-mvc/pull/36) removes |
57 |
| - `Zend\Mvc\Service\DiFactory`, `Zend\Mvc\Service\DiAbstractServiceFactory`, |
58 |
| - `Zend\Mvc\Service\DiStrictAbstractServiceFactory`, |
59 |
| - `Zend\Mvc\Service\DiStrictAbstractServiceFactoryFactory`, |
60 |
| - and `Zend\Mvc\Service\DiServiceInitializerFactory`, as zend-servicemanager v3 |
61 |
| - removes `Zend\Di` integration. |
| 56 | +- Nothing. |
62 | 57 |
|
63 | 58 | ### Fixed
|
64 | 59 |
|
65 |
| -- [#31](https://github.com/zendframework/zend-mvc/pull/31) updates the component |
66 |
| - to use zend-eventmanager v3. |
67 |
| -- [#36](https://github.com/zendframework/zend-mvc/pull/36) updates the component |
68 |
| - to use zend-servicemanager v3, and zend-modulemanager v3. This involves: |
69 |
| - - Updating all factories implementing either `FactoryInterface` or |
70 |
| - `AbstractFactoryInterface` to the new signatures of those interfaces. |
71 |
| - - Updating all plugin managers to the updates to `AbstractPluginManager`. |
72 |
| - - Updating how plugin manager factories work (they're now passed the container |
73 |
| - instance in their constructor arguments, as well as any build options). |
| 60 | +- [#31](https://github.com/zendframework/zend-mvc/pull/31) and |
| 61 | + [#76](https://github.com/zendframework/zend-mvc/pull/76) update the component |
| 62 | + to be forwards-compatible with zend-eventmanager v3. |
| 63 | +- [#36](https://github.com/zendframework/zend-mvc/pull/36) and |
| 64 | + [#76](https://github.com/zendframework/zend-mvc/pull/76) update the component |
| 65 | + to be forwards-compatible with zend-servicemanager v3. Several changes were |
| 66 | + introduced to support this effort: |
74 | 67 | - Added a `RouteInvokableFactory`, which can act as either a
|
75 |
| - `FactoryInterface` or `AbstractFactoryInterface` for loading invokable route |
76 |
| - classes, including by fully qualified class name. This is registered as an |
77 |
| - abstract factory by default with the `RoutePluginManager`. |
| 68 | + `FactoryInterface` or `AbstractFactoryInterface` for loading invokable route |
| 69 | + classes, including by fully qualified class name. This is registered as an |
| 70 | + abstract factory by default with the `RoutePluginManager`. |
78 | 71 | - The `DispatchListener` now receives the controller manager instance at
|
79 | 72 | instantiation.
|
80 | 73 | - The `ViewManager` implementations were updated, and most functionality
|
81 |
| - within separated into discrete factories. (Previously these instances |
82 |
| - injected services and aliases into the service manager instance, which is no |
83 |
| - longer possible or desirable with the zend-servicemanager v3 changes.) |
84 |
| - - `Application::init()` now pulls the configured service manager from the |
85 |
| - `Zend\ModuleManager\Listener\ServiceListener` instance before retrieving and |
86 |
| - bootstrapping the `Application` instance; this ensure it is fully |
87 |
| - configured at that time. |
88 |
| -- [#38](https://github.com/zendframework/zend-mvc/pull/38) Ensure middleware |
89 |
| - tests against abstract factories |
90 |
| - - zend-servicemanager v3 modified the behavior of has() to not search abstract |
91 |
| - factories by default. You can force it to do so by passing an optional |
92 |
| - second argument, a boolean flag, with a value of boolean true. |
| 74 | + within separated into discrete factories. |
93 | 75 |
|
94 | 76 | ## 2.6.4 - TBD
|
95 | 77 |
|
|
0 commit comments