Skip to content

Releases: GetStream/getstream-ruby

v8.0.1

22 Jun 19:29

Choose a tag to compare

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

22 Jun 12:40

Choose a tag to compare

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

10 Jun 19:37

Choose a tag to compare

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

09 Jun 21:46
3cdf0a4

Choose a tag to compare

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

22 May 12:51

Choose a tag to compare

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

11 May 11:20

Choose a tag to compare

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

  • fix: add configurable keep-alive and Faraday adapter options (#56)

  • fix: reduce keyword parameter list size for rubocop (#56)

  • create users for new activities and reactions (#55)

  • feat: add bookmark for comments

  • Bump type: patch

  • Previous: 6.1.0

  • Next: 6.1.1

v6.1.0

01 May 15:52

Choose a tag to compare

Release v6.1.0

  • Bump type: minor
  • Previous: 6.0.0
  • Next: 6.1.0

Release v6.0.0

17 Apr 13:25
c5f1fee

Choose a tag to compare

Changes in v6.0.0

See CHANGELOG.md for details.

Release v5.0.0

31 Mar 17:05
cfc9763

Choose a tag to compare

Changes in v5.0.0

See CHANGELOG.md for details.

Release v4.1.0

20 Mar 16:55
5ea0bee

Choose a tag to compare

Changes in v4.1.0

See CHANGELOG.md for details.