Releases: maknz/slack
Authors and thumbnails in attachments
Guzzle 6 support
Add support and prefer Guzzle 6. We still support Guzzle 5 and 4 just fine.
Add support for title and title_link in attachments
You can now provide an optional title
and title_link
field in attachments. Thanks @iwiznia.
Add image option to attachments
You can now use the image_url
field to embed images in attachments. Thanks @Leenug for the contribution.
Dependency injection enhancements for Laravel
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
This release includes compatibility changes for Laravel 5. Laravel 4 is still fully supported also.
Markdown support and updated link unfurling
- 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
- 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
andunfurl_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
We now prefer Guzzle 5, but are compatible with 4. Loosens the version constraint.
Unicode support
A fix which will enable Unicode characters to be sent to Slack. Thanks to @serima for the bug report.