Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-stdlib/CHANGELOG.md @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 7a779792577d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 # Changelog | |
2 | |
3 All notable changes to this project will be documented in this file, in reverse chronological order by release. | |
4 | |
5 ## 3.0.1 - 2016-04-12 | |
6 | |
7 ### Added | |
8 | |
9 - Nothing. | |
10 | |
11 ### Deprecated | |
12 | |
13 - Nothing. | |
14 | |
15 ### Removed | |
16 | |
17 - Nothing. | |
18 | |
19 ### Fixed | |
20 | |
21 - [#59](https://github.com/zendframework/zend-stdlib/pull/59) fixes a notice | |
22 when defining the `Zend\Json\Json::GLOB_BRACE` constant on systems using | |
23 non-gcc glob implementations. | |
24 | |
25 ## 3.0.0 - 2016-02-03 | |
26 | |
27 ### Added | |
28 | |
29 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds PHP 7 as a | |
30 supported PHP version. | |
31 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds a migration | |
32 document from v2 to v3. Hint: if you use hydrators, you need to be using | |
33 zend-hydrator instead! | |
34 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds automated | |
35 documentation builds to gh-pages. | |
36 | |
37 ### Deprecated | |
38 | |
39 - Nothing. | |
40 | |
41 ### Removed | |
42 | |
43 - [#33](https://github.com/zendframework/zend-stdlib/pull/33) - removed | |
44 deprecated classes | |
45 - *All Hydrator classes* see #22. | |
46 - `Zend\Stdlib\CallbackHandler` see #35 | |
47 - [#37](https://github.com/zendframework/zend-stdlib/pull/37) - removed | |
48 deprecated classes and polyfills: | |
49 - `Zend\Stdlib\DateTime`; this had been deprecated since 2.5, and only | |
50 existed as a polyfill for the `createFromISO8601()` support, now standard | |
51 in all PHP versions we support. | |
52 - `Zend\Stdlib\Exception\InvalidCallbackException`, which was unused since #33. | |
53 - `Zend\Stdlib\Guard\GuardUtils`, which duplicated `Zend\Stdlib\Guard\AllGuardsTrait` | |
54 to allow usage with pre-PHP 5.4 versions. | |
55 - `src/compatibility/autoload.php`, which has been dprecated since 2.5. | |
56 - [#37](https://github.com/zendframework/zend-stdlib/pull/37) - removed | |
57 unneeded dependencies: | |
58 - zend-config (used only in testing ArrayUtils, and the test was redundant) | |
59 - zend-serializer (no longer used) | |
60 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) removes the | |
61 documentation for hydrators, as those are part of the zend-hydrator | |
62 component. | |
63 | |
64 ### Fixed | |
65 | |
66 - Nothing. | |
67 | |
68 ## 2.7.4 - 2015-10-15 | |
69 | |
70 ### Added | |
71 | |
72 - Nothing. | |
73 | |
74 ### Deprecated | |
75 | |
76 - [#35](https://github.com/zendframework/zend-stdlib/pull/35) deprecates | |
77 `Zend\Stdlib\CallbackHandler`, as the one component that used it, | |
78 zend-eventmanager, will no longer depend on it starting in v3. | |
79 | |
80 ### Removed | |
81 | |
82 - Nothing. | |
83 | |
84 ### Fixed | |
85 | |
86 - Nothing. | |
87 | |
88 ## 2.7.3 - 2015-09-24 | |
89 | |
90 ### Added | |
91 | |
92 - Nothing. | |
93 | |
94 ### Deprecated | |
95 | |
96 - Nothing. | |
97 | |
98 ### Removed | |
99 | |
100 - Nothing. | |
101 | |
102 ### Fixed | |
103 | |
104 - [#27](https://github.com/zendframework/zend-stdlib/pull/27) fixes a race | |
105 condition in the `FastPriorityQueue::remove()` logic that occurs when removing | |
106 items iteratively from the same priority of a queue. | |
107 | |
108 ## 2.7.2 - 2015-09-23 | |
109 | |
110 ### Added | |
111 | |
112 - Nothing. | |
113 | |
114 ### Deprecated | |
115 | |
116 - Nothing. | |
117 | |
118 ### Removed | |
119 | |
120 - Nothing. | |
121 | |
122 ### Fixed | |
123 | |
124 - [#26](https://github.com/zendframework/zend-stdlib/pull/26) fixes a subtle | |
125 inheritance issue with deprecation in the hydrators, and updates the | |
126 `HydratorInterface` to also extend the zend-hydrator `HydratorInterface` to | |
127 ensure LSP is preserved. | |
128 | |
129 ## 2.7.1 - 2015-09-22 | |
130 | |
131 ### Added | |
132 | |
133 - Nothing. | |
134 | |
135 ### Deprecated | |
136 | |
137 - Nothing. | |
138 | |
139 ### Removed | |
140 | |
141 - Nothing. | |
142 | |
143 ### Fixed | |
144 | |
145 - [#24](https://github.com/zendframework/zend-stdlib/pull/24) fixes an import in | |
146 `FastPriorityQueue` to alias `SplPriorityQueue` in order to disambiguate with | |
147 the local override present in the component. | |
148 | |
149 ## 2.7.0 - 2015-09-22 | |
150 | |
151 ### Added | |
152 | |
153 - [#19](https://github.com/zendframework/zend-stdlib/pull/19) adds a new | |
154 `FastPriorityQueue` implementation. It follows the same signature as | |
155 `SplPriorityQueue`, but uses a performance-optimized algorithm: | |
156 | |
157 - inserts are 2x faster than `SplPriorityQueue` and 3x faster than the | |
158 `Zend\Stdlib\PriorityQueue` implementation. | |
159 - extracts are 4x faster than `SplPriorityQueue` and 4-5x faster than the | |
160 `Zend\Stdlib\PriorityQueue` implementation. | |
161 | |
162 The intention is to use this as a drop-in replacement in the | |
163 `zend-eventmanager` component to provide performance benefits. | |
164 | |
165 ### Deprecated | |
166 | |
167 - [#20](https://github.com/zendframework/zend-stdlib/pull/20) deprecates *all | |
168 hydrator* classes, in favor of the new [zend-hydrator](https://github.com/zendframework/zend-hydrator) | |
169 component. All classes were updated to extend their zend-hydrator equivalents, | |
170 and marked as `@deprecated`, indicating the equivalent class from the other | |
171 repository. | |
172 | |
173 Users *should* immediately start changing their code to use the zend-hydrator | |
174 equivalents; in most cases, this can be as easy as removing the `Stdlib` | |
175 namespace from import statements or hydrator configuration. Hydrators will be | |
176 removed entirely from zend-stdlib in v3.0, and all future updates to hydrators | |
177 will occur in the zend-hydrator library. | |
178 | |
179 Changes with backwards compatibility implications: | |
180 | |
181 - Users implementing `Zend\Stdlib\Hydrator\HydratorAwareInterface` will need to | |
182 update their `setHydrator()` implementation to typehint on | |
183 `Zend\Hydrator\HydratorInterface`. This can be done by changing the import | |
184 statement for that interface as follows: | |
185 | |
186 ```php | |
187 // Replace this: | |
188 use Zend\Stdlib\Hydrator\HydratorInterface; | |
189 // with this: | |
190 use Zend\Hydrator\HydratorInterface; | |
191 ``` | |
192 | |
193 If you are not using imports, change the typehint within the signature itself: | |
194 | |
195 ```php | |
196 // Replace this: | |
197 public function setHydrator(\Zend\Stdlib\Hydrator\HydratorInterface $hydrator) | |
198 // with this: | |
199 public function setHydrator(\Zend\Hydrator\HydratorInterface $hydrator) | |
200 ``` | |
201 | |
202 If you are using `Zend\Stdlib\Hydrator\HydratorAwareTrait`, no changes are | |
203 necessary, unless you override that method. | |
204 | |
205 - If you were catching hydrator-generated exceptions, these were previously in | |
206 the `Zend\Stdlib\Exception` namespace. You will need to update your code to | |
207 catch exceptions in the `Zend\Hydrator\Exception` namespace. | |
208 | |
209 - Users who *do* migrate to zend-hydrator may end up in a situation where | |
210 their code will not work with existing libraries that are still type-hinting | |
211 on the zend-stdlib interfaces. We will be attempting to address that ASAP, | |
212 but the deprecation within zend-stdlib is necessary as a first step. | |
213 | |
214 In the meantime, you can write hydrators targeting zend-stdlib still in | |
215 order to guarantee compatibility. | |
216 | |
217 ### Removed | |
218 | |
219 - Nothing. | |
220 | |
221 ### Fixed | |
222 | |
223 - Nothing. | |
224 | |
225 ## 2.6.0 - 2015-07-21 | |
226 | |
227 ### Added | |
228 | |
229 - [#13](https://github.com/zendframework/zend-stdlib/pull/13) adds | |
230 `Zend\Stdlib\Hydrator\Iterator`, which provides mechanisms for hydrating | |
231 objects when iterating a traversable. This allows creating generic collection | |
232 resultsets; the original idea was pulled from | |
233 [PhlyMongo](https://github.com/phly/PhlyMongo), where it was used to hydrate | |
234 collections retrieved from MongoDB. | |
235 | |
236 ### Deprecated | |
237 | |
238 - Nothing. | |
239 | |
240 ### Removed | |
241 | |
242 - Nothing. | |
243 | |
244 ### Fixed | |
245 | |
246 - Nothing. | |
247 | |
248 ## 2.5.2 - 2015-07-21 | |
249 | |
250 ### Added | |
251 | |
252 - Nothing. | |
253 | |
254 ### Deprecated | |
255 | |
256 - Nothing. | |
257 | |
258 ### Removed | |
259 | |
260 - Nothing. | |
261 | |
262 ### Fixed | |
263 | |
264 - [#9](https://github.com/zendframework/zend-stdlib/pull/9) fixes an issue with | |
265 count incrementation during insert in PriorityList, ensuring that incrementation only | |
266 occurs when the item inserted was not previously present in the list. | |
267 | |
268 ## 2.4.4 - 2015-07-21 | |
269 | |
270 ### Added | |
271 | |
272 - Nothing. | |
273 | |
274 ### Deprecated | |
275 | |
276 - Nothing. | |
277 | |
278 ### Removed | |
279 | |
280 - Nothing. | |
281 | |
282 ### Fixed | |
283 | |
284 - [#9](https://github.com/zendframework/zend-stdlib/pull/9) fixes an issue with | |
285 count incrementation during insert in PriorityList, ensuring that incrementation only | |
286 occurs when the item inserted was not previously present in the list. |