From 3999d98e4fcbf099efeda07df82c59134f932ad8 Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Thu, 5 Dec 2024 12:08:01 -0600 Subject: [PATCH] release: 1.4.0 --- CHANGELOG.md | 24 +++++++++++++++--------- README.md | 4 ++-- src/Implementations/Psr18/Clients.php | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3613c9..f156218 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,36 +4,42 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 1.3.0 +## [1.4.0] - 2024-12-05 ### Added -- Support [`guzzlehttp/guzzle` package](https://github.com/guzzle/guzzle) discovery for `^8.0`by [\@aidan-casey](https://github.com/aidan-casey) in [\#6](https://github.com/psr-discovery/http-client-implementations/pull/6) -- Support [`nimbly/shuttle` package](https://github.com/nimbly/Shuttle) discovery by [\@evansims](https://github.com/evansims) in [\#7](https://github.com/psr-discovery/http-client-implementations/pull/7) +- Expand [`voku/httpful`](https://github.com/guzzle/guzzle) support to also include `^8.0` + +## [1.3.0] - 2024-12-04 + +### Added + +- Expand [`guzzlehttp/guzzle`](https://github.com/guzzle/guzzle) support to also include `^8.0` — [\@aidan-casey](https://github.com/aidan-casey) ([\#6](https://github.com/psr-discovery/http-client-implementations/pull/6)) +- Add [`nimbly/shuttle`](https://github.com/nimbly/Shuttle) discovery — [\@evansims](https://github.com/evansims) ([\#7](https://github.com/psr-discovery/http-client-implementations/pull/7)) ### Changed - Bump minimum supported PHP version to 8.2 -## 1.2.0 +## [1.2.0] - 2024-03-06 ### Added -- Support [the Joomla HTTP Package](https://github.com/joomla-framework/http) by [\@kernusr](https://github.com/kernusr) in [\#5](https://github.com/psr-discovery/http-client-implementations/pull/5) +- Add [`joomla/http`](https://github.com/joomla-framework/http) discovery — [\@kernusr](https://github.com/kernusr) ([\#5](https://github.com/psr-discovery/http-client-implementations/pull/5)) -## 1.1.1 +## [1.1.1] - 2024-03-04 ### Changed - Bump minimum supported PHP version to 8.1 -## 1.1.0 +## [1.1.0] - 2024-03-04 ### Added -- Support [Symfony 7](https://symfony.com/7) components by [\@JanMikes](https://github.com/JanMikes) in [\#4](https://github.com/psr-discovery/http-client-implementations/pull/4) +- Expand [`symfony/http-client`](https://symfony.com/7) support to also include `^7.0` — [\@JanMikes](https://github.com/JanMikes) ([\#4](https://github.com/psr-discovery/http-client-implementations/pull/4)) -## 1.0.0 +## [1.0.0] - 2023-03-27 ### Added diff --git a/README.md b/README.md index 00d1e97..a701bfc 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Successful discovery requires the presence of a compatible implementation in the The following `psr/http-client-implementation` implementations are discovered and instantiated automatically: -- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) ^7.0 +- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) ^7.0 | ^8.0 - [joomla/http](https://github.com/voku/httpful) ^2.0 | ^3.0 - [kriswallsmith/buzz](https://github.com/kriswallsmith/Buzz) ^1.0 - [php-http/curl-client](https://github.com/php-http/curl-client) ^2.1 @@ -35,7 +35,7 @@ The following `psr/http-client-implementation` implementations are discovered an - [php-http/guzzle7-adapter](https://github.com/php-http/guzzle7-adapter) ^0.1 | ^1.0 - [php-http/socket-client](https://github.com/php-http/socket-client) ^2.0 - [symfony/http-client](https://github.com/symfony/http-client) ^4.3 | ^5.0 | ^6.0 | ^7.0 | ^8.0 -- [voku/httpful](https://github.com/voku/httpful) ^2.2 +- [voku/httpful](https://github.com/voku/httpful) ^2.2 | ^3.0 - [nimbly/shuttle](https://github.com/nimbly/shuttle) ^1.0 The following mock implementations are also available: diff --git a/src/Implementations/Psr18/Clients.php b/src/Implementations/Psr18/Clients.php index df4aaac..3946fd1 100644 --- a/src/Implementations/Psr18/Clients.php +++ b/src/Implementations/Psr18/Clients.php @@ -129,7 +129,7 @@ public static function candidates(): CandidatesCollection self::$candidates->add(CandidateEntity::create( package: 'voku/httpful', - version: '^2.2', + version: '^2.2 | ^3.0', builder: static fn (string $class = '\Httpful\Client'): object => new $class(), ));