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