Skip to content

Releases: maknz/slack

Authors and thumbnails in attachments

03 Jun 03:38
Compare
Choose a tag to compare

You can now specify author_name, author_link and author_icon fields in your attachments.

Demonstration of author fields

You can also specify a thumb_url to provide a thumbnail image with the attachment.

Demonstration of thumb url

Guzzle 6 support

02 Jun 19:35
Compare
Choose a tag to compare

Add support and prefer Guzzle 6. We still support Guzzle 5 and 4 just fine.

Add support for title and title_link in attachments

16 Mar 20:41
Compare
Choose a tag to compare

You can now provide an optional title and title_link field in attachments. Thanks @iwiznia.

Add image option to attachments

04 Mar 18:54
Compare
Choose a tag to compare

You can now use the image_url field to embed images in attachments. Thanks @Leenug for the contribution.

Dependency injection enhancements for Laravel

22 Feb 06:19
Compare
Choose a tag to compare

You can now typehint for a Maknz\Slack\Client in the constructor of classes created via Laravel's IoC container, rather than being forced to use the Slack facade. Thanks @tzookb for the addition.

Laravel 5 support

13 Feb 23:41
Compare
Choose a tag to compare

This release includes compatibility changes for Laravel 5. Laravel 4 is still fully supported also.

Markdown support and updated link unfurling

01 Feb 07:29
Compare
Choose a tag to compare
  • Markdown support: the ability to disable Markdown parsing of messages, and the ability to specify Markdown parsing for attachment properties.
  • Slack have updated unfurling to differentiate text-based URLs and media-based URLs, which have both been added as settings on the client.

Upgrading

Laravel users may wish to re-publish their configuration with php artisan config:publish maknz/slack to get the new fields. Make sure to backup your current config file so you can port your settings across to the new file.

Version 1

09 Jan 23:35
Compare
Choose a tag to compare
  • Decoupled messaging from the client to prevent side effects and be a bit more usable
  • Moved from PSR-2 to PSR-4 autoloading
  • Implemented missing link_names and unfurl_links options
  • Tidied up the documentation

Upgrading from 0.x.x to 1.0.0

The API has stayed much the same, so as long as you were following examples in the README, there shouldn't be any breaks for basic usage. If you have problems or want aspects of the new layout explained, log an issue.

If you're using Laravel, you may wish to re-publish the configuration (php artisan config:publish maknz/slack) in order to get the new configuration options. Everything will work without it though.

Update Guzzle

06 Jan 23:49
Compare
Choose a tag to compare

We now prefer Guzzle 5, but are compatible with 4. Loosens the version constraint.

Unicode support

19 Nov 20:03
Compare
Choose a tag to compare

A fix which will enable Unicode characters to be sent to Slack. Thanks to @serima for the bug report.