Skip to content

version 2.2.0

Latest
Compare
Choose a tag to compare
@ignace-dev ignace-dev released this 17 Jan 14:26
· 2 commits to master since this release

Added

  • MessageInterface
  • AttachmentInterface
  • ClientInterface
  • Client::notify

Fixed

  • Client::send always throws an Carpediem\Mattermost\Exception
  • Attachment::getTitleLink always returns a string
  • Attachment::getFields is made more relaxed to allow iterable return type
  • Message::getAttachments is made more relaxed to allow iterable return type
  • A Attachment must have at least a non empty fallback property
  • A Message must have at least a non empty text property
  • Attachment::setFallback must throws if the fallback value is the empty string
  • Message::setText must throws if the text value is the empty string

Deprecated

  • Client::send use Client::notify instead

Removed

  • None