src
7 months ago
CHANGELOG.md
7 years ago
LICENSE
7 years ago
README.md
7 years ago
composer.json
7 years ago
CHANGELOG.md
237 lines
| 1 | # Change Log |
| 2 | |
| 3 | ## 1.6.1 - 2019-02-23 |
| 4 | |
| 5 | ### Fixed |
| 6 | |
| 7 | - MockClientStrategy also provides the mock client when requesting an async client |
| 8 | |
| 9 | ## 1.6.0 - 2019-01-23 |
| 10 | |
| 11 | ### Added |
| 12 | |
| 13 | - Support for PSR-17 factories |
| 14 | - Support for PSR-18 clients |
| 15 | |
| 16 | ## 1.5.2 - 2018-12-31 |
| 17 | |
| 18 | Corrected mistakes in 1.5.1. The different between 1.5.2 and 1.5.0 is that |
| 19 | we removed some PHP 7 code. |
| 20 | |
| 21 | https://github.com/php-http/discovery/compare/1.5.0...1.5.2 |
| 22 | |
| 23 | ## 1.5.1 - 2018-12-31 |
| 24 | |
| 25 | This version added new features by mistake. These are reverted in 1.5.2. |
| 26 | |
| 27 | Do not use 1.5.1. |
| 28 | |
| 29 | ### Fixed |
| 30 | |
| 31 | - Removed PHP 7 code |
| 32 | |
| 33 | ## 1.5.0 - 2018-12-30 |
| 34 | |
| 35 | ### Added |
| 36 | |
| 37 | - Support for `nyholm/psr7` version 1.0. |
| 38 | - `ClassDiscovery::safeClassExists` which will help Magento users. |
| 39 | - Support for HTTPlug 2.0 |
| 40 | - Support for Buzz 1.0 |
| 41 | - Better error message when nothing found by introducing a new exception: `NoCandidateFoundException`. |
| 42 | |
| 43 | ### Fixed |
| 44 | |
| 45 | - Fixed condition evaluation, it should stop after first invalid condition. |
| 46 | |
| 47 | ## 1.4.0 - 2018-02-06 |
| 48 | |
| 49 | ### Added |
| 50 | |
| 51 | - Discovery support for nyholm/psr7 |
| 52 | |
| 53 | ## 1.3.0 - 2017-08-03 |
| 54 | |
| 55 | ### Added |
| 56 | |
| 57 | - Discovery support for CakePHP adapter |
| 58 | - Discovery support for Zend adapter |
| 59 | - Discovery support for Artax adapter |
| 60 | |
| 61 | ## 1.2.1 - 2017-03-02 |
| 62 | |
| 63 | ### Fixed |
| 64 | |
| 65 | - Fixed minor issue with `MockClientStrategy`, also added more tests. |
| 66 | |
| 67 | ## 1.2.0 - 2017-02-12 |
| 68 | |
| 69 | ### Added |
| 70 | |
| 71 | - MockClientStrategy class. |
| 72 | |
| 73 | ## 1.1.1 - 2016-11-27 |
| 74 | |
| 75 | ### Changed |
| 76 | |
| 77 | - Made exception messages clearer. `StrategyUnavailableException` is no longer the previous exception to `DiscoveryFailedException`. |
| 78 | - `CommonClassesStrategy` is using `self` instead of `static`. Using `static` makes no sense when `CommonClassesStrategy` is final. |
| 79 | |
| 80 | ## 1.1.0 - 2016-10-20 |
| 81 | |
| 82 | ### Added |
| 83 | |
| 84 | - Discovery support for Slim Framework factories |
| 85 | |
| 86 | ## 1.0.0 - 2016-07-18 |
| 87 | |
| 88 | ### Added |
| 89 | |
| 90 | - Added back `Http\Discovery\NotFoundException` to preserve BC with 0.8 version. You may upgrade from 0.8.x and 0.9.x to 1.0.0 without any BC breaks. |
| 91 | - Added interface `Http\Discovery\Exception` which is implemented by all our exceptions |
| 92 | |
| 93 | ### Changed |
| 94 | |
| 95 | - Puli strategy renamed to Puli Beta strategy to prevent incompatibility with a future Puli stable |
| 96 | |
| 97 | ### Deprecated |
| 98 | |
| 99 | - For BC reasons, the old `Http\Discovery\NotFoundException` (extending the new exception) will be thrown until version 2.0 |
| 100 | |
| 101 | |
| 102 | ## 0.9.1 - 2016-06-28 |
| 103 | |
| 104 | ### Changed |
| 105 | |
| 106 | - Dropping PHP 5.4 support because we use the ::class constant. |
| 107 | |
| 108 | |
| 109 | ## 0.9.0 - 2016-06-25 |
| 110 | |
| 111 | ### Added |
| 112 | |
| 113 | - Discovery strategies to find classes |
| 114 | |
| 115 | ### Changed |
| 116 | |
| 117 | - [](http://puli.ioPuli](http://puli.io](http://puli.io) made optional |
| 118 | - Improved exceptions |
| 119 | - **[BC] `NotFoundException` moved to `Http\Discovery\Exception\NotFoundException`** |
| 120 | |
| 121 | |
| 122 | ## 0.8.0 - 2016-02-11 |
| 123 | |
| 124 | ### Changed |
| 125 | |
| 126 | - Puli composer plugin must be installed separately |
| 127 | |
| 128 | |
| 129 | ## 0.7.0 - 2016-01-15 |
| 130 | |
| 131 | ### Added |
| 132 | |
| 133 | - Temporary puli.phar (Beta 10) executable |
| 134 | |
| 135 | ### Changed |
| 136 | |
| 137 | - Updated HTTPlug dependencies |
| 138 | - Updated Puli dependencies |
| 139 | - Local configuration to make tests passing |
| 140 | |
| 141 | ### Removed |
| 142 | |
| 143 | - Puli CLI dependency |
| 144 | |
| 145 | |
| 146 | ## 0.6.4 - 2016-01-07 |
| 147 | |
| 148 | ### Fixed |
| 149 | |
| 150 | - Puli [](https://twitter.com/PuliPHP/status/685132540588507137not working](https://twitter.com/PuliPHP/status/685132540588507137](https://twitter.com/PuliPHP/status/685132540588507137) with the latest json-schema |
| 151 | |
| 152 | |
| 153 | ## 0.6.3 - 2016-01-04 |
| 154 | |
| 155 | ### Changed |
| 156 | |
| 157 | - Adjust Puli dependencies |
| 158 | |
| 159 | |
| 160 | ## 0.6.2 - 2016-01-04 |
| 161 | |
| 162 | ### Changed |
| 163 | |
| 164 | - Make Puli CLI a requirement |
| 165 | |
| 166 | |
| 167 | ## 0.6.1 - 2016-01-03 |
| 168 | |
| 169 | ### Changed |
| 170 | |
| 171 | - More flexible Puli requirement |
| 172 | |
| 173 | |
| 174 | ## 0.6.0 - 2015-12-30 |
| 175 | |
| 176 | ### Changed |
| 177 | |
| 178 | - Use [](http://puli.ioPuli](http://puli.io](http://puli.io) for discovery |
| 179 | - Improved exception messages |
| 180 | |
| 181 | |
| 182 | ## 0.5.0 - 2015-12-25 |
| 183 | |
| 184 | ### Changed |
| 185 | |
| 186 | - Updated message factory dependency (php-http/message) |
| 187 | |
| 188 | |
| 189 | ## 0.4.0 - 2015-12-17 |
| 190 | |
| 191 | ### Added |
| 192 | |
| 193 | - Array condition evaluation in the Class Discovery |
| 194 | |
| 195 | ### Removed |
| 196 | |
| 197 | - Message factories (moved to php-http/utils) |
| 198 | |
| 199 | |
| 200 | ## 0.3.0 - 2015-11-18 |
| 201 | |
| 202 | ### Added |
| 203 | |
| 204 | - HTTP Async Client Discovery |
| 205 | - Stream factories |
| 206 | |
| 207 | ### Changed |
| 208 | |
| 209 | - Discoveries and Factories are final |
| 210 | - Message and Uri factories have the type in their names |
| 211 | - Diactoros Message factory uses Stream factory internally |
| 212 | |
| 213 | ### Fixed |
| 214 | |
| 215 | - Improved docblocks for API documentation generation |
| 216 | |
| 217 | |
| 218 | ## 0.2.0 - 2015-10-31 |
| 219 | |
| 220 | ### Changed |
| 221 | |
| 222 | - Renamed AdapterDiscovery to ClientDiscovery |
| 223 | |
| 224 | |
| 225 | ## 0.1.1 - 2015-06-13 |
| 226 | |
| 227 | ### Fixed |
| 228 | |
| 229 | - Bad HTTP Adapter class name for Guzzle 5 |
| 230 | |
| 231 | |
| 232 | ## 0.1.0 - 2015-06-12 |
| 233 | |
| 234 | ### Added |
| 235 | |
| 236 | - Initial release |
| 237 |