Skip to content

2.0.0-alpha3

Pre-release
Pre-release
Compare
Choose a tag to compare
@mxr576 mxr576 released this 11 Oct 05:52
· 283 commits to 2.x since this release
641915a
  • 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 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 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.