Skip to content

Commit

Permalink
Fix for new aws sdk versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgrayisok committed Feb 3, 2025
1 parent f99a31c commit da9e8ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Servd Assets and Helpers

## 2.10.15 - 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

## 2.10.14 - 2025-01-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "servd/craft-asset-storage",
"description": "Servd Asset Storage and Helpers integration for Craft CMS",
"version": "2.10.14",
"version": "2.10.15",
"type": "craft-plugin",
"keywords": [
"cms",
Expand Down
2 changes: 2 additions & 0 deletions src/AssetsPlatform/AssetsPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,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);

Expand Down

0 comments on commit da9e8ec

Please sign in to comment.