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

Commit e1e42c3

Browse files
committed
Merge branch 'feature/plugins-removal' into develop
Close #108
2 parents 5ce0e12 + 6774d80 commit e1e42c3

23 files changed

+93
-2460
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ for full details on how to migrate your v2 application.
3636
- [#104](https://github.com/zendframework/zend-mvc/pull/104) removes the `prg()`
3737
plugin. It can now be installed separately via the
3838
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.
3944

4045
### Fixed
4146

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"container-interop/container-interop": "^1.1"
2626
},
2727
"require-dev": {
28-
"zendframework/zend-authentication": "^2.5.3",
2928
"zendframework/zend-cache": "^2.6.1",
3029
"zendframework/zend-di": "^2.6",
3130
"zendframework/zend-filter": "^2.6.1",
@@ -34,7 +33,6 @@
3433
"zendframework/zend-json": "^2.6.1",
3534
"zendframework/zend-log": "^2.7.1",
3635
"zendframework/zend-modulemanager": "^2.7.1",
37-
"zendframework/zend-session": "^2.6.2",
3836
"zendframework/zend-serializer": "^2.6.1",
3937
"zendframework/zend-text": "^2.6",
4038
"zendframework/zend-validator": "^2.6",
@@ -56,6 +54,10 @@
5654
"zendframework/zend-log": "Zend\\Log component",
5755
"zendframework/zend-modulemanager": "Zend\\ModuleManager component",
5856
"zendframework/zend-mvc-console": "zend-mvc-console provides the ability to expose zend-mvc as a console application",
57+
"zendframework/zend-mvc-plugin-fileprg": "To provide Post/Redirect/Get functionality around forms that container file uploads",
58+
"zendframework/zend-mvc-plugin-flashmessenger": "To provide flash messaging capabilities between requests",
59+
"zendframework/zend-mvc-plugin-identity": "To access the authenticated identity (per zend-authentication) in controllers",
60+
"zendframework/zend-mvc-plugin-prg": "To provide Post/Redirect/Get functionality within controllers",
5961
"zendframework/zend-serializer": "Zend\\Serializer component",
6062
"zendframework/zend-session": "Zend\\Session component for FlashMessenger, PRG, and FPRG plugins",
6163
"zendframework/zend-text": "Zend\\Text component",

composer.lock

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/book/migration/to-v3-0.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,51 @@ the [component installer as detailed above](#dependency-reduction) before
8686
installing the plugins, to automate injection into your application
8787
configuration.
8888

89+
### fileprg()
90+
91+
The `fileprg()` plugin is now provided via the
92+
[zend-mvc-plugin-fileprg](https://github.com/zendframework/zend-mvc-plugin-fileprg)
93+
component.
94+
95+
```bash
96+
$ composer require zendframework/zend-mvc-plugin-fileprg
97+
```
98+
99+
`Zend\Mvc\Controller\Plugin\FilePostRedirectGet` becomes
100+
`Zend\Mvc\Plugin\FilePrg\FilePostRedirectGet`. However, it is still mapped as
101+
`fileprg()`.
102+
103+
### flashMessenger()
104+
105+
The `flashMessenger()` plugin is now provided via the
106+
[zend-mvc-plugin-flashmessenger](https://github.com/zendframework/zend-mvc-plugin-flashmessenger)
107+
component.
108+
109+
```bash
110+
$ composer require zendframework/zend-mvc-plugin-flashmessenger
111+
```
112+
113+
`Zend\Mvc\Controller\Plugin\FlashMessenger` becomes
114+
`Zend\Mvc\Plugin\FlashMessenger\FlashMessenger`. However, it is still mapped as
115+
`flashMessenger()` and `flashmessenger()`.
116+
117+
### identity()
118+
119+
The `identity()` plugin is now provided via the
120+
[zend-mvc-plugin-identity](https://github.com/zendframework/zend-mvc-plugin-identity)
121+
component.
122+
123+
```bash
124+
$ composer require zendframework/zend-mvc-plugin-identity
125+
```
126+
127+
`Zend\Mvc\Controller\Plugin\Identity` becomes
128+
`Zend\Mvc\Plugin\Identity\Identity`. However, it is still mapped as
129+
`identity()`.
130+
131+
Additionally, `Zend\Mvc\Controller\Plugin\Service\IdentityFactory` now becomes
132+
`Zend\Mvc\Plugin\Identity\IdentityFactory`.
133+
89134
### prg()
90135

91136
The `prg()` plugin is now provided via the

0 commit comments

Comments
 (0)