Skip to content

Commit

Permalink
Merge branch '4.14' of https://github.com/craftcms/cms into 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 2, 2025
2 parents 1459e6d + 9791899 commit cfa7e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
- Added `craft\web\User::getImpersonatorId()`.
- Added `craft\web\User::setImpersonatorId()`.
- Added `craft\web\View::setTwig()`.
- `GuzzleHttp\Client` is now instantiated via `Craft::createObject()`. ([#16366](https://github.com/craftcms/cms/pull/16366))
- `craft\elements\NestedElementManager::getIndexHtml()` now supports passing `defaultSort` in the `$config` array. ([#16236](https://github.com/craftcms/cms/discussions/16236))
- `craft\elements\conditions\entries\MatrixFieldConditionRule` is now an alias of `FieldConditionRule`.
- `craft\helpers\Cp::elementIndexHtml()` now supports passing `defaultSort` in the `$config` array, when `sources` is `null`. ([#16236](https://github.com/craftcms/cms/discussions/16236))
Expand Down
2 changes: 1 addition & 1 deletion src/Craft.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public static function createGuzzleClient(array $config = []): Client
$guzzleConfig['proxy'] = $generalConfig->httpProxy;
}

return new Client($guzzleConfig);
return Craft::createObject(Client::class, [$guzzleConfig]);
}
}

Expand Down

0 comments on commit cfa7e12

Please sign in to comment.