This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
Releases: litaio/lita
Releases · litaio/lita
3.0.0
See the Lita 3.0 release announcement on Lita.io.
2.7.2
- Changed: Gemspec files generated by the plugin generator no longer restrict the dependency on the lita gem to the same major version series.
2.7.1
- Added: The plugin generator will now automatically include gemspec metadata for the lita.io plugins page.
2.7.0
- Added: Lita can now be configured to respond to an "alias" in addition to its name/mention name. Useful for addressing a message to the bot very quickly with minimal typing.
- Fixed: Mention name and alias will be matched literally when sending Lita a command, even if they contain characters that having special meaning in a regular expression.
- Changed: When starting Lita as a daemon and the
-k
flag, if there is no existing PID file, it will still boot. - Changed: Updated the generated
.travis.yml
file to explicitly start Redis during builds – a new requirement based on changes to Travis: http://about.travis-ci.org/blog/2013-11-18-upcoming-build-environment-updates/
2.6.0
- Added: New built-in events:
:loaded
,:shut_down_started
, and:shut_down_completed
. - Changed: Relaxed gem dependency requirements so future versions of dependencies can work with Lita.
2.5.0
- Added: Event system. See "event subscriptions" in the README.
- Changed: Signature for the
Source
constructor. It is now called asSource.new(user: user, room: room)
. Both:user
and:room
are optional independently, but at least one is required. The old API is deprecated but still supported until 3.0. - Added:
Source
objects now have a private message flag. See the methodsprivate_message?
,private_message!
, and the:private_message
option to the constructor. - Improved: Documentation about testing.
2.4.0
- Added:
Response#reply_privately
for replying directly to a user, even if the message came from a chat room. - Changed: Output for the built-in help handler now gets sent to the user privately.
- Added:
Response#match_data
for getting a realMatchData
object for the triggered route. - Changed: Improved performance of route dispatch.
2.3.0
- Added: New CLI commands,
lita adapter
andlita handler
, for generating the boilerplate files necessary for a new plugin. - Added: New CLI command,
lita version
for displaying the current version of the program. - Added: You can now call
response.command?
as an alias forresponse.message.command?
in handler methods. - Changed: Messages from the robot will now be output with color on Unix systems when using the shell adapter. This helps distinguish user input from robot output.
- Fixed: Lita no longer crashes when the default command is invoked outside of a Lita project. Instead, a helpful message is output.
- Fixed: The shell adapter will no longer output a blank line if a handler sends an empty string for the robot to output.
2.2.1
- Fixed: Users will no longer see commands they do not have access to in the output of the help handler.
- Changed: The authorization handler is now cleanly restricted to administrators, so non-admin users will not trigger its routes at all.
- Changed: The authorization group named "admins" now reads from
Lita.config.admins
, and cannot be modified via the authorization handler.
2.2.0
- Added: Lita now has command line options to run as a daemon. Special thanks to @PatrickTulskie for help with this feature.