[5.9.0] - 2022-05-26
Added:
LDConfig.Builder.serviceEndpoints
provides a simpler way of setting custom service base URIs, if you are connecting to a LaunchDarkly Relay Proxy instance, a private LaunchDarkly instance, or a test fixture. Previously, this required setting a BaseURI property for each individual service (streaming, events, etc.). If using the Relay Proxy, simply remove any BaseURI calls in your SDK configuration and callserviceEndpoints(Components.serviceEndpoints().relayProxy(myRelayProxyUri))
on the configuration builder.
Fixed:
- Fixed documentation comments for the variation methods to clarify that
defaultValue
is used if there is an error fetching the variation or the flag doesn't exist, not when the flag is disabled.