This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
Releases: RobotsAndPencils/buford
Releases · RobotsAndPencils/buford
v0.4.2
v0.4.1
dastardly dingo
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
cranky caribou
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
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
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.