From edb92e63775b9b3ffa4a25627c142b0e63cdb801 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 10 Jan 2024 21:19:00 +0530 Subject: [PATCH 1/2] Bump client version to 3.0.4 and changelog --- CHANGELOG.md | 7 +++++++ src/ClientInterface.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 735bc175..245caff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # CHANGELOG +## [3.0.4](https://github.com/apigee/apigee-client-php/milestone/28?closed=1) +* [#343] Fix Invalid payload issue while editing/updating AppGroup/Teams in Apigee X. +* [#342] Fix for test failing for symfony 6.4. +* [#340] Fix for attribute values lost in PUT call while creating AppGroup. +* [#337] Fix for Team app credentials listings sorted in ascending order. +* [#334] Fix for \Apigee\Edge\HttpClient\Plugin\Authentication\GceServiceAccount::isAvailable() throws exception when called on non-GCE context. + ## [3.0.3](https://github.com/apigee/apigee-client-php/milestone/26?closed=1) * [#323] Add union type to suppress deprecation warning. * [#325] Fix error when AppGroup list is empty or do not returns appgroups array. diff --git a/src/ClientInterface.php b/src/ClientInterface.php index c42e55cb..3b56e5d5 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -63,7 +63,7 @@ interface ClientInterface extends HttpClient */ public const APIGEE_ON_GCP_ENDPOINT = 'https://apigee.googleapis.com/v1'; - public const VERSION = '3.0.3'; + public const VERSION = '3.0.4'; /** * Allows access to the last request, response and exception. From 35b82917f4ecc91de5152f0d31315c968a7e0bac Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 10 Jan 2024 21:31:30 +0530 Subject: [PATCH 2/2] Fixed style --- src/ClientInterface.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ClientInterface.php b/src/ClientInterface.php index 3b56e5d5..5a11a875 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -68,7 +68,7 @@ interface ClientInterface extends HttpClient /** * Allows access to the last request, response and exception. * - * @return \Apigee\Edge\HttpClient\Utility\JournalInterface + * @return JournalInterface */ public function getJournal(): JournalInterface; @@ -108,10 +108,10 @@ public function getEndpoint(): string; * @param \Psr\Http\Message\UriInterface|string $uri * @param array $headers * - * @throws \Apigee\Edge\Exception\ApiException + * @throws Exception\ApiException * @throws \Http\Client\Exception * - * @return \Psr\Http\Message\ResponseInterface + * @return ResponseInterface */ public function get($uri, array $headers = []): ResponseInterface; @@ -121,10 +121,10 @@ public function get($uri, array $headers = []): ResponseInterface; * @param \Psr\Http\Message\UriInterface|string $uri * @param array $headers * - * @throws \Apigee\Edge\Exception\ApiException + * @throws Exception\ApiException * @throws \Http\Client\Exception * - * @return \Psr\Http\Message\ResponseInterface + * @return ResponseInterface */ public function head($uri, array $headers = []): ResponseInterface; @@ -135,10 +135,10 @@ public function head($uri, array $headers = []): ResponseInterface; * @param \Psr\Http\Message\StreamInterface|resource|string|null $body * @param array $headers * - * @throws \Apigee\Edge\Exception\ApiException + * @throws Exception\ApiException * @throws \Http\Client\Exception * - * @return \Psr\Http\Message\ResponseInterface + * @return ResponseInterface */ public function post($uri, $body = null, array $headers = []): ResponseInterface; @@ -149,10 +149,10 @@ public function post($uri, $body = null, array $headers = []): ResponseInterface * @param \Psr\Http\Message\StreamInterface|resource|string|null $body * @param array $headers * - * @throws \Apigee\Edge\Exception\ApiException + * @throws Exception\ApiException * @throws \Http\Client\Exception * - * @return \Psr\Http\Message\ResponseInterface + * @return ResponseInterface */ public function put($uri, $body = null, array $headers = []): ResponseInterface; @@ -163,10 +163,10 @@ public function put($uri, $body = null, array $headers = []): ResponseInterface; * @param \Psr\Http\Message\StreamInterface|resource|string|null $body * @param array $headers * - * @throws \Apigee\Edge\Exception\ApiException + * @throws Exception\ApiException * @throws \Http\Client\Exception * - * @return \Psr\Http\Message\ResponseInterface + * @return ResponseInterface */ public function delete($uri, $body = null, array $headers = []): ResponseInterface; }