Skip to content

Commit 537cc14

Browse files
committed
Release v2.4.0
1 parent b4d6451 commit 537cc14

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## January 20th, 2021 - 2.4.0
2+
- Add query_members to channel
3+
- Use post endpoint for query channels instead of get
4+
- Extract common code for sorting into a helper for query calls
5+
16
## January 5th, 2021 - 2.3.0
27
- Add check SQS helper
38

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ gem install stream-chat-ruby
2828

2929
### Supported features
3030

31-
- Chat channels
31+
- Chat channel type, channels and members
3232
- Messages
33-
- Chat channel types
3433
- User management
3534
- Moderation API
3635
- Push configuration
@@ -131,6 +130,9 @@ chan.unban_user('bob-1')
131130

132131
# Query channel state
133132
chan.query({'messages' => { 'limit' => 10, 'id_lte' => m1['id']}})
133+
134+
# Query channel members
135+
chan.query_members({name: {'$autocomplete': 'test'}}, {last_created_at: -1}, offset: 5, limit: 5)
134136
```
135137

136138
### Messages

lib/stream-chat/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# lib/version.rb
44

55
module StreamChat
6-
VERSION = '2.3.0'
6+
VERSION = '2.4.0'
77
end

0 commit comments

Comments
 (0)