UPGRADING.md in slack-ruby-bot-0.8.2 vs UPGRADING.md in slack-ruby-bot-0.9.0

- old
+ new

@@ -1,8 +1,18 @@ Upgrading SlackRubyBot ====================== +### Upgrading to >= 0.9.0 + +#### Add giphy to your Gemfile for GIF support + +The dependency on the `giphy` gem was dropped and GIFs don't appear by default. If you want GIF support, add `gem 'giphy'` to your **Gemfile**. + +You should not need to make any changes if you had already disabled GIFs for your bot. + +See [#89](https://github.com/slack-ruby/slack-ruby-bot/pull/89) for more information. + ### Upgrading to >= 0.8.0 #### Require a concurrency library The `faye-websocket` library is no longer required by default. Add either `faye-websocket` or `celluiloid-io` to your `Gemfile` depending on which concurrency implementation you'd like to use. We recommend `celluloid-io` moving forward. @@ -21,11 +31,11 @@ The regular expression parser for commands will now include a `nil` value for `expression` when an expression is not present. You can therefore no longer rely on checking `match.names.include?('expression')`, instead check `match['expression']`. #### Remove any bot.auth! calls -SlackRubyBot 0.6.x versions invoked a method called `auth!`, which caused a pre-flight authentication via Slack Web API `auth_test` method and collected a number of properties, such as client and team ID or name. This method has been removed in favor of using data available in the `Slack::RealTime::Client` local store introduced in [slack-ruby-client#54](https://github.com/dblock/slack-ruby-client/issues/54). Remove any explicit calls to this method. +SlackRubyBot 0.6.x versions invoked a method called `auth!`, which caused a pre-flight authentication via Slack Web API `auth_test` method and collected a number of properties, such as client and team ID or name. This method has been removed in favor of using data available in the `Slack::RealTime::Client` local store introduced in [slack-ruby-client#54](https://github.com/slack-ruby/slack-ruby-client/issues/54). Remove any explicit calls to this method. ### Upgrading to >= 0.6.0 While entirely compatible with the 0.5.x series, a number of methods have been deprecated and will be removed in the next release. @@ -130,10 +140,10 @@ Bot.run ``` ### Upgrading to >= 0.4.0 -This version uses [slack-ruby-client](https://github.com/dblock/slack-ruby-client) instead of [slack-ruby-gem](https://github.com/aki017/slack-ruby-gem). +This version uses [slack-ruby-client](https://github.com/slack-ruby/slack-ruby-client) instead of [slack-ruby-gem](https://github.com/aki017/slack-ruby-gem). The command interface now takes a `client` parameter, which is the RealTime Messaging API instance. Add the new parameter to all `call` calls in classes that inherit from `SlackRubyBot::Commands::Base`. Before: