Skip to content

Releases: ker0x/messenger

3.0.0

13 Oct 23:07
6eede48
Compare
Choose a tag to compare

Changelog (since 2.1.1)

Version 3.0.0 of the Messenger library is an enhancement of version 2.1.1 with major break changes.

  • 3.0.0 (2018-10)
    • Update API version to v3.1.
    • Add support for Persona API (Thanks to @misantron)
    • Add support for the BUSINESS_PRODUCTIVITY message tag (Thanks to @atgg)
    • Adding $appVersion as optional 4th argument in \Kerox\Messenger\Messenger::__construct() with default value to const API_VERSION.
    • Remove parameters $notificationType and $tag for methods message() and action in \Kerox\Messenger\Api\Send().
    • Remove parameters $notificationType and $tag for methods send() in \Kerox\Messenger\Api\Broadcast().
    • Add parameter $options for methods message() and action in \Kerox\Messenger\Api\Send().
    • Add parameter $options for methods send() in \Kerox\Messenger\Api\Broadcast().
    • Remove parameters $notificationType, $tag and $messagingType for method __construct() in \Kerox\Messenger\Request\SendRequest().
    • Remove parameters $notificationType, $tag for method __construct() in \Kerox\Messenger\Request\BroadcastRequest().
    • Add parameter $options for method __construct() in \Kerox\Messenger\Request\SendRequest().
    • Add parameter $options for method __construct() in \Kerox\Messenger\Request\BroadcastRequest().
    • Move constants MESSAGING_TYPE_RESPONSE, MESSAGING_TYPE_UPDATE, MESSAGING_TYPE_MESSAGE_TAG and MESSAGING_TYPE_NON_PROMOTIONAL_SUBSCRIPTION from \Kerox\Messenger\Request\SendRequest() to \Kerox\Messenger\SendInterface
    • Method addQuickReply() in \Kerox\Messenger\Model\Message() will throw an exception if there is already too many quick replies.
    • Parameters $ref, $source and $type in \Kerox\Messenger\Model\Callback\Referral() can now return null.
    • Add parameter $sharable in \Kerox\Messenger\Model\Message\Attachment\Template\ButtonTemplate().
    • Increase limit to 640 characters for $text in \Kerox\Messenger\Model\Message\Attachment\Template\ButtonTemplate(). (Thanks to @mferrara)
    • Improve tests
    • Refactor code

2.1.1

07 Jul 14:50
75805e2
Compare
Choose a tag to compare
  • fix issue #104 (Thanks to @yaliniyalu)
  • fix coding styles
  • refactor some code

2.1.0

09 May 22:03
0d514b6
Compare
Choose a tag to compare
  • add constants CONTENT_TYPE_PHONE and CONTENT_TYPE_EMAIL for QuickReply
  • add RequestThreadControlEvent class
  • add GamePlayEvent class
  • update Send API
  • update Thread API
  • update Insights API
  • improve tests
  • fix issues

2.0.2

18 Mar 16:21
3932269
Compare
Choose a tag to compare

1.4.1

18 Mar 16:21
7d94e69
Compare
Choose a tag to compare

2.0.1

08 Feb 13:58
4c12225
Compare
Choose a tag to compare
  • add method create for ThreadControl
  • add constants CONTENT_TYPE_TEXT and CONTENT_TYPE_LOCATION for QuickReply
  • parameter $contentType for QuickReply is set to CONTENT_TYPE_TEXT by default and become optional
  • update README

2.0.0

09 Jan 17:54
b5dffc9
Compare
Choose a tag to compare
  • bump minimum PHP version to 7.1
  • refactor code to be 7.1 compliant
  • update API version to 2.11
  • rename all template class with Template suffix
  • add method toArray for all class implementing \JsonSerializable interface
  • update method jsonSerialize
  • add static method create() for classes inside namespace Kerox\Messenger\Model\Message, Kerox\Messenger\Model\Common, Kerox\Messenger\Model\ProfileSettings, Kerox\Messenger\Model\Data
  • add template MediaTemplate
  • add element MediaElement
  • refactor API Insights
  • add API for NLP
  • add API for Broadcast

1.4.0

15 Dec 10:44
5e05f0d
Compare
Choose a tag to compare
  • add ReferralEvent class (thanks to @sherryt400)
  • update Travis configuration
  • update PHP CS fixer configuration

1.3.3

09 Sep 07:29
Compare
Choose a tag to compare

1.3.2

29 Aug 07:33
Compare
Choose a tag to compare