Releases: GetStream/getstream-ruby
Release list
v10.0.0
v10.0.0
Breaking
- Removed the always-on
faraday-retrymiddleware and its runtime dependency. Retries are now opt-in viaretry_config:and apply only toGET/HEAD(now including HTTP 429). Passretry_config: GetStreamRuby::RetryConfig.new(enabled: true)to restore automatic retries. - With no
logger:configured, the SDK now produces zero log output (the former$stdoutconnection-pool line is replaced by theclient.initializedevent).
Added
- Structured logging via
logger:—client.initialized,http.request.sent,http.response.received,http.request.failed— with always-on secret redaction; opt into bodies withlog_bodies: true. - Opt-in auto-retry:
GetStreamRuby::RetryConfig(enabled:,max_attempts:,max_backoff:) viaretry_config:, honoringRetry-Afterelse full-jitter backoff. - Standardized error hierarchy (
StreamError,ApiError,RateLimitError,TransportError,TaskError) and a newClient#wait_for_taskhelper.
Full details, including the regenerated endpoints and new webhook events, in the CHANGELOG.
Install: gem install getstream-ruby -v 10.0.0
v9.0.0
v9.0.0
- Add read-only GetChannel endpoint:
client.chat.get_channel(type, id, ...)— fetch a channel by CID without creating it. - Rename the shadowed moderation
CallResponseschema toModerationCallResponse(videoCallResponseunchanged). Breaking.
Install: gem install getstream-ruby -v 9.0.0
v8.0.2
Release v8.0.2
- Bump type:
patch - Previous:
8.0.1 - Next:
8.0.2 - Trigger:
pull_request
Install with: gem install getstream-ruby -v 8.0.2
v8.0.1
Release v8.0.1
- Bump type:
patch - Previous:
8.0.0 - Next:
8.0.1 - Trigger:
workflow_dispatch
Install with: gem install getstream-ruby -v 8.0.1
v8.0.0
Release v8.0.0
- Bump type:
major - Previous:
7.1.1 - Next:
8.0.0 - Trigger:
pull_request
Install with: gem install getstream-ruby -v 8.0.0
v7.1.1
Release v7.1.1
- Bump type:
patch - Previous:
7.1.0 - Next:
7.1.1 - Trigger:
pull_request
Install with: gem install getstream-ruby -v 7.1.1
v7.1.0
Release v7.1.0
- Bump type:
minor - Previous:
7.0.0 - Next:
7.1.0 - Trigger:
workflow_dispatch
Install with: gem install getstream-ruby -v 7.1.0
Highlights: connection pooling (CHA-2956)
The default Faraday adapter is now :net_http_persistent with a per-process connection pool (restoring parity with the legacy stream-chat-ruby client). Previously every thread funneled through a single unpooled connection, which serialized requests and showed up as latency under production concurrency.
Example
require 'getstream_ruby'
# Defaults: pooled, persistent connections (max_conns_per_host: 5).
client = GetStreamRuby.manual(
api_key: ENV.fetch('STREAM_API_KEY'),
api_secret: ENV.fetch('STREAM_API_SECRET'),
)
# Tune the pool to match your Puma/Sidekiq thread count to avoid contention:
client = GetStreamRuby.manual(
api_key: ENV.fetch('STREAM_API_KEY'),
api_secret: ENV.fetch('STREAM_API_SECRET'),
max_conns_per_host: Integer(ENV.fetch('RAILS_MAX_THREADS', 5)), # pool size
idle_timeout: 55, # seconds an idle connection is kept open
connect_timeout: 10, # seconds to establish a TCP connection
request_timeout: 30, # seconds per request
)
# Per-call timeout override (no client rebuild):
client.make_request(:get, '/api/v2/some/path', request_timeout: 5)The same knobs can be set via env vars: STREAM_MAX_CONNS_PER_HOST, STREAM_IDLE_TIMEOUT, STREAM_CONNECT_TIMEOUT, STREAM_REQUEST_TIMEOUT. On construction the client emits one INFO log line listing the effective pool config so you can confirm net_http_persistent is active in production.
v7.0.0
Release v7.0.0
- Bump type:
major - Previous:
6.1.1 - Next:
7.0.0 - Trigger:
pull_request
Install with: gem install getstream-ruby -v 7.0.0
v6.1.1
Release v6.1.1
Patch release that improves Ruby SDK HTTP client configurability and includes recent feed/chat updates.
Highlights
- Add configurable HTTP connection behavior in the Ruby SDK (
connection_keep_alive,faraday_adapter,faraday_adapter_options) while preserving default adapter semantics. - Refactor SDK keyword signatures to satisfy RuboCop parameter-list constraints without breaking existing configuration usage.
- Add comment bookmark support.
- Add user creation for new activities and reactions flow.
Changelog
v6.1.0
Release v6.1.0
- Bump type:
minor - Previous:
6.0.0 - Next:
6.1.0