diff --git a/CHANGELOG.md b/CHANGELOG.md index fb4e2f2..2bbbf32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for Servd Assets and Helpers +## 3.5.24 - 2025-02-03 + +### Fixed + +- Added a fix for an update to the AWS S3 SDK which adds headers incompatible with Servd asset platform storage providers + ## 3.5.23 - 2025-01-27 ### Added diff --git a/composer.json b/composer.json index c4d35c8..d262cf1 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "servd/craft-asset-storage", "description": "Servd Asset Storage and Helpers integration for Craft CMS", - "version": "3.5.23", + "version": "3.5.24", "type": "craft-plugin", "keywords": [ "cms", diff --git a/src/AssetsPlatform/AssetsPlatform.php b/src/AssetsPlatform/AssetsPlatform.php index d54a324..d6235d5 100644 --- a/src/AssetsPlatform/AssetsPlatform.php +++ b/src/AssetsPlatform/AssetsPlatform.php @@ -124,6 +124,8 @@ public function getS3ConfigArray($forceSlug = null, $forceKey = null) $config['use_path_style_endpoint'] = true; $config['dual_stack'] = false; $config['accelerate'] = false; + $config['request_checksum_calculation'] = 'when_required'; + $config['response_checksum_validation'] = 'when_required'; $client = Craft::createGuzzleClient(); $config['http_handler'] = new GuzzleHandler($client);