Skip to content

Releases: apigee/apigee-client-php

2.0.3

25 Jun 15:11
Compare
Choose a tag to compare

View milestone 2.0.3 for details.

2.0.2

09 May 14:44
b70be36
Compare
Choose a tag to compare

Monetization API

  • Added support for Reports API. #51
  • Fixed: Keep original start date property can be null #49

2.0.1

01 Apr 05:24
822b088
Compare
Choose a tag to compare

Management API

  • Fixed Edge for Private Cloud support. Core Persistent Services (CPS) is not available in Private Cloud installations and because of that earlier versions of this library threw a CpsNotEnabledException exception when someone tried to construct an API request by adding pagination.
    You can find more information about this in the related pull request and in the "Edge for Private Cloud" section of the README.md.

Monetization API

  • #36: Send developer email address instead of developer UUID to the Accept rate plan endpoint.

Other

2.0.0

27 Nov 13:52
646029e
Compare
Choose a tag to compare
  • First stable release! 🎉 🎉 🎉
  • Added Monetization API support with alpha stability. (Management API support is stable.)
  • Added missing organization controller parameter to the Company controller's constructor.
  • Improved documentation of the CompanyMembersControllerInterface's setMembers() methods.

2.0.0-alpha6

09 Nov 15:48
d8b6ac0
Compare
Choose a tag to compare
2.0.0-alpha6 Pre-release
Pre-release
  • idProperty() on entity objects is a static method from now.
  • Setters on entities now accepts variable lengths arguments instead of an array. This way we can leverage PHP's built-in type check on these methods as well.
  • Developer and company entities extends and implements one new parent class and interface: AppOwner and AppOwnerInterface.
  • Refactored management API tests.
    • New environment variable: APIGEE_EDGE_PHP_CLIENT_API_CLIENT. See README.md Unit Tests section for more information.
  • Bumped minimum required versions from php-client/httplug and php-client/client-common packages.
  • Travis CI: Removed PHP nightly builds from the test matrix, fixed failed tests caused by Composer process timeout.

2.0.0-alpha5

11 Oct 05:53
564ea5a
Compare
Choose a tag to compare
2.0.0-alpha5 Pre-release
Pre-release
  • Added missing constructor to the Company entity.
  • Added "JSON_PRESERVE_ZERO_FRACTION" to the serializer to ensure float values are always encoded as a float value.
  • Simplified and improved serialization. The EntityNormalizer now called as ObjectNormalizer and the EntityDenormalizer called as ObjectDenormalizer.
  • Blocked installation php-http/client-common>=1.8.0 until this issue does not get solved: php-http/client-common#109.
  • Updated vimeo/psalm dev dependency to the latest 2.x version.

2.0.0-alpha4

11 Oct 05:52
8d045ed
Compare
Choose a tag to compare
2.0.0-alpha4 Pre-release
Pre-release
  • Dropped paginated entity listing support from developer- and company apps controllers. Pagination only supported on developer- and company apps endpoints when entity ids listed. These endpoints only return maximum 100 entities (ids and objects), if a developer/company has more apps (it should not be) use the /apps endpoint to load all apps one by one in a loop.
  • Decoupled entity serialization logic from controller classes.
  • Introduced new traits that allows us to keep contract about methods use in traits and classes.
  • Now EntityTransformer handles updating entity properties from API responses.
  • Introducing a new BaseObject as a parent class for entities and (data) structures.

2.0.0-alpha3

11 Oct 05:52
641915a
Compare
Choose a tag to compare
2.0.0-alpha3 Pre-release
Pre-release
  • 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.

2.0.0-alpha2

24 May 08:15
7ae1575
Compare
Choose a tag to compare
2.0.0-alpha2 Pre-release
Pre-release
  • Added CHANGELOG.md.
  • Fixed: Failed API calls caused issues if OAuth authentication were in use.
  • Two new required parameters added to AppCredentialControllerInterface::generate().
    (These required by the API.)
  • AppCredentialControllerInterface::overrideAttributes() removed because
    interface now implements the AttributesAwareEntityControllerInterface interface.
    All previous usage of overrideAttributes() must be replaced with
    updateAttributes().
  • Extended test coverage.

2.0.0-alpha1

10 May 17:20
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release

First alpha release