- allow using a single attachment w/o putting it in an array [@Elektron1c97 #47]
- allow sending with attachments only [#48]
- Format attachment messages with the LinkFormatter [@bhuga #37]
- Add support for mailto links in markdown formatted links [@keithpitty #43]
- Fix bug with link formatter for markdown links wrapped in square braces [@bhuga #36]
- Add
#escape
to allow clients to escape special characters [@monkbroc #35]
-
use
#scrub
to (more selectively) strip invalid characters from strings before attempting to format. This allows valid japanese (and more) characters to be used. Thanks to @fukayatsu for reporting.This checks for the presence of the
scrub
method on string, so if on ruby < 2.1 you'll need to include & require thestring-scrub
gem to handle invalid characters.
- Strip invalid UTF-8 characters from message before attempting to format links. They are replaced with the unicode replacement character '�'. [@ushu #26]
- add ability to pass
:http_options
to the initializer or#ping
. this allows you to set options likeread_timeout
oropen_timeout
. See issue #17 for more information.
- [BREAKING!] To follow changes with slack, client is now initialized with a webhook url instead of team & token. For help upgrading read the upgrade from 0.6.1 guide
- fix bug in link_formatter to allow multiple links in a message
- add ability to pass in your own http client
- [BREAKING!] hook name moves to options array
- allow defaults to be set on initialization
- remove channel formatting [#8]
- allow default channel's to start with a "@" or "#" [#7]
- try and correct for a channel name being set without a leading "#" [@dlackty]
- add Net::HTTP wrapper to include support for ruby 1.9.3
- remove requirement for channel, no longer required by slack [@dlackty]
- add custom hook endpoint parameter [@razielgn]
- remove HTTParty dependency
- loosen httparty dependency
- refactor codebase & add specs
- now formats html or markdown links in your message to match slack's format
- fix a fat finger if a default channel is set
- initial release