Skip to content

2.0.6

Choose a tag to compare

@aporat aporat released this 09 Feb 19:11
6cfec31

Added

  • iTunes\Validator::setExcludeOldTransactions(bool $exclude) and getExcludeOldTransactions();
    the exclude-old-transactions flag is now always sent in the verifyReceipt request body (default
    false). Thanks to @leesherwood
    (#65)

Changed

  • Breaking: composer now requires PHP >= 7.0 (was 5.5); phpunit dev dependency moved to ^6.0.
  • Breaking: iTunes\Validator::__construct(string $endpoint) and
    Amazon\Validator::__construct(string $endpoint) gained a string type hint, and
    setEndpoint(string $endpoint) likewise, so passing null now raises a TypeError.
  • Return types declared across the API: isValid(): bool, getResultCode(): int (Amazon),
    parseJsonResponse(): self, getEndpoint(): string, and self on fluent setters (setUserId,
    setReceiptId, setDeveloperSecret, setReceiptData, setSharedSecret).

Notes written from the code diff for this release; see CHANGELOG.md.