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

Releases: RobotsAndPencils/buford

v0.4.2

02 Apr 05:13
Compare
Choose a tag to compare

The timestamp Apple returns with 410 StatusGone (ErrUnregistered) is in milliseconds, but Buford was expecting seconds. Fixes #37. Thanks @bjdgyc.

v0.4.1

18 Feb 20:37
Compare
Choose a tag to compare

push

  • Opt-in to http/2 transport as required in Go 1.6 final.
    • The NewClient API has changed as it may return an error.
    • Also golang.org/x/net/http2 is now a dependency.
    • See #26 for details. Thanks to @sger, @Valrox, and @pzinovkin for reporting the issue.

dastardly dingo

05 Feb 20:19
Compare
Choose a tag to compare

certificate

  • API: Decode and Load now return x509 certificate and an RSA key instead of a TLS certificate. This is to enable compatibility with PKCS 7 signing used by the pushpackage package (see below).
  • API: A new TLS function will provide a tls certificate from the Decode and Load certificate.TLS(cert, key). See the readme for a full example.

payload

  • Category now works in payload.APS. Thanks @macteo.

push

  • IsDeviceTokenValid considers device tokens up to 100 bytes (200 hexadecimal digits) valid. See #13.

pushpackage

  • This new package creates Website push packages for Safari and Wallet .pkpass packages. It takes care of creating a manifest.json and signature, as well as zipping up the result. See the readme and example/ folder for more.

cranky caribou

12 Jan 20:08
Compare
Choose a tag to compare

push package

  • Parse and return timestamps in error responses (for ErrUnregistered). Timestamp indicates when the device token was last considered invalid.
  • Add IsDeviceTokenValid function to check the format of device tokens.

payload package

  • Add Validate method for APS, Browser, and MDM payloads.

bullied bandicoot

07 Jan 00:39
Compare
Choose a tag to compare

push package

  • API: Development and Production rather than Sandbox and Live.
  • API: Push and PushBytes return an apns-id (a UUID generated by Apple to identify the notification being pushed)
  • Push marshals anything to JSON, even values without a MarshalJSON method (eg. Maps).
  • Defines several errors based on responses from Apple.

payload package

  • Alert now includes TitleLocKey and TitleLocArgs.
  • Tests include an example of custom values with the Map() method.
  • A new Browser type for Safari Push Notifications.

day one release

18 Dec 06:50
Compare
Choose a tag to compare
day one release Pre-release
Pre-release

This is an early alpha release that is missing some features and an API that isn't finalized. I've only tested it in Apple's sandbox environment.

Please kick the tires and share what you think.