annotate vendor/zendframework/zend-stdlib/CHANGELOG.md @ 19:fa3358dc1485 tip

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