Skip to content

Commit ffd13f8

Browse files
authored
DXE-3111 Merge pull request #53 from akamai/release/2.1.0
Release/2.1.0
2 parents c7f4b80 + 11c5800 commit ffd13f8

11 files changed

+385
-493
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build/
55
akamai-open-edgegrid-client*.phar
66
.phpunit.result.cache
77
.php-cs-fixer.cache
8+
test/
89

910
### IntelliJ ###
1011
*.iml

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2.1.0
2+
---
3+
[25 Sep, 2023]
4+
* Change from extending Guzzle Client to using trait
5+
* Resolve deprecation warnings
6+
* Upgrade to psr/log 3.0 and monolog/monolog 3.3
7+
* Upgrade to humbug/box 4.3.8
8+
* Remove return value from `\Akamai\Open\EdgeGrid\Client` `setLogger` function
9+
110
2.0.0
211
---
312
[18 Oct, 2022]

box.json.dist

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"alias": "akamai-open-edgegrid-client.phar",
32
"algorithm": "SHA512",
43
"directories": [
54
"src",

build/phar/stub.php

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
if (class_exists('Phar')) {
3+
Phar::mapPhar('akamai-open-edgegrid-client.phar');
4+
}
5+
6+
Phar::interceptFileFuncs();
7+
require_once 'phar://' .__FILE__. '/vendor/autoload.php';
8+
// Run the CLI if called directly
9+
if (PHP_SAPI == 'cli' && basename($_SERVER['argv'][0]) == basename(__FILE__)) {
10+
(new \Akamai\Open\EdgeGrid\Cli())->run();
11+
exit;
12+
}
13+
__HALT_COMPILER(); ?>

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"php": ">=8.1",
1616
"akamai-open/edgegrid-auth": "2.0.0",
1717
"guzzlehttp/guzzle": "^7.5.0",
18+
"psr/http-client": "^1.0.2",
1819
"psr/log": "^3.0",
1920
"monolog/monolog": "^3.3",
2021
"league/climate": "~3.2"
@@ -24,7 +25,7 @@
2425
"phpspec/prophecy": "~1.0",
2526
"squizlabs/php_codesniffer": "^3.7",
2627
"friendsofphp/php-cs-fixer": "^3.9",
27-
"humbug/box": ">=4.1.0"
28+
"humbug/box": ">=4.3.8"
2829
},
2930
"autoload": {
3031
"psr-4": {

0 commit comments

Comments
 (0)