The Messenger library follows SemVer.
Changelog (since 3.4.0
)
- 3.5.0 (2021-02)
- Bump Guzzle version to
7.2
- Bump PHPUnit version to
8.
- Replace
static
call withself
on Event class - Update
.gitattributes
- Update CI workflow
- Bump Guzzle version to
Changelog (since 3.3.3
)
- 3.4.0 (2020-11)
- Bump minimal PHP version to 7.3
- Add Product template & element
- Fix deprecation warning for composer 2.0 with tests namespace
Changelog (since 3.3.2
)
- 3.3.3 (2020-08)
- Change maximum value for quick replies. (Thanks to @nferbey)
- Add nlp traits and detected locales to callback message. (Thanks to @htaoufikallah)
- Update Travis and Scrutinizer configuration
Changelog (since 3.3.1
)
- 3.3.2 (2020-02)
- Allow to pass an array as recipient to send message
- Rename all
testBad*
methods totestInvalid*
Changelog (since 3.3.0
)
- 3.3.1 (2020-01)
- Add PHP 7.4 to Travis
- Add Support of
CONFIRMED_EVENT_UPDATE
andPOST_PURCHASE_UPDATE
message tags. (Thanks to @BFoucher) - Deprecated old message tags which will be disabled on March 4th, 2020 (see Current Supported Tags)
- Buttons type
element_share
andnested
are now deprecated
Changelog (since 3.2.0
)
- 3.3.0 (2019-11)
- Update API version to
v5.0
- Add Support of
image_aspect_ratio
property for Generic Template (Thanks to @BFoucher) - Add support of
ice_breakers
andhome_url
properties for Profile API - Add support of
reply_to
property for Message callback - Add support of
Reaction
event - Properties
payment_settings
andtarget_audience
are now deprecated
- Update API version to
Changelog (since 3.1.1
)
- 3.2.0 (2019-08)
- Update API version to
v3.3
- Remove parameter
seq
from webhook Events (Thanks to @SoleneLms) - Api Broadcast and Code are now deprecated (see CHANGELOG)
- Template List and Open Graph are now deprecated (see CHANGELOG)
- Button Share, Nested and Location for Quickreply are now deprecated (see CHANGELOG)
- Add PHPStan for tests
- Update API version to
Changelog (since 3.1.0
)
- 3.1.1 (2018-12)
- Method
addQuickReply
will no longer thrown an exception if no quick replies were previously set (Thanks to @Khodl) - Add new tests for QuickReplies
- Update
phpunit/phpunit
version to7.4
. - Remove
squizlabs/php_codesniffer
as a require-dev dependencies.
- Method
Changelog (since 3.0.0
)
- 3.1.0 (2018-10)
- Update API version to
v3.2
. - Fix type for properties *AppId in
\Kerox\Messenger\Model\Callback\PassThreadControl::class
,\Kerox\Messenger\Model\Callback\RequestThreadControl::class
and\Kerox\Messenger\Model\Callback\TakeThreadControl::class
. (Thanks to @dbknet) - Change method visibility from
public
toprotected
in\Kerox\Messenger\Helper\ValidatorTrait::class
- Remove methods
isPaymentEnabled
andgetLastAdReferral
from\Kerox\Messenger\Response\UserResponse::class
as there are been removed from the API (see CHANGELOG)
- Update API version to
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 constAPI_VERSION
. - Remove parameters
$notificationType
and$tag
for methodsmessage()
andaction
in\Kerox\Messenger\Api\Send()
. - Remove parameters
$notificationType
and$tag
for methodssend()
in\Kerox\Messenger\Api\Broadcast()
. - Add parameter
$options
for methodsmessage()
andaction
in\Kerox\Messenger\Api\Send()
. - Add parameter
$options
for methodssend()
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
andMESSAGING_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 returnnull
. - 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). - Throw new Exception for better information.
- Improve tests.
- Refactor code.
- Update API version to