Codedge Llc Pigeon Versions Save

iOS and Android push notifications for Elixir

v2.0.0-rc.2

3 months ago

Fixed

  • Resolve APNS :too_many_provider_token_updates by moving token generation into APNS.Token (#227).
  • Support HTTPoison 2.0. (#236)
  • Improve handling of FCM error responses. (#245)
  • Fix DispatcherWorker missing a clause for {:stop, reason} in the init function.
  • APNS.Config keys now decode properly for PEMs generated with OpenSSL 3. (#248)
  • Add ExpiredToken as APNS error response. (#240)
  • Better handling of APNS token lifecycle between :dev/:prod environments with the same key identifier. (#239)

v1.6.2

3 months ago

Changed

  • Relax Poison dependency to allow 5.x.
  • Support HTTPoison 2.0, dropping support for ~> 0.7.

Fixed

  • Handle new PEM decode case for APNS cert keys with OpenSSL 3.0.

v1.6.0

3 years ago

Added

  • JSON library made configurable. For backwards compatability, Poison is still a required dependency. Override in your config.exs.

    config :pigeon, json_library: Jason
    

Fixed

  • Handle FCM single message_id's on topic pushes.

v1.5.1

3 years ago
  • Added APNS InvalidPushType error (#172).
  • Fixed various typespecs (#170).

v1.5.0

3 years ago
  • Bumped minimum Elixir version to 1.6
  • Raise Pigeon.ConfigError when booting invalid config structs. See below for validated keys and error types.
  • APNS.JWTConfig now validates key p8 content before connecting.
  • Relaxed gen_stage dependency to allow ~> 1.0

Validated config keys:

  • ADM.Config - :client_id, :client_secret
  • APNS.Config - :cert, :key
  • APNS.JWTConfig - :team_id, :key, :key_identifier
  • FCM.Config - :key

Possible error values:

  • {:error, {:invalid, value}}
  • {:error, {:nofile, value}}

v1.4.0

4 years ago
  • apns-push-type header support for iOS 13. An additional :push_type key has been added to the APNS.Notification struct.

v1.3.2

4 years ago
  • Document workers configuration for run-time configuration of push workers.
  • Modify run-time configuration of push workers so that multiple (or no) workers may be returned by the startup configuration.

v1.2.4

5 years ago
  • Fixed ADM handling of connection timeouts

v1.2.3

5 years ago
  • Fixed APNS, FCM and ADM error response parse crashes. Error responses not listed in the documentation are returned as :unknown_error

v1.2.2

5 years ago
  • Fixed APNS handling of notification expiration
  • Added APNS support for collapse_id