annotate vendor/zendframework/zend-stdlib/CHANGELOG.md @ 0:c75dbcec494b

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