Skip to content

Commit

Permalink
DXE-3111 Merge pull request #53 from akamai/release/2.1.0
Browse files Browse the repository at this point in the history
Release/2.1.0
  • Loading branch information
wzagrajcz authored Sep 25, 2023
2 parents c7f4b80 + 11c5800 commit ffd13f8
Show file tree
Hide file tree
Showing 11 changed files with 385 additions and 493 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build/
akamai-open-edgegrid-client*.phar
.phpunit.result.cache
.php-cs-fixer.cache
test/

### IntelliJ ###
*.iml
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2.1.0
---
[25 Sep, 2023]
* Change from extending Guzzle Client to using trait
* Resolve deprecation warnings
* Upgrade to psr/log 3.0 and monolog/monolog 3.3
* Upgrade to humbug/box 4.3.8
* Remove return value from `\Akamai\Open\EdgeGrid\Client` `setLogger` function

2.0.0
---
[18 Oct, 2022]
Expand Down
1 change: 0 additions & 1 deletion box.json.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"alias": "akamai-open-edgegrid-client.phar",
"algorithm": "SHA512",
"directories": [
"src",
Expand Down
13 changes: 13 additions & 0 deletions build/phar/stub.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
if (class_exists('Phar')) {
Phar::mapPhar('akamai-open-edgegrid-client.phar');
}

Phar::interceptFileFuncs();
require_once 'phar://' .__FILE__. '/vendor/autoload.php';
// Run the CLI if called directly
if (PHP_SAPI == 'cli' && basename($_SERVER['argv'][0]) == basename(__FILE__)) {
(new \Akamai\Open\EdgeGrid\Cli())->run();
exit;
}
__HALT_COMPILER(); ?>
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"php": ">=8.1",
"akamai-open/edgegrid-auth": "2.0.0",
"guzzlehttp/guzzle": "^7.5.0",
"psr/http-client": "^1.0.2",
"psr/log": "^3.0",
"monolog/monolog": "^3.3",
"league/climate": "~3.2"
Expand All @@ -24,7 +25,7 @@
"phpspec/prophecy": "~1.0",
"squizlabs/php_codesniffer": "^3.7",
"friendsofphp/php-cs-fixer": "^3.9",
"humbug/box": ">=4.1.0"
"humbug/box": ">=4.3.8"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit ffd13f8

Please sign in to comment.