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

Commit 06431d7

Browse files
committed
Merge branch 'feature/hydrators' into develop
Close #30
2 parents 71cfa87 + c17d369 commit 06431d7

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

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

5-
## 2.6.0 - TBD
5+
## 2.6.0 - 2015-09-22
66

77
### Added
88

9-
- Nothing.
9+
- [#30](https://github.com/zendframework/zend-mvc/pull/30) updates the component
10+
to use zend-hydrator for hydrator functionality; this provides forward
11+
compatibility with zend-hydrator, and backwards compatibility with
12+
hydrators from older versions of zend-stdlib.
1013

1114
### Deprecated
1215

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
"php": ">=5.5",
1717
"zendframework/zend-eventmanager": "~2.5",
1818
"zendframework/zend-servicemanager": "~2.5",
19-
"zendframework/zend-form": "~2.5",
20-
"zendframework/zend-stdlib": ">=2.5.0,<2.7.0"
19+
"zendframework/zend-hydrator": "~1.0",
20+
"zendframework/zend-form": "~2.6",
21+
"zendframework/zend-stdlib": "~2.7"
2122
},
2223
"require-dev": {
2324
"zendframework/zend-authentication": "~2.5",
@@ -30,7 +31,7 @@
3031
"zendframework/zend-inputfilter": "~2.5",
3132
"zendframework/zend-json": "~2.5",
3233
"zendframework/zend-log": "~2.5",
33-
"zendframework/zend-modulemanager": "~2.5",
34+
"zendframework/zend-modulemanager": "~2.6",
3435
"zendframework/zend-session": "~2.5",
3536
"zendframework/zend-serializer": "~2.5",
3637
"zendframework/zend-text": "~2.5",

src/Service/HydratorManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111

1212
class HydratorManagerFactory extends AbstractPluginManagerFactory
1313
{
14-
const PLUGIN_MANAGER_CLASS = 'Zend\Stdlib\Hydrator\HydratorPluginManager';
14+
const PLUGIN_MANAGER_CLASS = 'Zend\Hydrator\HydratorPluginManager';
1515
}

test/Service/TestAsset/CustomForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace ZendTest\Mvc\Service\TestAsset;
1111

1212
use Zend\Form\Form;
13-
use Zend\Stdlib\Hydrator\ClassMethods as ClassMethodsHydrator;
13+
use Zend\Hydrator\ClassMethods as ClassMethodsHydrator;
1414

1515
class CustomForm extends Form
1616
{

0 commit comments

Comments
 (0)