tag:github.com,2008:https://github.com/php-http/httplug/releases Release notes from httplug 2024-09-23T11:40:30Z tag:github.com,2008:Repository/34574921/2.4.1 2024-09-23T11:42:35Z 2.4.1 <ul> <li>Updated code to not raise warnings for nullable parameters in PHP 8.4.</li> </ul> dbu tag:github.com,2008:Repository/34574921/2.4.0 2023-04-14T15:10:56Z 2.4.0 <ul> <li>Allow <code>psr/http-message</code> v2 in addition to v1</li> <li>Deprecate <code>Http\Client\HttpClient</code>, use <a href="https://www.php-fig.org/psr/psr-18/" rel="nofollow">PSR-18</a> instead</li> </ul> dbu tag:github.com,2008:Repository/34574921/2.3.0 2022-02-21T09:53:06Z 2.3.0 <ul> <li>Enabled the <code>$onRejected</code> callback of <code>HttpRejectedPromise</code> to return a promise for implementing a retry<br> mechanism <a href="https://github.com/php-http/httplug/pull/168" data-hovercard-type="pull_request" data-hovercard-url="/php-http/httplug/pull/168/hovercard">#168</a></li> </ul> dbu tag:github.com,2008:Repository/34574921/2.2.0 2020-07-13T15:44:28Z 2.2.0 <h3>Changed</h3> <ul> <li>Support PHP 7.1-8.0</li> </ul> dbu tag:github.com,2008:Repository/34574921/2.1.0 2019-12-27T10:08:50Z 2.1.0 <h3>Changed</h3> <ul> <li><code>Http\Client\Exception\NetworkException</code> no longer extends <code>Http\Client\Exception\RequestException</code>, in accordance with <a href="https://www.php-fig.org/psr/psr-18/" rel="nofollow">PSR-18</a></li> </ul> dbu tag:github.com,2008:Repository/34574921/v2.0.0 2018-10-31T09:23:46Z Implementing PSR-18 <p>After two years of work the FIG finally accepted our proposal for HTTP Client standard as <a href="https://www.php-fig.org/psr/psr-18/" rel="nofollow">PSR-18</a>. This is a huge step in the life of HTTPlug.</p> <p>Many thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Nyholm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Nyholm">@Nyholm</a> who spearheaded the effort from the very first moment and worked extremely hard to pull this off. Thanks to the working group and everyone else, who made this possible.</p> sagikazarmark tag:github.com,2008:Repository/34574921/v1.1.0 2016-08-31T08:57:30Z Fix issue with promises <p>During the development of plugins we faced a problem with exceptions thrown in plugins.</p> <p>Any exceptions not implementing <code>Http\Client\Exception</code> ended up in an invalid argument error because of these lines:</p> <p><a href="https://github.com/php-http/promise/blob/v1.0.0/src/RejectedPromise.php#L36-L38">https://github.com/php-http/promise/blob/v1.0.0/src/RejectedPromise.php#L36-L38</a></p> <p>This type leak allowed to inject an exception to be passed to the onRejected callback of a Promise.</p> <p>In the current release we introduced HTTP specific promises which does not catch all exceptions, but HTTP ones. Every other exception will be thrown immediately.</p> sagikazarmark tag:github.com,2008:Repository/34574921/v1.0.0 2016-01-26T14:35:50Z First stable release <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/php-http/httplug/pull/109">#109</a> from php-http/stable_release</p> <p>Prepare stable release</p> sagikazarmark tag:github.com,2008:Repository/34574921/v1.0.0-RC1 2016-01-12T16:33:07Z v1.0.0-RC1 <p>Prepare RC1 release</p> sagikazarmark tag:github.com,2008:Repository/34574921/v1.0.0-beta 2015-12-17T15:26:24Z First beta release <p>This release brings a cleaner exception concept which is documented directly in the interfaces.</p> <p>There is also an initial support for discovering HTTP Clients using <a href="http://puli.io" rel="nofollow">Puli</a>.</p> sagikazarmark