Skip to content

Releases: launchdarkly/ruby-server-sdk

2.2.7

26 Jul 22:12
Compare
Choose a tag to compare

[2.2.7] - 2017-07-26

Changed

  • Update Readme to fix instructions on installing gem using command line
  • Cleaned up formatting on various files (Rubocop)

2.2.5

12 May 18:48
Compare
Choose a tag to compare

[2.2.5] - 2017-05-08

Changed

  • Added proxy support to streaming and http connections. Respects HTTP_PROXY and http_proxy environment variables as well as the :proxy => protocol://user:pass@host configuration parameter.

2.1.5

28 Mar 22:44
Compare
Choose a tag to compare

Changed

  • Updated changelog

2.1.1

28 Mar 21:39
Compare
Choose a tag to compare

Changed

  • Bumped nio4r to 2.0

Bump ld-celluloid-eventsource dependency

08 Mar 20:29
Compare
Choose a tag to compare

Changed

  • Bump ld-celluloid-eventsource from 0.5.0 to 0.9.0
  • Reverts heatbeat detection and backoff change in ld-celluloid-eventsource . Resolves related issue: #81

2.0.6

13 Feb 17:44
Compare
Choose a tag to compare

[2.0.6] - 2017-02-10

Changed

  • Improved handling of http status codes that may not be integers.

2.0.5

31 Jan 22:12
Compare
Choose a tag to compare

[2.0.5] - 2017-01-31

Changed

  • Improved error handling when connected to flag update stream.

Process indirect stream events correctly

21 Oct 22:41
Compare
Choose a tag to compare

Fixed

  • Indirect stream events are now correctly processed

Update default logger to log at info level

10 Aug 23:17
Compare
Choose a tag to compare

Changed

  • The default logger now logs at info level

Support for multivariate flags and more

10 Aug 22:57
Compare
Choose a tag to compare

Added

  • Support for multivariate feature flags. In addition to booleans, feature flags can now return numbers, strings, dictionaries, or arrays via the variation method.
  • New all_flags method returns all flag values for a specified user.
  • If streaming is disabled, the client polls for feature flag changes. If streaming is disabled, the client will default to polling LaunchDarkly every second for updates. The poll interval is configurable via poll_interval.
  • New secure_mode_hash function computes a hash suitable for the new LaunchDarkly JavaScript client's secure mode feature.
  • Support for extremely large feature flags. When a large feature flag changes, the stream will include a directive to fetch the updated flag.

Changed

  • You can now initialize the LaunchDarkly client with an optional timeout (specified in seconds). This will block initialization until the client has finished bootstrapping and is able to serve feature flags.
  • The streaming implementation (StreamProcessor) uses Celluloid under the hood instead of EventMachine. The dependency on EventMachine has been removed.
  • The store option has been renamed to cache_store.
  • Offline mode can no longer be set dynamically. Instead, at configuration time, the offline parameter can be set to put the client in offline mode. It is no longer possible to dynamically change whether the client is online and offline (via set_online and set_offline). Call offline? to determine whether or not the client is offline.
  • The debug_stream configuration option has been removed.
  • The log_timings configuration option has been removed.

Deprecated

  • The toggle call has been deprecated in favor of variation.

Removed

  • update_user_flag_setting has been removed. To change user settings, use the LaunchDarkly REST API.