3.18.0
IMPROVEMENTS:
ResponseBodyV2::createFromSignedPayload()introduced — decodes asignedPayloadJWT directly instead of requiring it to be wrapped into a fake raw notification JSON first;NotificationHistoryResponseItemnow uses it internally- Makefile:
lint-74..lint-85targets added (lint against PHP 7.4 through 8.5), pluscomposer,stan, andtestshortcuts
BUGFIX:
AppStoreServerAPIInterfacewas missing thegetTransactionHistoryV2()andsetAppAccountToken()declarations even thoughAppStoreServerAPIalready implemented both — interface updated to matchsetAppAccountToken(): parameter (and underlying request URL placeholder) renamed from$transactionIdto$originalTransactionIdto match what the endpoint actually expects (breaking change if you call this method using a named argument)JWT::verifyX509Chain(): throws a proper exception when thex5ccertificate chain doesn't contain exactly 3 certificates, instead of triggering anUndefined array keywarning (which could previously surface as an uncaughtTypeErrorfurther down)JWTCreationException::__construct(): implicit nullable parameter deprecation fixed (Throwable $previous = null→?Throwable $previous = null)