stream-chat-ruby 3.24.0 → 3.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile +1 -1
- data/README.md +6 -0
- data/lib/stream-chat/client.rb +6 -6
- data/lib/stream-chat/version.rb +1 -1
- data/stream-chat.gemspec +6 -6
- metadata +24 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f76091a8b305ba916ed2217c639f46deca24f997c148aaac21dd1cdeb7664482
|
|
4
|
+
data.tar.gz: bd4e54bd949250094bb2d3ee3c350312f3faebe927c5521733e9ffd6bb08e90a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4352825a7532841cb8667de383e977c6a8ae9908bd2e44dc8de5f714cb8ea6a186d90e7b820b795ce097f78492838bb453dba1e216a7d8284ff6f7347f0b4d4
|
|
7
|
+
data.tar.gz: f9e18435119dda8be34f8e282004fe9597cee212e34d5a676428d562005c44cdbcee8af19c4c3e2c878268c86beca1120a9173e9fe632341ee46221e6b758d38
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.26.1](https://github.com/GetStream/stream-chat-ruby/compare/v3.25.0...v3.26.1) (2026-04-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add delete_reactions support for ban user ([#206](https://github.com/GetStream/stream-chat-ruby/issues/206)) ([c876050](https://github.com/GetStream/stream-chat-ruby/commit/c876050936b3f4727002707e94db872c91a6114c))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Other
|
|
14
|
+
|
|
15
|
+
* relax jwt dependency to allow v3 ([#208](https://github.com/GetStream/stream-chat-ruby/issues/208)) ([8305806](https://github.com/GetStream/stream-chat-ruby/commit/8305806127859540bbcd936ccda19ac9c13b9897)), closes [#12716](https://github.com/GetStream/stream-chat-ruby/issues/12716)
|
|
16
|
+
|
|
17
|
+
## [3.25.0](https://github.com/GetStream/stream-chat-ruby/compare/v3.24.0...v3.25.0) (2026-03-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Other
|
|
21
|
+
|
|
22
|
+
* relax faraday and sorbet-runtime version constraints ([509ab83](https://github.com/GetStream/stream-chat-ruby/commit/509ab8386861aa9a1d62e85df305e9c98e332cec)), closes [#196](https://github.com/GetStream/stream-chat-ruby/issues/196) [#189](https://github.com/GetStream/stream-chat-ruby/issues/189)
|
|
23
|
+
|
|
5
24
|
## [3.24.0](https://github.com/GetStream/stream-chat-ruby/compare/v3.23.1...v3.24.0) (2026-02-26)
|
|
6
25
|
|
|
7
26
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
> **Note:** [`getstream-ruby`](https://github.com/GetStream/getstream-ruby) is the new full-product SDK for Stream, covering Chat, Video, Moderation, and Feeds with long-term support.
|
|
2
|
+
>
|
|
3
|
+
> **`stream-chat-ruby` is now in maintenance mode.** It will continue to receive critical fixes and requested features, so it is safe to keep using. However, we encourage existing users to migrate when convenient and strongly recommend that new projects start with `getstream-ruby`.
|
|
4
|
+
>
|
|
5
|
+
> Check out the [Migration Guide](https://github.com/GetStream/getstream-ruby/blob/570aaf9b73b27fe01a4abbc1f7c6b639595c304e/docs/migration-from-stream-chat-ruby/README.md) for side-by-side examples covering common use cases.
|
|
6
|
+
|
|
1
7
|
# Official Ruby SDK for [Stream Chat](https://getstream.io/chat/)
|
|
2
8
|
|
|
3
9
|
[](https://github.com/GetStream/stream-chat-ruby/actions) [](http://badge.fury.io/rb/stream-chat-ruby)
|
data/lib/stream-chat/client.rb
CHANGED
|
@@ -20,7 +20,7 @@ require 'stream-chat/moderation'
|
|
|
20
20
|
require 'stream-chat/channel_batch_updater'
|
|
21
21
|
|
|
22
22
|
module StreamChat
|
|
23
|
-
DEFAULT_BLOCKLIST = '
|
|
23
|
+
DEFAULT_BLOCKLIST = 'profanity'
|
|
24
24
|
SOFT_DELETE = 'soft'
|
|
25
25
|
HARD_DELETE = 'hard'
|
|
26
26
|
|
|
@@ -739,7 +739,7 @@ module StreamChat
|
|
|
739
739
|
# Returns all blocklists.
|
|
740
740
|
#
|
|
741
741
|
# A Block List is a list of words that you can use to moderate chat messages. Stream Chat
|
|
742
|
-
# comes with a built-in Block List called
|
|
742
|
+
# comes with a built-in Block List called profanity which contains over a thousand
|
|
743
743
|
# of the most common profane words.
|
|
744
744
|
# You can manage your own block lists via the Stream dashboard or APIs to a manage
|
|
745
745
|
# blocklists and configure your channel types to use them.
|
|
@@ -751,7 +751,7 @@ module StreamChat
|
|
|
751
751
|
# Returns a blocklist.
|
|
752
752
|
#
|
|
753
753
|
# A Block List is a list of words that you can use to moderate chat messages. Stream Chat
|
|
754
|
-
# comes with a built-in Block List called
|
|
754
|
+
# comes with a built-in Block List called profanity which contains over a thousand
|
|
755
755
|
# of the most common profane words.
|
|
756
756
|
# You can manage your own block lists via the Stream dashboard or APIs to a manage
|
|
757
757
|
# blocklists and configure your channel types to use them.
|
|
@@ -763,7 +763,7 @@ module StreamChat
|
|
|
763
763
|
# Creates a blocklist.
|
|
764
764
|
#
|
|
765
765
|
# A Block List is a list of words that you can use to moderate chat messages. Stream Chat
|
|
766
|
-
# comes with a built-in Block List called
|
|
766
|
+
# comes with a built-in Block List called profanity which contains over a thousand
|
|
767
767
|
# of the most common profane words.
|
|
768
768
|
# You can manage your own block lists via the Stream dashboard or APIs to a manage
|
|
769
769
|
# blocklists and configure your channel types to use them.
|
|
@@ -775,7 +775,7 @@ module StreamChat
|
|
|
775
775
|
# Updates a blocklist.
|
|
776
776
|
#
|
|
777
777
|
# A Block List is a list of words that you can use to moderate chat messages. Stream Chat
|
|
778
|
-
# comes with a built-in Block List called
|
|
778
|
+
# comes with a built-in Block List called profanity which contains over a thousand
|
|
779
779
|
# of the most common profane words.
|
|
780
780
|
# You can manage your own block lists via the Stream dashboard or APIs to a manage
|
|
781
781
|
# blocklists and configure your channel types to use them.
|
|
@@ -787,7 +787,7 @@ module StreamChat
|
|
|
787
787
|
# Deletes a blocklist.
|
|
788
788
|
#
|
|
789
789
|
# A Block List is a list of words that you can use to moderate chat messages. Stream Chat
|
|
790
|
-
# comes with a built-in Block List called
|
|
790
|
+
# comes with a built-in Block List called profanity which contains over a thousand
|
|
791
791
|
# of the most common profane words.
|
|
792
792
|
# You can manage your own block lists via the Stream dashboard or APIs to a manage
|
|
793
793
|
# blocklists and configure your channel types to use them.
|
data/lib/stream-chat/version.rb
CHANGED
data/stream-chat.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
|
14
14
|
gem.homepage = 'http://github.com/GetStream/stream-chat-ruby'
|
|
15
15
|
gem.authors = ['getstream.io']
|
|
16
16
|
gem.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
17
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|sorbet|spec|\.github|scripts|assets)/}) }
|
|
17
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|sorbet|spec|\.github|scripts|assets|docs)/}) }
|
|
18
18
|
end
|
|
19
19
|
gem.required_ruby_version = '>=3.0.0'
|
|
20
20
|
gem.metadata = {
|
|
@@ -26,10 +26,10 @@ Gem::Specification.new do |gem|
|
|
|
26
26
|
'source_code_uri' => 'https://github.com/GetStream/stream-chat-ruby'
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
gem.add_dependency 'faraday', '~> 2.12
|
|
30
|
-
gem.add_dependency 'faraday-multipart', '~> 1.1
|
|
31
|
-
gem.add_dependency 'faraday-net_http_persistent', '~> 2.3
|
|
32
|
-
gem.add_dependency 'jwt', '
|
|
29
|
+
gem.add_dependency 'faraday', '~> 2.12'
|
|
30
|
+
gem.add_dependency 'faraday-multipart', '~> 1.1'
|
|
31
|
+
gem.add_dependency 'faraday-net_http_persistent', '~> 2.3'
|
|
32
|
+
gem.add_dependency 'jwt', '>= 2.10', '< 4'
|
|
33
33
|
gem.add_dependency 'net-http-persistent', '~> 4.0'
|
|
34
|
-
gem.add_dependency 'sorbet-runtime', '
|
|
34
|
+
gem.add_dependency 'sorbet-runtime', '>= 0.5.11820', '< 1'
|
|
35
35
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stream-chat-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.26.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- getstream.io
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -16,56 +16,62 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 2.12
|
|
19
|
+
version: '2.12'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 2.12
|
|
26
|
+
version: '2.12'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: faraday-multipart
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.1
|
|
33
|
+
version: '1.1'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.1
|
|
40
|
+
version: '1.1'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: faraday-net_http_persistent
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 2.3
|
|
47
|
+
version: '2.3'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 2.3
|
|
54
|
+
version: '2.3'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: jwt
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '2.10'
|
|
62
|
+
- - "<"
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '4'
|
|
62
65
|
type: :runtime
|
|
63
66
|
prerelease: false
|
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
68
|
requirements:
|
|
66
|
-
- - "
|
|
69
|
+
- - ">="
|
|
67
70
|
- !ruby/object:Gem::Version
|
|
68
71
|
version: '2.10'
|
|
72
|
+
- - "<"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '4'
|
|
69
75
|
- !ruby/object:Gem::Dependency
|
|
70
76
|
name: net-http-persistent
|
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -84,16 +90,22 @@ dependencies:
|
|
|
84
90
|
name: sorbet-runtime
|
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
|
86
92
|
requirements:
|
|
87
|
-
- - "
|
|
93
|
+
- - ">="
|
|
88
94
|
- !ruby/object:Gem::Version
|
|
89
95
|
version: 0.5.11820
|
|
96
|
+
- - "<"
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: '1'
|
|
90
99
|
type: :runtime
|
|
91
100
|
prerelease: false
|
|
92
101
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
102
|
requirements:
|
|
94
|
-
- - "
|
|
103
|
+
- - ">="
|
|
95
104
|
- !ruby/object:Gem::Version
|
|
96
105
|
version: 0.5.11820
|
|
106
|
+
- - "<"
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: '1'
|
|
97
109
|
description: Ruby client for Stream Chat.
|
|
98
110
|
email: support@getstream.io
|
|
99
111
|
executables: []
|