Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

executive elephant

Compare
Choose a tag to compare
@nathany nathany released this 07 Jun 00:03
· 43 commits to master since this release

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 a x509.Certificate and PrivateKey. This matches the behaviour of tls.LoadX509KeyPair from the standard library, except operating on *.p12 files instead of *.pem. #47

pushpackage

  • Sign now accepts a tls.Certificate instead of a x509.Certificate and rsa.PrivateKey, though note that the key must still be an RSA key. #47