@@ -8,6 +8,13 @@ All notable changes to this project will be documented in this file, in reverse
8
8
9
9
- [ #60 ] ( https://github.com/zendframework/zend-form/pull/60 ) adds an alias from
10
10
` 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.
11
18
12
19
### Deprecated
13
20
@@ -24,6 +31,12 @@ All notable changes to this project will be documented in this file, in reverse
24
31
` injectFactory() ` and ` callElementInit() ` are registered as the first and last
25
32
initializers, respectively, during construction, restoring the pre-2.7
26
33
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.
27
40
28
41
## 2.8.1 - 2016-04-18
29
42
0 commit comments