This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
executive elephant
This release contains a significant number of API changes across the following packages.
push
- NewService API replaces NewClient. #47
- Topic has moved from Headers to Service and is extracted automatically by NewService (see #22)
- revise error responses to include HTTP Status code and Reason from Apple #46
- decode response JSON as a stream #43
certificate
- Load/Decode now return a
tls.Certificate
instead of ax509.Certificate
andPrivateKey
. This matches the behaviour oftls.LoadX509KeyPair
from the standard library, except operating on *.p12 files instead of *.pem. #47
pushpackage
- Sign now accepts a
tls.Certificate
instead of ax509.Certificate
andrsa.PrivateKey
, though note that the key must still be an RSA key. #47