Skip to content

Releases: launchdarkly/roku-client-sdk

2.0.0

13 Apr 20:39
Compare
Choose a tag to compare

[2.0.0] - 2023-04-13

The latest version of this SDK supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." Contexts let you create targeting rules for feature flags based on a variety of different information, including attributes pertaining to users, organizations, devices, and more. You can even combine contexts to create "multi-contexts."

For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide.

Added:

  • A new context type can be created by providing an associative array to the LaunchDarklyCreateContext function.
  • A new reference type can be created by providing a string path to the LaunchDarklyCreateReference function.
  • For all SDK methods that took a user parameter, you can now pass the new context type instead.

Removed:

  • Removed the LaunchDarklyUser function and all supporting user related functionality.
  • The alias method no longer exists because alias events are not needed in the new context model.
  • The setInlineUsers and setAutoAliasingOptOut configuration functions no longer exists because they are not relevant in the new context model.

1.3.0

12 Apr 00:33
Compare
Choose a tag to compare

[1.3.0] - 2023-04-11

Added:

  • New config method setApplicationInfoValue allows setting application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations.
  • Added support for country as a top level property on the user object.
  • Added support for inline user configuration option.
  • Introduced a simplified version of the allFlagsState method.

Fixed:

  • Event payload ID was not changing between successful payloads as expected.
  • Updated event payloads to match expected schema.

1.2.0

23 Jul 23:59
Compare
Choose a tag to compare

[1.2.0] - 2021-07-23

Added:

  • Added the Alias method. This can be used to associate two user objects for analytics purposes with an alias event.

Fixed:

  • DoubleVariation is now guaranteed to return a Double value rather than an integer or Float type, regardless of whether the value could be represented as an integer.

1.1.5

19 May 20:40
Compare
Choose a tag to compare

[1.1.5] - 2020-05-19

Changed:

  • Refactored internal event processing logic

1.1.4

13 May 23:34
Compare
Choose a tag to compare

[1.1.4] - 2020-05-13

Fixed:

  • Corrected summary event schema to no longer include user info

1.1.3

10 Apr 19:31
Compare
Choose a tag to compare

[1.1.3] - 2020-04-10

Fixed:

  • Standardized streaming retry behavior. First delay is always 1 second, delay is capped at 30 seconds, and if the stream is productive for 60 seconds reset back-off.

1.1.2

27 Jan 18:47
Compare
Choose a tag to compare

[1.1.2] - 2020-01-27

Fixed:

  • The SDK will no longer send empty event payloads to LaunchDarkly.

1.1.1

17 Jan 18:45
cbbcff3
Compare
Choose a tag to compare

[1.1.1] - 2020-01-17

Fixed

  • The SDK now specifies a uniquely identifiable request header when sending events to LaunchDarkly to ensure that events are only processed once, even if the SDK sends them two times due to a failed initial attempt.
  • The SDK will now retry event delivery on failure.

1.1.0

13 Nov 19:29
667bc5d
Compare
Choose a tag to compare

[1.1.0] - 2019-11-12

Added

  • A LaunchDarklySDKVersion function that returns the SDK version

1.0.1

08 Nov 22:11
2676fd8
Compare
Choose a tag to compare

[1.0.1] - 2019-11-08

Fixed

  • Dereference of an invalid value in streaming mode