Slack Developer Kit for Hubot
Go to GitHub

Changelog

V4.4.0

Aug 24, 2017

  • Restore ability to inspect rawText and rawMessage on SlackMessage objects (#413) - thanks @mistydemeo
  • Relieve extraneous users.list Web API method calls from occurring due to hubot brain (#419) - thanks @chapmanc
  • Add ability to set RtmClient options and rtm.start options via env vars (#431, #421) - thanks @aoberoi
  • Documentation fix (#426) - thanks @TonioOoOo

V4.3.4

Mar 29, 2017

  • Fixes issue when events arrive from user’s who are outside the team/workspace you are connected to (#404).

V4.3.3

Feb 17, 2017

  • Adds support for message threads. Thanks @ndaversa!

V4.3.2

Feb 15, 2017

  • fixes a bug where user_change events would cause hubot to crash (#391). thanks @aoberoi, @DonEmil, and @pearswj.

V4.3.1

Jan 9, 2017

  • fixes a bug where hubot’s using a token without permission to read a user’s email would cause a crash (#388). thanks @aoberoi.

V4.3.0

Jan 5, 2017

  • loads slack users into robot.brain. (#381) thanks @NKMR6194!
  • fixes various typos and inaccuracies in the docs (#383, #378, #376).

V4.2.2

Nov 5, 2016

  • Fixed a surprisingly wide range of bugs whereby we incorrectly formatted incoming messages that tagged channels or users. Now if someone says “@foobar”, your bot will here “@foobar”, just as you’d expect.
  • So, it turns out you can’t have both an event handler in a base class called topic and a setter method in a derived class called topic. Who knew? Stupid dynamically typed languages.
  • v4.2.1 was retconned by the recently updated documentation. The retcon has been retconned.

V4.2.1

Oct 12, 2016

  • Emergency bugfix because typos.

V4.2.0

Oct 12, 2016

  • And now we have an even easier way of watching for message reactions

V4.1.0

Sep 21, 2016

  • Somewhere out there, someone has been pining to handle message reactions. If that someone is you, this release lets you do that. Preprare to receive new ReactionMessage messages when reactions are added or removed from messages! To the rest of you: Carry on.

V4.0.5

Sep 14, 2016

  • Sometimes you could send a message to an @username or a #channelname, but most of the time you couldn’t. We have found the problem, and politely asked it to leave.

V4.0.4

Sep 12, 2016

  • Oh, so it turns out that the solution to using Slack’s message formatting was incorrectly conceived. Fixed.

V4.0.3

Sep 12, 2016

  • So, you know how Hubot would crash when you tried to set the topic in a private channel? Yeah, me too. Fixed. (#350)
  • As it happens, we were taking on some of the message formatting work that the Slack servers can do on our behalf. Fixed. (#236, #356)
  • robot.messageRoom now accepts room names, not just IDs. Because sometimes all you have is a name. (#346)
  • Treely ruly ignore all self-generated messages, for realz this time.
  • Send all messages with as_user=true by default now.

V4.0.2

Aug 3, 2016

  • v4 shipped with this amazing feature whereby we would silently destroy any non-string fields in a message object before sending it out. Y’all loved that feature so much, we just had to build on it. Now we silently destroy you entire message object before sending it out. J/K, that was actually a bug, and we fixed it.

V4.0.1

Jul 19, 2016

  • Usernames with - and . no longer borked
  • You could craft a bot that would crash Hubot by simply having it send a message. Wow! That got fixed.

V4.0.0

Jul 15, 2016

  • Now uses the latest version of node-slack-sdk (v3.4.1 as of this writing), inheriting all the improvements therein.
  • Better (and automatically enabled) reconnect logic. As in, it actually reconnects automatically at all.
  • Now you can upload files!
  • Significantly improved handling of messages with attachments, which is to say, we can deliver them.
  • Message formatting of links, usernames and channel names is now working far better than it ever did, which is damning with faint praise, but hey.
  • Long messages are now left for Slack to handle, bless their hearts.
  • Slack usernames with . and - are now treated with the respect and dignity due to all usernames.
  • Messages from bots are no longer filtered out, which is both cool and potentially terrifying, but we should never have silenced the robots in the first place.
  • Remember how if you tried to hack on this adapter and used npm link to plug that into a live bot? And how that didn’t work? Yeah? Well now it does. Stupid instanceof.
  • Total refactoring of the functionality, exposing a slightly different interface. So watch out for that.
  • You can now access the underlying Slack client directly, for when you really need low-level functionality therein.

subscribe via RSS