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

Commit 13b85d8

Browse files
committed
Added CHANGELOG for #67
1 parent 8660a5d commit 13b85d8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ All notable changes to this project will be documented in this file, in reverse
88

99
- [#60](https://github.com/zendframework/zend-form/pull/60) adds an alias from
1010
`Zend\Form\FormElementManager` to `FormElementManager` in the `ConfigProvider`.
11+
- [#67](https://github.com/zendframework/zend-form/pull/67) adds polyfills for
12+
the `FormElementManager` to vary its definitions based on the major version of
13+
zend-servicemanager in use. `FormElementManagerFactory` was updated to return
14+
the specific polyfill version, and an autoload rule was added to alias the
15+
class to the correct polyfill version. The polyfills were necessary to ensure
16+
that invokable classes are mapped to the new `ElementFactory` introduced in
17+
the 2.7 series, thus ensuring instantiation is performed correctly.
1118

1219
### Deprecated
1320

@@ -24,6 +31,12 @@ All notable changes to this project will be documented in this file, in reverse
2431
`injectFactory()` and `callElementInit()` are registered as the first and last
2532
initializers, respectively, during construction, restoring the pre-2.7
2633
behavior.
34+
- [#67](https://github.com/zendframework/zend-form/pull/67) fixes the behavior
35+
of `Factory::create()` to the pre-2.7.1 behavior of *not* passing creation
36+
options when retrieving an instance from the `FormElementManager`. This
37+
ensures that options are not passed to Element/Fieldset/Form instances
38+
until after they are fully initialized, ensuring that all dependencies are
39+
present.
2740

2841
## 2.8.1 - 2016-04-18
2942

0 commit comments

Comments
 (0)