src
7 months ago
CHANGELOG.md
7 years ago
LICENSE
7 years ago
README.md
7 years ago
apigen.neon
7 years ago
composer.json
7 years ago
puli.json
7 years ago
CHANGELOG.md
195 lines
| 1 | # Change Log |
| 2 | |
| 3 | |
| 4 | All notable changes to this project will be documented in this file. |
| 5 | |
| 6 | The format is based on [](http://keepachangelog.com/en/1.0.0/Keep a Changelog](http://keepachangelog.com/en/1.0.0/](http://keepachangelog.com/en/1.0.0/) |
| 7 | and this project adheres to [](http://semver.org/spec/v2.0.0.htmlSemantic Versioning](http://semver.org/spec/v2.0.0.html](http://semver.org/spec/v2.0.0.html). |
| 8 | |
| 9 | |
| 10 | ## Unreleased |
| 11 | |
| 12 | ## [1.7.2] - 2018-10-30 |
| 13 | |
| 14 | ### Fixed |
| 15 | |
| 16 | - FilteredStream uses `@trigger_error` instead of throwing exceptions to not |
| 17 | break careless users. You still need to fix your stream code to respect |
| 18 | `isSeekable`. Seeking does not work as expected, and we will add exceptions |
| 19 | in version 2. |
| 20 | |
| 21 | ## [1.7.1] - 2018-10-29 |
| 22 | |
| 23 | ### Fixed |
| 24 | |
| 25 | - FilteredStream is not actually seekable |
| 26 | |
| 27 | |
| 28 | ## [1.7.0] - 2018-08-15 |
| 29 | |
| 30 | ### Fixed |
| 31 | |
| 32 | - Fix CurlCommandFormatter for binary request payloads |
| 33 | - Fix QueryParam authentication to assemble proper URL regardless of PHP `arg_separator.output` directive |
| 34 | - Do not pass `null` parameters to `Clue\StreamFilter\fun` |
| 35 | |
| 36 | ### Changed |
| 37 | |
| 38 | - Dropped tests on HHVM |
| 39 | |
| 40 | |
| 41 | ## [1.6.0] - 2017-07-05 |
| 42 | |
| 43 | ### Added |
| 44 | |
| 45 | - CookieUtil::parseDate to create a date from cookie date string |
| 46 | |
| 47 | ### Fixed |
| 48 | |
| 49 | - Fix curl command of CurlFormatter when there is an user-agent header |
| 50 | |
| 51 | |
| 52 | ## [1.5.0] - 2017-02-14 |
| 53 | |
| 54 | ### Added |
| 55 | |
| 56 | - Check for empty string in Stream factories |
| 57 | - Cookie::createWithoutValidation Static constructor to create a cookie. Will not perform any attribute validation during instantiation. |
| 58 | - Cookie::isValid Method to check if cookie attributes are valid. |
| 59 | |
| 60 | ### Fixed |
| 61 | |
| 62 | - FilteredStream::getSize returns null because the contents size is unknown. |
| 63 | - Stream factories does not rewinds streams. The previous behavior was not coherent between factories and inputs. |
| 64 | |
| 65 | ### Deprecated |
| 66 | |
| 67 | - FilteredStream::getReadFilter The read filter is internal and should never be used by consuming code. |
| 68 | - FilteredStream::getWriteFilter We did not implement writing to the streams at all. And if we do, the filter is an internal information and should not be used by consuming code. |
| 69 | |
| 70 | |
| 71 | ## [1.4.1] - 2016-12-16 |
| 72 | |
| 73 | ### Fixed |
| 74 | |
| 75 | - Cookie::matchPath Cookie with root path (`/`) will not match sub path (e.g. `/cookie`). |
| 76 | |
| 77 | |
| 78 | ## [1.4.0] - 2016-10-20 |
| 79 | |
| 80 | ### Added |
| 81 | |
| 82 | - Message, stream and URI factories for [](https://github.com/slimphp/SlimSlim Framework](https://github.com/slimphp/Slim](https://github.com/slimphp/Slim) |
| 83 | - BufferedStream that allow you to decorate a non-seekable stream with a seekable one. |
| 84 | - cUrlFormatter to be able to redo the request with a cURL command |
| 85 | |
| 86 | |
| 87 | ## [1.3.1] - 2016-07-15 |
| 88 | |
| 89 | ### Fixed |
| 90 | |
| 91 | - FullHttpMessageFormatter will not read from streams that you cannot rewind (non-seekable) |
| 92 | - FullHttpMessageFormatter will not read from the stream if $maxBodyLength is zero |
| 93 | - FullHttpMessageFormatter rewinds streams after they are read |
| 94 | |
| 95 | |
| 96 | ## [1.3.0] - 2016-07-14 |
| 97 | |
| 98 | ### Added |
| 99 | |
| 100 | - FullHttpMessageFormatter to include headers and body in the formatted message |
| 101 | |
| 102 | ### Fixed |
| 103 | |
| 104 | - #41: Response builder broke header value |
| 105 | |
| 106 | |
| 107 | ## [1.2.0] - 2016-03-29 |
| 108 | |
| 109 | ### Added |
| 110 | |
| 111 | - The RequestMatcher is built after the Symfony RequestMatcher and separates |
| 112 | scheme, host and path expressions and provides an option to filter on the |
| 113 | method |
| 114 | - New RequestConditional authentication method using request matchers |
| 115 | - Add automatic basic auth info detection based on the URL |
| 116 | |
| 117 | ### Changed |
| 118 | |
| 119 | - Improved ResponseBuilder |
| 120 | |
| 121 | ### Deprecated |
| 122 | |
| 123 | - RegexRequestMatcher, use RequestMatcher instead |
| 124 | - Matching authenitcation method, use RequestConditional instead |
| 125 | |
| 126 | |
| 127 | ## [1.1.0] - 2016-02-25 |
| 128 | |
| 129 | ### Added |
| 130 | |
| 131 | - Add a request matcher interface and regex implementation |
| 132 | - Add a callback request matcher implementation |
| 133 | - Add a ResponseBuilder, to create PSR7 Response from a string |
| 134 | |
| 135 | ### Fixed |
| 136 | |
| 137 | - Fix casting string on a FilteredStream not filtering the output |
| 138 | |
| 139 | |
| 140 | ## [1.0.0] - 2016-01-27 |
| 141 | |
| 142 | |
| 143 | ## [0.2.0] - 2015-12-29 |
| 144 | |
| 145 | ### Added |
| 146 | |
| 147 | - Autoregistration of stream filters using Composer autoload |
| 148 | - Cookie |
| 149 | - [](http://www.apigen.org/Apigen](http://www.apigen.org/](http://www.apigen.org/) configuration |
| 150 | |
| 151 | |
| 152 | ## [0.1.2] - 2015-12-26 |
| 153 | |
| 154 | ### Added |
| 155 | |
| 156 | - Request and response factory bindings |
| 157 | |
| 158 | ### Fixed |
| 159 | |
| 160 | - Chunk filter namespace in Dechunk stream |
| 161 | |
| 162 | |
| 163 | ## [0.1.1] - 2015-12-25 |
| 164 | |
| 165 | ### Added |
| 166 | |
| 167 | - Formatter |
| 168 | |
| 169 | |
| 170 | ## 0.1.0 - 2015-12-24 |
| 171 | |
| 172 | ### Added |
| 173 | |
| 174 | - Authentication |
| 175 | - Encoding |
| 176 | - Message decorator |
| 177 | - Message factory (Guzzle, Diactoros) |
| 178 | |
| 179 | |
| 180 | [Unreleased]: https://github.com/php-http/message/compare/v1.7.1...HEAD |
| 181 | [1.7.1]: https://github.com/php-http/message/compare/1.7.0...v1.7.1 |
| 182 | [1.7.0]: https://github.com/php-http/message/compare/1.6.0...1.7.0 |
| 183 | [1.6.0]: https://github.com/php-http/message/compare/1.5.0...1.6.0 |
| 184 | [1.5.0]: https://github.com/php-http/message/compare/v1.4.1...1.5.0 |
| 185 | [1.4.1]: https://github.com/php-http/message/compare/v1.4.0...v1.4.1 |
| 186 | [1.4.0]: https://github.com/php-http/message/compare/v1.3.1...v1.4.0 |
| 187 | [1.3.1]: https://github.com/php-http/message/compare/v1.3.0...v1.3.1 |
| 188 | [1.3.0]: https://github.com/php-http/message/compare/v1.2.0...v1.3.0 |
| 189 | [1.2.0]: https://github.com/php-http/message/compare/v1.1.0...v1.2.0 |
| 190 | [1.1.0]: https://github.com/php-http/message/compare/v1.0.0...v1.1.0 |
| 191 | [1.0.0]: https://github.com/php-http/message/compare/0.2.0...v1.0.0 |
| 192 | [0.2.0]: https://github.com/php-http/message/compare/v0.1.2...0.2.0 |
| 193 | [0.1.2]: https://github.com/php-http/message/compare/v0.1.1...v0.1.2 |
| 194 | [0.1.1]: https://github.com/php-http/message/compare/v0.1.0...v0.1.1 |
| 195 |