Skip to content

2.1.0

Choose a tag to compare

@aporat aporat released this 13 Apr 20:37
8d57b6d

Added

  • iTunes\PendingRenewalInfo class with getProductId(), getAutoRenewProductId(),
    getAutoRenewStatus(), getOriginalTransactionId(), getExpirationIntent(),
    getIsInBillingRetryPeriod(), getStatus() (returns
    STATUS_ACTIVE/STATUS_PENDING/STATUS_EXPIRED), EXPIRATION_INTENT_* constants, and
    ArrayAccess to the raw fields. Thanks to @leesherwood
    (#67)
  • iTunes\PurchaseItem now implements ArrayAccess over the raw response fields; offsetSet()
    re-parses the item. Thanks to @leesherwood
    (#66)
  • Amazon\Validator::getEndpoint() and setEndpoint(string $endpoint). Thanks to @gsingh1
    (#69)
  • Amazon\PurchaseItem::getRenewalDate() reads the renewalDate field as Carbon. Thanks to
    @gsingh1 (#70)

Changed

  • Breaking: iTunes\Response::getLatestReceiptInfo() returns iTunes\PurchaseItem[] sorted by
    purchase date descending instead of the raw latest_receipt_info arrays. Thanks to @leesherwood
    (#66)
  • Breaking: iTunes\Response::getPendingRenewalInfo() returns iTunes\PendingRenewalInfo[]
    instead of the raw pending_renewal_info arrays. Thanks to @leesherwood
    (#67)

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