Skip to content

Releases: carpediem/mattermost-webhook

version 2.2.0

17 Jan 14:26
Compare
Choose a tag to compare

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

version 1.2.0

17 Jan 14:25
Compare
Choose a tag to compare

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
  • filter_uri missing second argument added
  • Client::send throws an Carpediem\Mattermost\Exception

Deprecated

  • Client::send use Client::notify

Removed

  • None

version 2.1.1

16 Jan 08:13
Compare
Choose a tag to compare

Added

  • None

Fixed

  • filter_uri missing second argument added
  • Client::send throws an Carpediem\Mattermost\Exception

Deprecated

  • None

Removed

  • None

version 2.1.0

15 Jan 08:35
Compare
Choose a tag to compare

Added

  • Message::fromArray
  • Message::__set_state
  • Attachment::fromArray
  • Attachment::__set_state
  • Attachment::setAuthor

Fixed

  • Message::attachment property visibility
  • filter_uri should not throw on empty string

Deprecated

  • Attachment::setAuthorName use Attachment::setAuthor instead
  • Attachment::setAuthorLink use Attachment::setAuthor instead
  • Attachment::setAuthorIcon use Attachment::setAuthor instead

Removed

  • None

version 1.1.0

15 Jan 08:34
Compare
Choose a tag to compare

Added

  • Message::fromArray
  • Message::__set_state
  • Attachment::fromArray
  • Attachment::__set_state
  • Attachment::setAuthor

Fixed

  • Message::attachment property visibility
  • filter_uri should not throw on empty string

Deprecated

  • Attachment::setAuthorName use Attachment::setAuthor instead
  • Attachment::setAuthorLink use Attachment::setAuthor instead
  • Attachment::setAuthorIcon use Attachment::setAuthor instead

Removed

  • None

version 2.0.0

12 Jan 10:34
Compare
Choose a tag to compare

initial release which drops support for PHP5 🎉 🎉 🎉

version 1.0.1

12 Jan 11:41
Compare
Choose a tag to compare

Added

  • None

Fixed

  • is_iterable function declaration is not compatible with PHP5

Deprecated

  • None

Removed

  • None

version 1.0.0

12 Jan 10:33
Compare
Choose a tag to compare

Initial release 🎉 🎉 🎉