All notable changes to carpediem-mattermost-webhook
will be documented in this file.
version 2.2.0 - 2018-01-17
Added
MessageInterface
AttachmentInterface
ClientInterface
Client::notify
Fixed
Client::send
always throws anCarpediem\Mattermost\Exception
Attachment::getTitleLink
always returns a stringAttachment::getFields
is made more relaxed to allow iterable return typeMessage::getAttachments
is made more relaxed to allow iterable return type- A
Attachment
must have at least a non emptyfallback
property - A
Message
must have at least a non emptytext
property Attachment::setFallback
must throws if the fallback value is the empty stringMessage::setText
must throws if the text value is the empty string
Deprecated
Client::send
useClient::notify
instead
Removed
- None
version 1.2.0 - 2018-01-17
Added
MessageInterface
AttachmentInterface
ClientInterface
Client::notify
Fixed
Client::send
always throws anCarpediem\Mattermost\Exception
Attachment::getTitleLink
always returns a stringAttachment::getFields
is made more relaxed to allow iterable return typeMessage::getAttachments
is made more relaxed to allow iterable return type- A
Attachment
must have at least a non emptyfallback
property - A
Message
must have at least a non emptytext
property Attachment::setFallback
must throws if the fallback value is the empty stringMessage::setText
must throws if the text value is the empty stringfilter_uri
missing second argument addedClient::send
throws anCarpediem\Mattermost\Exception
Deprecated
Client::send
useClient::notify
Removed
- None
version 2.1.1 - 2018-01-16
Added
- None
Fixed
filter_uri
missing second argument addedClient::send
throws anCarpediem\Mattermost\Exception
Deprecated
- None
Removed
- None
version 2.1.0 - 2018-01-15
Added
Message::fromArray
Message::__set_state
Attachment::fromArray
Attachment::__set_state
Attachment::setAuthor
Fixed
Message::attachment
property visibilityfilter_uri
should not throw on empty string
Deprecated
Attachment::setAuthorName
useAttachment::setAuthor
insteadAttachment::setAuthorLink
useAttachment::setAuthor
insteadAttachment::setAuthorIcon
useAttachment::setAuthor
instead
Removed
- None
version 1.1.0 - 2018-01-15
Added
Message::fromArray
Message::__set_state
Attachment::fromArray
Attachment::__set_state
Attachment::setAuthor
Fixed
Message::attachment
property visibilityfilter_uri
should not throw on empty string
Deprecated
Attachment::setAuthorName
useAttachment::setAuthor
insteadAttachment::setAuthorLink
useAttachment::setAuthor
insteadAttachment::setAuthorIcon
useAttachment::setAuthor
instead
Removed
- None
version 1.0.1 - 2018-01-12
Added
- None
Fixed
is_iterable
function declaration is not compatible with PHP5
Deprecated
- None
Removed
- None
version 2.0.0 - 2018-01-12
initial release which drops support for PHP5 :tada: :tada: :tada:
version 1.0.0 - 2018-01-12
Initial release :tada: :tada: :tada: