Skip to content

Commit f95e0cf

Browse files
committed
Preparing for release, 1.1.0.
1 parent b76cc74 commit f95e0cf

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
### Changelog
22

3-
#### 1.1.0 (Next)
3+
#### 1.1.0 (2020/11/17)
44

55
* [#132](https://github.com/slack-ruby/slack-ruby-bot-server/pull/132): Add support for OAuth v2 - [@dblock](https://github.com/dblock).
6-
* Your contribution here.
76

87
#### 1.0.0 (2020/11/15)
98

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A library that contains a web server and a RESTful [Grape](http://github.com/rub
3838

3939
## Stable Release
4040

41-
You're reading the documentation for the **next** release of slack-ruby-bot-server. Please see the documentation for the [last stable release, v1.0.0](https://github.com/slack-ruby/slack-ruby-bot-server/blob/v1.0.0/README.md) unless you're integrating with HEAD. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
41+
You're reading the documentation for the **stable** release of slack-ruby-bot-server. See [UPGRADING](UPGRADING.md) when upgrading from an older version.
4242

4343
## Make Your Own
4444

UPGRADING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Upgrading Slack-Ruby-Bot-Server
22
===============================
33

4-
### Upgrading to >= 1.0.0
4+
### Upgrading to >= 1.1.0
55

66
#### Extracted RealTime (Legacy) Support
77

@@ -12,6 +12,13 @@ To upgrade an existing classic Slack app that uses slack-ruby-bot-server do the
1212
1. Add `slack-ruby-bot-server-rtm` as an additional dependency.
1313
2. Replace any reference to `SlackRubyBotServer::Server` to `SlackRubyBotServer::RealTime::Server`.
1414
3. Replace any `require 'slack-ruby-bot-server/rspec'` with `require 'slack-ruby-bot-server-rtm/rspec'`.
15+
4. Use Slack OAuth 1.0 and configure scopes.
16+
```ruby
17+
SlackRubyBotServer.configure do |config|
18+
config.oauth_version = :v1
19+
config.oauth_scope = ['bot']
20+
end
21+
```
1522

1623
Existing RTM Slack bots will continue working and be listed in the Slack App Directory. On December 4th, 2020 Slack will no longer accept resubmissions from apps that are not using granular permissions. On November 18, 2021 Slack will start delisting apps that have not migrated to use granular permissions. Use [slack-ruby-bot-server-events](https://github.com/slack-ruby/slack-ruby-bot-server-events) to create a Slack bot with granular permissions. See [migration](https://api.slack.com/authentication/migration) for more details.
1724

0 commit comments

Comments
 (0)