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

Commit ff12050

Browse files
committed
Merging develop to master in preparation for 3.0.0 release.
2 parents c9b65f0 + 94ee452 commit ff12050

File tree

200 files changed

+1247
-18532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+1247
-18532
lines changed

.travis.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,15 @@ env:
2424
matrix:
2525
fast_finish: true
2626
include:
27-
- php: 5.5
28-
env:
29-
- DEPS=lowest
30-
- php: 5.5
31-
env:
32-
- DEPS=locked
33-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
34-
- PATH="$HOME/.local/bin:$PATH"
35-
- php: 5.5
36-
env:
37-
- DEPS=latest
3827
- php: 5.6
3928
env:
4029
- DEPS=lowest
4130
- php: 5.6
4231
env:
4332
- DEPS=locked
4433
- TEST_COVERAGE=true
34+
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
35+
- PATH="$HOME/.local/bin:$PATH"
4536
- php: 5.6
4637
env:
4738
- DEPS=latest

CHANGELOG.md

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,159 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

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+
5158
## 2.7.8 - 2016-05-31
6159

7160
### Added

composer.json

Lines changed: 20 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -13,57 +13,32 @@
1313
}
1414
},
1515
"require": {
16-
"php": "^5.5 || ^7.0",
17-
"zendframework/zend-eventmanager": "^2.6.2 || ^3.0",
18-
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
19-
"zendframework/zend-hydrator": "^1.1 || ^2.1",
20-
"zendframework/zend-form": "^2.7",
21-
"zendframework/zend-stdlib": "^2.7.5 || ^3.0",
22-
"zendframework/zend-psr7bridge": "^0.2",
16+
"php": "^5.6 || ^7.0",
17+
"zendframework/zend-eventmanager": "^3.0",
18+
"zendframework/zend-http": "^2.5.4",
19+
"zendframework/zend-modulemanager": "^2.7.1",
20+
"zendframework/zend-router": "^3.0.1",
21+
"zendframework/zend-servicemanager": "^3.0.3",
22+
"zendframework/zend-stdlib": "^3.0",
23+
"zendframework/zend-view": "^2.6.7",
2324
"container-interop/container-interop": "^1.1"
2425
},
2526
"require-dev": {
26-
"zendframework/zend-authentication": "^2.5.3",
27-
"zendframework/zend-cache": "^2.6.1",
28-
"zendframework/zend-console": "^2.6",
29-
"zendframework/zend-di": "^2.6",
30-
"zendframework/zend-filter": "^2.6.1",
31-
"zendframework/zend-http": "^2.5.4",
32-
"zendframework/zend-i18n": "^2.6",
33-
"zendframework/zend-inputfilter": "^2.6",
34-
"zendframework/zend-json": "^2.6.1",
35-
"zendframework/zend-log": "^2.7.1",
36-
"zendframework/zend-modulemanager": "^2.7.1",
37-
"zendframework/zend-session": "^2.6.2",
38-
"zendframework/zend-serializer": "^2.6.1",
39-
"zendframework/zend-text": "^2.6",
40-
"zendframework/zend-uri": "^2.5",
41-
"zendframework/zend-validator": "^2.6",
42-
"zendframework/zend-version": "^2.5",
43-
"zendframework/zend-view": "^2.6.3",
27+
"zendframework/zend-json": "^2.6.1 || ^3.0",
28+
"zendframework/zend-psr7bridge": "^0.2",
4429
"fabpot/php-cs-fixer": "1.7.*",
45-
"phpunit/PHPUnit": "^4.5",
46-
"sebastian/version": "^1.0.4"
30+
"phpunit/phpunit": "^4.5"
4731
},
4832
"suggest": {
49-
"zendframework/zend-authentication": "Zend\\Authentication component for Identity plugin",
50-
"zendframework/zend-config": "Zend\\Config component",
51-
"zendframework/zend-console": "Zend\\Console component",
52-
"zendframework/zend-di": "Zend\\Di component",
53-
"zendframework/zend-filter": "Zend\\Filter component",
54-
"zendframework/zend-http": "Zend\\Http component",
55-
"zendframework/zend-i18n": "Zend\\I18n component for translatable segments",
56-
"zendframework/zend-inputfilter": "Zend\\Inputfilter component",
57-
"zendframework/zend-json": "Zend\\Json component",
58-
"zendframework/zend-log": "Zend\\Log component",
59-
"zendframework/zend-modulemanager": "Zend\\ModuleManager component",
60-
"zendframework/zend-serializer": "Zend\\Serializer component",
61-
"zendframework/zend-session": "Zend\\Session component for FlashMessenger, PRG, and FPRG plugins",
62-
"zendframework/zend-text": "Zend\\Text component",
63-
"zendframework/zend-uri": "Zend\\Uri component",
64-
"zendframework/zend-validator": "Zend\\Validator component",
65-
"zendframework/zend-version": "Zend\\Version component",
66-
"zendframework/zend-view": "Zend\\View component"
33+
"zendframework/zend-json": "(^2.6.1 || ^3.0) To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable",
34+
"zendframework/zend-mvc-console": "zend-mvc-console provides the ability to expose zend-mvc as a console application",
35+
"zendframework/zend-mvc-i18n": "zend-mvc-i18n provides integration with zend-i18n, including a translation bridge and translatable route segments",
36+
"zendframework/zend-mvc-plugin-fileprg": "To provide Post/Redirect/Get functionality around forms that container file uploads",
37+
"zendframework/zend-mvc-plugin-flashmessenger": "To provide flash messaging capabilities between requests",
38+
"zendframework/zend-mvc-plugin-identity": "To access the authenticated identity (per zend-authentication) in controllers",
39+
"zendframework/zend-mvc-plugin-prg": "To provide Post/Redirect/Get functionality within controllers",
40+
"zendframework/zend-psr7bridge": "(^0.2) To consume PSR-7 middleware within the MVC workflow",
41+
"zendframework/zend-servicemanager-di": "zend-servicemanager-di provides utilities for integrating zend-di and zend-servicemanager in your zend-mvc application"
6742
},
6843
"extra": {
6944
"branch-alias": {

0 commit comments

Comments
 (0)