Releases: launchdarkly/roku-client-sdk
Releases · launchdarkly/roku-client-sdk
2.0.0
[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
andsetAutoAliasingOptOut
configuration functions no longer exists because they are not relevant in the new context model.
1.3.0
[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
[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 aDouble
value rather than an integer orFloat
type, regardless of whether the value could be represented as an integer.
1.1.5
[1.1.5] - 2020-05-19
Changed:
- Refactored internal event processing logic
1.1.4
[1.1.4] - 2020-05-13
Fixed:
- Corrected summary event schema to no longer include user info
1.1.3
[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
1.1.1
[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.