Repository navigation
4.1.0
Changed
- Breaking: Minimum PHP version raised from
^7.2.5to^7.3(PHP 7.2 is end of life).
(#144) - Breaking:
google/apiclientconstraint raised from^2.0to^2.10.
(#153) - Google Play classes migrated from the legacy underscore class names to the namespaced ones:
GooglePlay\Validator::__construct()andGooglePlay\Acknowledger::__construct()now type-hint
Google\Service\AndroidPublisherinstead ofGoogle_Service_AndroidPublisher, and the
acknowledge requests useGoogle\Service\AndroidPublisher\ProductPurchasesAcknowledgeRequest/
SubscriptionPurchasesAcknowledgeRequest. The legacy names remain class aliases in
google/apiclient-services>= 0.200, so existing code constructing
Google_Service_AndroidPublisherkeeps working. Thanks to @yyeltsyn
(#153) - Breaking: Native return types added:
Amazon\Response::getReceipt(): array,
Amazon\Response::getPurchases(): array,Amazon\Validator::validate(): Response,
iTunes\AbstractResponse::getPurchases(): array,getLatestReceiptInfo(): array,
getPendingRenewalInfo(): array(and the same three oniTunes\ResponseInterface, so custom
implementations must declare them),iTunes\PendingRenewalInfo::isInGracePeriod(): booland
offsetExists($key): bool. composer.json:phpunit/phpunitdev dependency raised from^8.0to^9.0.- Note: the original release notes mention only the Google namespace migration and the
google/apiclient:^2.10requirement; the PHP 7.2 drop and the new return types were not listed.
Notes written from the code diff for this release; see CHANGELOG.md.