From 639afd34daa36a14c4f47e1d70a9ac5f038541d5 Mon Sep 17 00:00:00 2001 From: Julien Loizelet Date: Wed, 16 Oct 2024 14:12:27 +0900 Subject: [PATCH] chore(*): Prepare release 2.3.1 --- CHANGELOG.md | 11 +++++++++++ src/Constants.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a3eb07..78c69be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,17 @@ As far as possible, we try to adhere to [Symfony guidelines](https://symfony.com --- +## [2.3.1](https://github.com/crowdsecurity/php-common/releases/tag/v2.3.1) - 2024-10-16 +[_Compare with previous release_](https://github.com/crowdsecurity/php-common/compare/v2.3.0...v2.3.1) + + +### Fixed + +- Remove `Host` header for `file_get_contents` request handler +- Check status code before trying to decode the response body + +--- + ## [2.3.0](https://github.com/crowdsecurity/php-common/releases/tag/v2.3.0) - 2024-10-04 [_Compare with previous release_](https://github.com/crowdsecurity/php-common/compare/v2.2.0...v2.3.0) diff --git a/src/Constants.php b/src/Constants.php index f828e8a..cba5209 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -131,7 +131,7 @@ class Constants /** * @var string The current version of this library */ - public const VERSION = 'v2.3.0'; + public const VERSION = 'v2.3.1'; /** * @var string The version regex */