This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
Releases: litaio/lita-slack
Releases · litaio/lita-slack
1.8.0
Features:
- New configuration options to control various behavior:
link_names
,parse
,unfurl_links
, andunfurl_media
. See the README for details. - New events:
slack_reaction_added
andslack_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
Bug fixes:
- Users' email address are now correctly added to their
Lita::User
objects.
1.7.1
Bug fixes:
- The profile metadata for a user is now correctly stored when
Lita::User
objects are created.
1.7.0
Features:
SlackUser
has a newemail
method containing the user's email address.
Improvements:
SlackUser#raw_data
is nowSlackUser#metadata
to be more consistent with the style ofLita::User
. The old method name remains for backwards compatibility.
1.6.0
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
- 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
- Added: lita-slack now supports setting channel topics through
Lita::Robot#set_topic
.
1.3.0
- Changed: Incoming messages will now include the text of any Slack attachments.
1.2.0
- 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 aSlackUser
object with all the user's metadata.
1.1.1
- Fixed: Outgoing messages sent from handler callbacks will now be sent immediately instead of all at once when the callback ends.