Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Releases: adobkin/libcapn

v2.0.0

07 Jul 04:58
Compare
Choose a tag to compare

Library

Bugfixes

  • Missed function argement added #27
  • Incorrect validation of certificate #26
  • Build problem referencing fcntl.h #22

Enhancements

  • Function apn_send() now returns array of invalid device tokens instead of invalid token index
  • Added apn_set_behavior() function. Call to specify behavior. Function takes one or more bit flags as a parameter.

apn-pusher

Bugfixes

  • Fixed memory leaks

Enhancements

  • Added new option '-T'
  • Renamed option '-l' to '-i'

2.0.0 Beta 1

18 Nov 05:40
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release

This release is focused on internal improving, improving the performance, adding new features and fixing errors. For detailed information see README file.

Version 2.0 isn't compatible with 1.0

Added

  • Added an apn-pusher. apn-pusher is simple command line tool to send push
    notifications to iOS and OS X devices.
  • Added support a .p12 file instead of a certificate and a private key. Use
    apn_set_pkcs12_file() to specify the path to a .p12 file.
  • Logging. For logging specify log level and pointer to callback-function using
    apn_set_log_level() and apn_set_log_callback().
  • Added apn_array wrapper instead of C array.
  • Added apn_send2() function. This function automatically establishes new connection to
    APNs when connection is dropped. The function establishes new connection to APNs only
    when invalid token has been sent, otherwise new connection will not be established.

Changed

  • Model of errors-handling was changed, error code is stored in errno.
  • Changed internal representation of notifications. Notification is stored in binary
    format.
  • Changed internal representation of notifications. Notification is stored in binary format.
    See apn_binary_message_*() functions
  • Increased the maximum size for notifications to 2 kilobytes.

1.1.0

01 Nov 04:03
Compare
Choose a tag to compare

Fixed

  • double SSL_free() and crash (@hex2tan)
  • forgot the ntohl() then identifier is unmatched. (@hex2tan)
  • apn_error_invalid_token() returned incorrect token. (Markus Trenkwalder)
  • does not send notification when apn_payload_add_custom_property_string is used
  • apn_payload_add_custom_property_integer() returns an error if the integer value is zero

New

  • libcapn now uses new binary protocol and TLSv1
  • Added support notification priority
  • Change JSON encoding flag from JSON_ENSURE_ASCII to JSON_COMPACT (@pprkut)

1.0.0

28 Feb 10:36
Compare
Choose a tag to compare
Fixed install path