Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.4 KB

changelog.md

File metadata and controls

71 lines (49 loc) · 2.4 KB

1.5.1

  • allow using a single attachment w/o putting it in an array [@Elektron1c97 #47]

1.5.0

  • allow sending with attachments only [#48]

1.4.0

  • Format attachment messages with the LinkFormatter [@bhuga #37]
  • Add support for mailto links in markdown formatted links [@keithpitty #43]

1.3.1

  • Fix bug with link formatter for markdown links wrapped in square braces [@bhuga #36]

1.3.0

  • Add #escape to allow clients to escape special characters [@monkbroc #35]

1.2.1

  • 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 the string-scrub gem to handle invalid characters.

1.2.0

  • Strip invalid UTF-8 characters from message before attempting to format links. They are replaced with the unicode replacement character ''. [@ushu #26]

1.1.0

  • add ability to pass :http_options to the initializer or #ping. this allows you to set options like read_timeout or open_timeout. See issue #17 for more information.

1.0.0

  • [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

0.6.1

  • fix bug in link_formatter to allow multiple links in a message

0.6.0

  • add ability to pass in your own http client
  • [BREAKING!] hook name moves to options array

0.5.0

  • allow defaults to be set on initialization
  • remove channel formatting [#8]

0.4.1

  • allow default channel's to start with a "@" or "#" [#7]

0.4.0

  • try and correct for a channel name being set without a leading "#" [@dlackty]

0.3.2

  • add Net::HTTP wrapper to include support for ruby 1.9.3

0.3.1

  • remove requirement for channel, no longer required by slack [@dlackty]

0.3.0

  • add custom hook endpoint parameter [@razielgn]

0.2.0

  • remove HTTParty dependency

0.1.1

  • loosen httparty dependency
  • refactor codebase & add specs

0.1.0

  • now formats html or markdown links in your message to match slack's format

0.0.2

  • fix a fat finger if a default channel is set

0.0.1

  • initial release