Skip to content

Commit

Permalink
2.0.0-alpha3 preparations.
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 committed Jul 26, 2018
1 parent 50781c4 commit 718bfa4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# CHANGELOG

## 2.0.0-alpha3 - 2018-07-26

* As CPS pagination got supported in the Management API for listing API products and Companies we also added it to API client.
* `getEntities()` and `getEntityIds()` load all entities and entity ids
from Apigee Edge by default, even if it requires multiple API calls
because of CPS pagination.
* Classes and interfaces related to CPS and non CPS entity listing got renamed:
* CpsLimitEntityController => PaginatedEntityController
* CpsLimitEntityControllerInterface => PaginatedEntityControllerInterface
* CpsLimitEntityController => PaginatedEntityController
* CpsListingEntityControllerInterface => PaginatedEntityListingControllerInterface
* CpsListingEntityControllerTrait => PaginatedEntityListingControllerTrait
* NonCpsListingEntityControllerTrait => NoPaginationEntityListingControllerTrait
* NonCpsListingEntityControllerInterface => NonPaginatedEntityListingControllerInterface
* CpsListLimitInterface => PagerInterface
* OAuth: Fixed re-authentication with client credentials if refresh token has expired.
* [Changed return types](https://github.com/apigee/apigee-client-php/commit/a3b51721a5a9d937d978490ae7e7ee6601b8a3b8) in AppCredentialController as it does not inherit from EntityCrudOperationsControllerTrait anymore.
* Constants that represents constant state of the Management API now defined in interfaces instead of classes.
* Also the visibility of some constants changed to public from private or protected.
* Added support to add [Retry plugin](http://docs.php-http.org/en/latest/plugins/retry.html) configuration to the client.
* Renamed environment variables used in tests for authentication from APIGEE_EDGE_PHP_SDK_* to APIGEE_EDGE_PHP_CLIENT_*.
* Improved test coverage.
* Better configuration in .gitattributes to exclude more unnecessary files from prefer-dist install.

## 2.0.0-alpha2 - 2018-05-24

* Added CHANGELOG.md.
Expand Down
2 changes: 0 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ class Client implements ClientInterface

public const CONFIG_RETRY_PLUGIN_CONFIG = 'retry_plugin_config';

protected const VERSION = '2.0.0-alpha2';

/** @var \Http\Message\UriFactory */
private $uriFactory;

Expand Down
2 changes: 2 additions & 0 deletions src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ interface ClientInterface extends HttpClient
{
public const DEFAULT_ENDPOINT = 'https://api.enterprise.apigee.com/v1';

public const VERSION = '2.0.0-alpha3';

/**
* Allows access to the last request, response and exception.
*
Expand Down

0 comments on commit 718bfa4

Please sign in to comment.