Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Releases: litaio/lita-slack

1.8.0

16 Sep 21:04
Compare
Choose a tag to compare

Features:

  • New configuration options to control various behavior: link_names, parse, unfurl_links, and unfurl_media. See the README for details.
  • New events: slack_reaction_added and slack_reaction_removed.
  • Incoming messages now include the Slack message timestamp in an extensions hash: message.extensions[:slack][:timestamp].
  • The adapter now provides an implementation for Lita::Robot#roster.
  • The adapter now provides an implementation for Lita::Robot#mention_format.

Improvements:

  • Attachments use fallback text if normal text is not available.
  • Increased verbosity of error messages for better debugging.

Bug fixes:

  • Messages from other bots and integrations no longer trigger Lita handlers.
  • Eliminated possible cases where Lita would receive messages from itself.

1.7.2

16 Sep 20:54
Compare
Choose a tag to compare

Bug fixes:

  • Users' email address are now correctly added to their Lita::User objects.

1.7.1

31 Oct 08:01
Compare
Choose a tag to compare

Bug fixes:

  • The profile metadata for a user is now correctly stored when Lita::User objects are created.

1.7.0

25 Sep 20:41
Compare
Choose a tag to compare

Features:

  • SlackUser has a new email method containing the user's email address.

Improvements:

  • SlackUser#raw_data is now SlackUser#metadata to be more consistent with the style of Lita::User. The old method name remains for backwards compatibility.

1.6.0

29 Aug 14:58
Compare
Choose a tag to compare

Features:

  • Support for Slack attachments using Lita 4.6's new "chat service" API.

Improvements:

  • Improved documentation, clarifying which types are public and which are private.

Bug fixes:

  • References to Slack users by ID will now show up in chat using their mention name rather than their "real" name.

1.5.0

12 Jun 22:31
Compare
Choose a tag to compare
  • Changed: Special formatting added to incoming messages by the Slack API are now removed before being processed by the bot. This should make handlers that have URLs and other special types of tokens in their regex patterns behave as expected.
  • Added: Support for Lita 4.4's Room object. Channels and groups can now be looked up without having to know their Slack ID number by calling Lita::Room.find_by_name('name_of_channel_or_group').
  • Added: A new event, :slack_channel_created is fired whenever a channel or group is created or updated.

1.4.0

10 May 07:07
Compare
Choose a tag to compare
  • Added: lita-slack now supports setting channel topics through Lita::Robot#set_topic.

1.3.0

10 Apr 01:28
Compare
Choose a tag to compare
  • Changed: Incoming messages will now include the text of any Slack attachments.

1.2.0

19 Mar 01:53
Compare
Choose a tag to compare
  • Added: A new :slack_user_created event is triggered when a user is created or updated. The payload contains one key, :slack_user, which contains a SlackUser object with all the user's metadata.

1.1.1

03 Mar 11:58
Compare
Choose a tag to compare
  • Fixed: Outgoing messages sent from handler callbacks will now be sent immediately instead of all at once when the callback ends.