Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / zendframework / zend-stdlib / CHANGELOG.md
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.2.0 - 2018-04-30
6
7 ### Added
8
9 - [#87](https://github.com/zendframework/zend-stdlib/pull/87) adds support for PHP 7.2.
10
11 ### Changed
12
13 - Nothing.
14
15 ### Deprecated
16
17 - Nothing.
18
19 ### Removed
20
21 - [#87](https://github.com/zendframework/zend-stdlib/pull/87) removes support for HHVM.
22
23 ### Fixed
24
25 - Nothing.
26
27 ## 3.1.1 - 2018-04-12
28
29 ### Added
30
31 - Nothing.
32
33 ### Changed
34
35 - [#67](https://github.com/zendframework/zend-stdlib/pull/67) changes the typehint of the `$content` property
36   of the `Message` class to indicate it is a string. All known implementations
37   already assumed this.
38
39 ### Deprecated
40
41 - Nothing.
42
43 ### Removed
44
45 - Nothing.
46
47 ### Fixed
48
49 - [#60](https://github.com/zendframework/zend-stdlib/pull/60) fixes an issue whereby calling `remove()` would
50   incorrectly re-calculate the maximum priority stored in the queue.
51
52 - [#60](https://github.com/zendframework/zend-stdlib/pull/60) fixes an infinite loop condition that can occur when
53   inserting an item at 0 priority.
54
55 ## 3.1.0 - 2016-09-13
56
57 ### Added
58
59 - [#63](https://github.com/zendframework/zend-stdlib/pull/63) adds a new
60   `Zend\Stdlib\ConsoleHelper` class, providing minimal support for writing
61   output to `STDOUT` and `STDERR`, with optional colorization, when the console
62   supports that feature.
63
64 ### Deprecated
65
66 - [#38](https://github.com/zendframework/zend-stdlib/pull/38) deprecates
67   `Zend\Stdlib\JsonSerializable`, as all supported version of PHP now support
68   it.
69
70 ### Removed
71
72 - Nothing.
73
74 ### Fixed
75
76 - Nothing.
77
78 ## 3.0.1 - 2016-04-12
79
80 ### Added
81
82 - Nothing.
83
84 ### Deprecated
85
86 - Nothing.
87
88 ### Removed
89
90 - Nothing.
91
92 ### Fixed
93
94 - [#59](https://github.com/zendframework/zend-stdlib/pull/59) fixes a notice
95   when defining the `Zend\Json\Json::GLOB_BRACE` constant on systems using
96   non-gcc glob implementations.
97
98 ## 3.0.0 - 2016-02-03
99
100 ### Added
101
102 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds PHP 7 as a
103   supported PHP version.
104 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds a migration
105   document from v2 to v3. Hint: if you use hydrators, you need to be using
106   zend-hydrator instead!
107 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) adds automated
108   documentation builds to gh-pages.
109
110 ### Deprecated
111
112 - Nothing.
113
114 ### Removed
115
116 - [#33](https://github.com/zendframework/zend-stdlib/pull/33) - removed
117   deprecated classes
118   - *All Hydrator classes* see #22.
119   - `Zend\Stdlib\CallbackHandler` see #35
120 - [#37](https://github.com/zendframework/zend-stdlib/pull/37) - removed
121   deprecated classes and polyfills:
122   - `Zend\Stdlib\DateTime`; this had been deprecated since 2.5, and only
123     existed as a polyfill for the `createFromISO8601()` support, now standard
124     in all PHP versions we support.
125   - `Zend\Stdlib\Exception\InvalidCallbackException`, which was unused since #33.
126   - `Zend\Stdlib\Guard\GuardUtils`, which duplicated `Zend\Stdlib\Guard\AllGuardsTrait`
127     to allow usage with pre-PHP 5.4 versions.
128   - `src/compatibility/autoload.php`, which has been dprecated since 2.5.
129 - [#37](https://github.com/zendframework/zend-stdlib/pull/37) - removed
130   unneeded dependencies:
131   - zend-config (used only in testing ArrayUtils, and the test was redundant)
132   - zend-serializer (no longer used)
133 - [#51](https://github.com/zendframework/zend-stdlib/pull/51) removes the
134   documentation for hydrators, as those are part of the zend-hydrator
135   component.
136
137 ### Fixed
138
139 - Nothing.
140
141 ## 2.7.4 - 2015-10-15
142
143 ### Added
144
145 - Nothing.
146
147 ### Deprecated
148
149 - [#35](https://github.com/zendframework/zend-stdlib/pull/35) deprecates
150   `Zend\Stdlib\CallbackHandler`, as the one component that used it,
151   zend-eventmanager, will no longer depend on it starting in v3.
152
153 ### Removed
154
155 - Nothing.
156
157 ### Fixed
158
159 - Nothing.
160
161 ## 2.7.3 - 2015-09-24
162
163 ### Added
164
165 - Nothing.
166
167 ### Deprecated
168
169 - Nothing.
170
171 ### Removed
172
173 - Nothing.
174
175 ### Fixed
176
177 - [#27](https://github.com/zendframework/zend-stdlib/pull/27) fixes a race
178   condition in the `FastPriorityQueue::remove()` logic that occurs when removing
179   items iteratively from the same priority of a queue.
180
181 ## 2.7.2 - 2015-09-23
182
183 ### Added
184
185 - Nothing.
186
187 ### Deprecated
188
189 - Nothing.
190
191 ### Removed
192
193 - Nothing.
194
195 ### Fixed
196
197 - [#26](https://github.com/zendframework/zend-stdlib/pull/26) fixes a subtle
198   inheritance issue with deprecation in the hydrators, and updates the
199   `HydratorInterface` to also extend the zend-hydrator `HydratorInterface` to
200   ensure LSP is preserved.
201
202 ## 2.7.1 - 2015-09-22
203
204 ### Added
205
206 - Nothing.
207
208 ### Deprecated
209
210 - Nothing.
211
212 ### Removed
213
214 - Nothing.
215
216 ### Fixed
217
218 - [#24](https://github.com/zendframework/zend-stdlib/pull/24) fixes an import in
219   `FastPriorityQueue` to alias `SplPriorityQueue` in order to disambiguate with
220   the local override present in the component.
221
222 ## 2.7.0 - 2015-09-22
223
224 ### Added
225
226 - [#19](https://github.com/zendframework/zend-stdlib/pull/19) adds a new
227   `FastPriorityQueue` implementation. It follows the same signature as
228   `SplPriorityQueue`, but uses a performance-optimized algorithm:
229
230   - inserts are 2x faster than `SplPriorityQueue` and 3x faster than the
231     `Zend\Stdlib\PriorityQueue` implementation.
232   - extracts are 4x faster than `SplPriorityQueue` and 4-5x faster than the
233     `Zend\Stdlib\PriorityQueue` implementation.
234
235   The intention is to use this as a drop-in replacement in the
236   `zend-eventmanager` component to provide performance benefits.
237
238 ### Deprecated
239
240 - [#20](https://github.com/zendframework/zend-stdlib/pull/20) deprecates *all
241   hydrator* classes, in favor of the new [zend-hydrator](https://github.com/zendframework/zend-hydrator)
242   component. All classes were updated to extend their zend-hydrator equivalents,
243   and marked as `@deprecated`, indicating the equivalent class from the other
244   repository.
245
246   Users *should* immediately start changing their code to use the zend-hydrator
247   equivalents; in most cases, this can be as easy as removing the `Stdlib`
248   namespace from import statements or hydrator configuration. Hydrators will be
249   removed entirely from zend-stdlib in v3.0, and all future updates to hydrators
250   will occur in the zend-hydrator library.
251
252   Changes with backwards compatibility implications:
253
254   - Users implementing `Zend\Stdlib\Hydrator\HydratorAwareInterface` will need to
255     update their `setHydrator()` implementation to typehint on
256     `Zend\Hydrator\HydratorInterface`. This can be done by changing the import
257     statement for that interface as follows:
258
259     ```php
260     // Replace this:
261     use Zend\Stdlib\Hydrator\HydratorInterface;
262     // with this:
263     use Zend\Hydrator\HydratorInterface;
264     ```
265
266     If you are not using imports, change the typehint within the signature itself:
267
268     ```php
269     // Replace this:
270     public function setHydrator(\Zend\Stdlib\Hydrator\HydratorInterface $hydrator)
271     // with this:
272     public function setHydrator(\Zend\Hydrator\HydratorInterface $hydrator)
273     ```
274
275     If you are using `Zend\Stdlib\Hydrator\HydratorAwareTrait`, no changes are
276     necessary, unless you override that method.
277
278   - If you were catching hydrator-generated exceptions, these were previously in
279     the `Zend\Stdlib\Exception` namespace. You will need to update your code to
280     catch exceptions in the `Zend\Hydrator\Exception` namespace.
281
282   - Users who *do* migrate to zend-hydrator may end up in a situation where
283     their code will not work with existing libraries that are still type-hinting
284     on the zend-stdlib interfaces. We will be attempting to address that ASAP,
285     but the deprecation within zend-stdlib is necessary as a first step.
286
287     In the meantime, you can write hydrators targeting zend-stdlib still in
288     order to guarantee compatibility.
289
290 ### Removed
291
292 - Nothing.
293
294 ### Fixed
295
296 - Nothing.
297
298 ## 2.6.0 - 2015-07-21
299
300 ### Added
301
302 - [#13](https://github.com/zendframework/zend-stdlib/pull/13) adds
303   `Zend\Stdlib\Hydrator\Iterator`, which provides mechanisms for hydrating
304   objects when iterating a traversable. This allows creating generic collection
305   resultsets; the original idea was pulled from
306   [PhlyMongo](https://github.com/phly/PhlyMongo), where it was used to hydrate
307   collections retrieved from MongoDB.
308
309 ### Deprecated
310
311 - Nothing.
312
313 ### Removed
314
315 - Nothing.
316
317 ### Fixed
318
319 - Nothing.
320
321 ## 2.5.2 - 2015-07-21
322
323 ### Added
324
325 - Nothing.
326
327 ### Deprecated
328
329 - Nothing.
330
331 ### Removed
332
333 - Nothing.
334
335 ### Fixed
336
337 - [#9](https://github.com/zendframework/zend-stdlib/pull/9) fixes an issue with
338   count incrementation during insert in PriorityList, ensuring that incrementation only
339   occurs when the item inserted was not previously present in the list.
340
341 ## 2.4.4 - 2015-07-21
342
343 ### Added
344
345 - Nothing.
346
347 ### Deprecated
348
349 - Nothing.
350
351 ### Removed
352
353 - Nothing.
354
355 ### Fixed
356
357 - [#9](https://github.com/zendframework/zend-stdlib/pull/9) fixes an issue with
358   count incrementation during insert in PriorityList, ensuring that incrementation only
359   occurs when the item inserted was not previously present in the list.