|
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 |
| 6 | + |
| 7 | +New major version! Please see: |
| 8 | + |
| 9 | +- [doc/book/migration/to-v3-0.md](doc/book/migration/to-v3-0.md) |
| 10 | + |
| 11 | +for full details on how to migrate your v2 application. |
| 12 | + |
| 13 | +### Added |
| 14 | + |
| 15 | +- Nothing. |
| 16 | + |
| 17 | +### Deprecated |
| 18 | + |
| 19 | +- Nothing. |
| 20 | + |
| 21 | +### Removed |
| 22 | + |
| 23 | +- [#99](https://github.com/zendframework/zend-mvc/pull/99) removes all router |
| 24 | + functionality (everything in the `Zend\Mvc\Router` namespace. This |
| 25 | + functionality is now provided by the [zend-router](https://zendframework.github.io/zend-router/) |
| 26 | + component, which becomes a requirement of zend-mvc. The removal also includes |
| 27 | + all service factories related to routing, as they are provided by zend-router. |
| 28 | +- [#99](https://github.com/zendframework/zend-mvc/pull/99) removes all |
| 29 | + console-related functionality, including the `AbstractConsoleController`, the |
| 30 | + `CreateConsoleNotFoundModel` controller plugin, the `ConsoleResponseSender`, |
| 31 | + and all classes under the `Zend\Mvc\View\Console` namespace; these are now |
| 32 | + provided by the [zend-mvc-console](https://zendframework.github.io/zend-mvc-console/) |
| 33 | + component. (That component also includes console-specific routes, which were |
| 34 | + removed from zend-router.) All service factories related to console |
| 35 | + functionality are also now provided by zend-mvc-console. |
| 36 | +- [#104](https://github.com/zendframework/zend-mvc/pull/104) removes the `prg()` |
| 37 | + plugin. It can now be installed separately via the |
| 38 | + zendframework/zend-mvc-plugin-prg package. |
| 39 | +- [#108](https://github.com/zendframework/zend-mvc/pull/108) removes the |
| 40 | + `fileprg()`, `flashMessenger()`, and `identity()` plugins. These can be |
| 41 | + installed via, respectively, the zendframework/zend-mvc-plugin-fileprg, |
| 42 | + zendframework/zend-mvc-plugin-flashmessenger, and |
| 43 | + zendframework/zend-mvc-plugin-identity packages. |
| 44 | +- [#110](https://github.com/zendframework/zend-mvc/pull/110) removes the |
| 45 | + internationalization functionality from the component, including factories for |
| 46 | + the translator and translator loader manager. This functionality is |
| 47 | + now provided by the [zend-i18n](https://zendframework.github.io/zend-i18n/) |
| 48 | + and [zend-mvc-i18n](https://zendframework.github.io/zend-mvc-i18n/) packages; |
| 49 | + installing `zendframework/zend-mvc-i18n` will restore i18n functionality in |
| 50 | + your application. |
| 51 | +- [#115](https://github.com/zendframework/zend-mvc/pull/115) removes the |
| 52 | + requirement for zend-filter in the `InjectTemplateListener` by inlining the |
| 53 | + logic from `Zend\Filter\Word\CamelCaseToDash`. |
| 54 | +- [#116](https://github.com/zendframework/zend-mvc/pull/116) removes the |
| 55 | + functionality related to integrating zend-servicemanager and zend-di. If you |
| 56 | + used this functionality previously, it is now available via a separate |
| 57 | + package, [zend-servicemanager-di](https://zendframework.github.io/zend-servicemanager-di/]). |
| 58 | +- [#117](https://github.com/zendframework/zend-mvc/pull/117) removes the |
| 59 | + functionality related to exposing and configuring the zend-filter |
| 60 | + `FilterPluginManager`. That functionality is now exposed directly by the |
| 61 | + zend-filter component. |
| 62 | +- [#118](https://github.com/zendframework/zend-mvc/pull/118) removes the |
| 63 | + functionality related to exposing and configuring the zend-validator |
| 64 | + `ValidatorPluginManager`. That functionality is now exposed directly by the |
| 65 | + zend-validator component. |
| 66 | +- [#119](https://github.com/zendframework/zend-mvc/pull/119) removes the |
| 67 | + functionality related to exposing and configuring the zend-serializer |
| 68 | + `SerializerAdapterManager`. That functionality is now exposed directly by the |
| 69 | + zend-serializer component. |
| 70 | +- [#120](https://github.com/zendframework/zend-mvc/pull/120) removes the |
| 71 | + functionality related to exposing and configuring the zend-hydrator |
| 72 | + `HydratorManager`. That functionality is now exposed directly by the |
| 73 | + zend-hydrator component. |
| 74 | +- [#54](https://github.com/zendframework/zend-mvc/pull/54) removes the |
| 75 | + `$configuration` argument (first required argument) from the |
| 76 | + `Zend\Mvc\Application` constructor. If you were directly instantiating an |
| 77 | + `Application` instance previously (whether in your bootstrap, a factory, or |
| 78 | + tests), you will need to update how you instantiate the instance. (The |
| 79 | + argument was removed as the value was never used.) |
| 80 | +- [#121](https://github.com/zendframework/zend-mvc/pull/121) removes the |
| 81 | + functionality related to exposing and configuring the zend-log |
| 82 | + `ProcessorPluginManager` and `WriterPluginManager`. That functionality is now |
| 83 | + exposed directly by the zend-log component (with the addition of exposing the |
| 84 | + `FilterPluginManager` and `FormatterPluginManager` as well). |
| 85 | +- [#123](https://github.com/zendframework/zend-mvc/pull/123) removes the |
| 86 | + functionality related to exposing and configuring the zend-inputfilter |
| 87 | + `InputFilterManager`. That functionality is now exposed directly by the |
| 88 | + zend-inputfilter component. |
| 89 | +- [#124](https://github.com/zendframework/zend-mvc/pull/124) removes the |
| 90 | + functionality related to exposing and configuring zend-form, including the |
| 91 | + `FormElementManager`, `FormAnnotationBuilder`, and the |
| 92 | + `FormAbstractServiceFactory`. The functionality is now exposed directly by the |
| 93 | + zend-form component. |
| 94 | +- [#125](https://github.com/zendframework/zend-mvc/pull/125) removes the |
| 95 | + functionality from the `ViewHelperManager` factory for fetching configuration |
| 96 | + classes from other components and using them to configure the instance. In all |
| 97 | + cases, this is now done by the components themselves. |
| 98 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes the |
| 99 | + `ControllerLoaderFactory`, and the `ControllerLoader` service alias; use |
| 100 | + `ControllerManagerFactory` and `ControllerManager`, respectively, instead. |
| 101 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes |
| 102 | + `Zend\Mvc\View\SendResponseListener`; use `Zend\Mvc\SendResponseListener` |
| 103 | + instead. |
| 104 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes |
| 105 | + `Application::send()`, which has been a no-op since 2.2. |
| 106 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes |
| 107 | + `DispatchListener::marshallControllerNotFoundEvent()`, which has proxied to |
| 108 | + `marshalControllerNotFoundEvent()` since 2.2. |
| 109 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes |
| 110 | + the `ServiceLocatorAwareInterface` implementation |
| 111 | + (`setServiceLocator()`/`getServiceLocator()` methods) from |
| 112 | + `AbstractController`. You will need to inject your dependencies specifically |
| 113 | + going forward. |
| 114 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) removes |
| 115 | + the `ServiceLocatorAwareInterface` initializers defined in |
| 116 | + `Zend\Mvc\Service\ServiceManagerConfig` and |
| 117 | + `Zend\Mvc\Controller\ControllerManager`. You will need to inject your |
| 118 | + dependencies specifically going forward. |
| 119 | +- [#139](https://github.com/zendframework/zend-mvc/pull/139) removes support for |
| 120 | + pseudo-module template resolution using the `__NAMESPACE__` routing |
| 121 | + configuration option, as it often led to conflicts when multiple modules |
| 122 | + shared a common top-level namespace. Auto-resolution now always takes into |
| 123 | + account the full namespace (minus the `Controller` segment). |
| 124 | + |
| 125 | +### Fixed |
| 126 | + |
| 127 | +- [#113](https://github.com/zendframework/zend-mvc/pull/113) updates |
| 128 | + `AbstractRestfulController` to make usage of zend-json for deserializing JSON |
| 129 | + requests optional. `json_decode()` is now used by default, falling back to |
| 130 | + `Zend\Json\Json::decode()` if it is available. If neither are available, an |
| 131 | + exception is now thrown. |
| 132 | +- [#115](https://github.com/zendframework/zend-mvc/pull/115) and |
| 133 | + [#128](https://github.com/zendframework/zend-mvc/pull/128) update the |
| 134 | + dependency list, per https://github.com/zendframework/maintainers/wiki/zend-mvc-v3-refactor:-reduce-components#required-components, |
| 135 | + to do the following: |
| 136 | + - Makes the following components required: |
| 137 | + - zend-http |
| 138 | + - zend-modulemanager |
| 139 | + - zend-router |
| 140 | + - zend-view |
| 141 | + - Makes the following components optional: |
| 142 | + - zend-json |
| 143 | + - zend-psr7bridge |
| 144 | + - And pares the suggestion list down to: |
| 145 | + - zend-mvc-console |
| 146 | + - zend-mvc-i18n |
| 147 | + - zend-mvc-plugin-fileprg |
| 148 | + - zend-mvc-plugin-flashmessenger |
| 149 | + - zend-mvc-plugin-identity |
| 150 | + - zend-mvc-plugin-prg |
| 151 | + - zend-servicemanager-di |
| 152 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) bumps the minimum |
| 153 | + supported version of zend-eventmanager, zend-servicemanager, and zend-stdlib |
| 154 | + to their v3 releases. |
| 155 | +- [#128](https://github.com/zendframework/zend-mvc/pull/128) bumps the minimum |
| 156 | + supported PHP version to 5.6. |
| 157 | + |
5 | 158 | ## 2.7.8 - 2016-05-31
|
6 | 159 |
|
7 | 160 | ### Added
|
|
0 commit comments