Releases: akamai/AkamaiOPEN-edgegrid-php-client
Release 2.1.0
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
Release 2.0.0
2.0.0
[18 Oct, 2022]
- Upgrade to php 8.1
- Upgrade to Guzzle 7.5, Monolog 2.0
- Upgrade to akamai-open/edgegrid-auth 2.0.0
akamai-open/edgegrid-client 1.0.0
This release is the final 1.0.0 (stable) release for akamai-open/edgegrid-client
Changes since 1.0.0beta1:
- Update to latest dependencies
Improved continuous integration, including Windows testing
- Update to akamai-open/edgegrid-auth 1.0.0beta1
- Bump minimum guzzlehttp/guzzle to 6.1.1
- Improved continuous integration, including Windows testing
This is the first beta for the akamai-open/edgegrid-client package.
Bump akamai-open/edgegrid-auth requirement to 0.6.2
Thanks to @siwinski
Add support for using environment variables for credentials
Added a new Client::createInstance()
method that will try to use the environment and fallback to .edgerc
.
This method will check in order:
AKAMAI_{SECTION}_*
environment variables- if using the
default
section,AKAMAI_*
environment variables - the specified (or
default
if none) section in.edgerc
- if not using the
default
section,AKAMAI_*
environment variables
This new method is the recommended way for instantiating an instance.
The environment variables are:
AKAMAI_HOST
orAKAMAI_{SECTION}_HOST
AKAMAI_CLIENT_TOKEN
orAKAMAI_{SECTION}_CLIENT_TOKEN
AKAMAI_CLIENT_SECRET
orAKAMAI_{SECTION}_CLIENT_SECRET
AKAMAI_ACCESS_TOKEN
orAKAMAI_{SECTION}_ACCESS_TOKEN
PHP 7.1 Compatiblity
- Update to akamai-open/edgegrid-auth 0.6.1 (PHP 7.1 compatibility)
Drastically Reduce PHAR Size & Resource Usage
For those of you using the PHAR releases, this version dramatically reduces the size of the PHAR. This will impact memory and overall resource usage.
- Shrink PHAR from 5.6MB to 370KB
- Install bin/http using composer
- Cleanup tools and composer setup
- Add support for
-A
short flag for--auth-type
on CLI to match httpie - Update dependencies
Split out akamai-open/edgegrid-auth
- Split
\Akamai\Open\EdgeGrid\Authentication
into it's own (PHP 5.3+ compatible) package - Move documentation to
apigen/apigen
- Update dependencies
Note: If you are using
akamai-open/edgegrid-client
as a composer dependency, it will continue to function without any changes. For details onakamai-open/edgegrid-auth
see details here.
Add additional Getters
This release adds some new getters to \Akamai\Open\EdgeGrid\Authentication
:
getQuery()
getBody()
getHttpMethod()
getConfig()
getHeaders()