From b561085fc21531622670a7e1541c6dd89c69578a Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 10 Jan 2024 21:38:20 +0530 Subject: [PATCH] Bump client version to 3.0.4 and changelog (#345) --- CHANGELOG.md | 7 +++++++ src/ClientInterface.php | 24 ++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) 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..5a11a875 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -63,12 +63,12 @@ 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. * - * @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; }