You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated the custom clients that implement Webthink\MonologSlack\Utility\ClientInterface. Use a PSR-18 instead.
Passing $username as argument to SlackWebhookHandler is deprecated and it will be removed on 2.x. Instead initialize
your own own formatter and set it to the handler.
Passing $useCustomEmoji as argument to SlackWebhookHandler is deprecated and it will be removed on 2.x. Instead initialize
your own own formatter and set it to the handler.
Changes
Allow the constructor of SlackWebhookHandler to pass as level string|int. Before it was only int.
Allow the constructor of SlackWebhookHandler to pass a PSR-18 HTTP client.
Use as default HTTP client an adapter of php-http/guzzle6-adapter instead of guzzle client.
Added in SlackLineFormatter a third parameter to allow passing a custom format of the text.
Removed from the default format of SlackLineFormatter the date since it is recorded on slack when the message is sent.