Skip to content

Commit 1075841

Browse files
docs: document upgrading to 2.0.0 (#160)
* docs: document upgrading to 2.0.0 * docs: add changelog entry
1 parent bc7fe4c commit 1075841

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [#155](https://github.com/slack-ruby/slack-ruby-bot-server/pull/155): Enable mongoid to get connection URI from ENV for test - [@crazyoptimist](https://github.com/crazyoptimist).
99
* [#157](https://github.com/slack-ruby/slack-ruby-bot-server/pull/157): Added test env setup guide for linux users - [@crazyoptimist](https://github.com/crazyoptimist).
1010
* [#158](https://github.com/slack-ruby/slack-ruby-bot-server/pull/158): Replace `cursor_pagination` with `pagy_cursor` - [@crazyoptimist](https://github.com/crazyoptimist).
11+
* [#160](https://github.com/slack-ruby/slack-ruby-bot-server/pull/160): Document upgrading to 2.0.0 - [@crazyoptimist](https://github.com/crazyoptimist).
1112
* Your contribution here.
1213

1314
#### 1.2.1 (2022/03/06)

UPGRADING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Upgrading Slack-Ruby-Bot-Server
22
===============================
33

4+
### Upgrading to >= 2.0.0
5+
6+
#### Replaced Pagination Gem for ActiveRecord
7+
8+
[`cursor_pagination`](https://github.com/Kukunin/cursor_pagination) is abandoned and no longer maintained. It is repaced with [`pagy_cursor`](https://github.com/Uysim/pagy-cursor).
9+
10+
If you're using ActiveRecord, replace `cursor_pagination` with `pagy_cursor` in the Gemfile.
11+
12+
```ruby
13+
gem 'pagy_cursor'
14+
```
15+
416
### Upgrading to >= 1.2.0
517

618
#### New Team Fields

0 commit comments

Comments
 (0)