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

Releases: litaio/lita

3.0.0

26 Feb 11:09
Compare
Choose a tag to compare

See the Lita 3.0 release announcement on Lita.io.

2.7.2

06 Feb 04:52
Compare
Choose a tag to compare
  • 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

20 Dec 15:28
Compare
Choose a tag to compare
  • Added: The plugin generator will now automatically include gemspec metadata for the lita.io plugins page.

2.7.0

09 Dec 05:46
Compare
Choose a tag to compare
  • 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

29 Oct 02:29
Compare
Choose a tag to compare
  • 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

05 Oct 08:03
Compare
Choose a tag to compare
  • Added: Event system. See "event subscriptions" in the README.
  • Changed: Signature for the Source constructor. It is now called as Source.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 methods private_message?, private_message!, and the :private_message option to the constructor.
  • Improved: Documentation about testing.

2.4.0

10 Sep 07:31
Compare
Choose a tag to compare
  • 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 real MatchData object for the triggered route.
  • Changed: Improved performance of route dispatch.

2.3.0

25 Aug 09:50
Compare
Choose a tag to compare
  • Added: New CLI commands, lita adapter and lita 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 for response.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

17 Aug 05:56
Compare
Choose a tag to compare
  • 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

31 Jul 04:04
Compare
Choose a tag to compare
  • Added: Lita now has command line options to run as a daemon. Special thanks to @PatrickTulskie for help with this feature.