Closed byencho closed 2 years ago
It's a mistake in the changelog— the names were simply reversed. That is, floatVariation
existed in older versions, but this was inconsistent with all other LaunchDarkly SDKs and the product itself, which use double-precision floating point rather than single-precision for all numbers. So it's been standardized on double.
@eli-darkly OK good to know, thanks! Do you think it would be possible to correct the CHANGELOG then so that anyone looking at it now can get a better sense of the current state of the code?
Hello @byencho, we have fixed the CHANGELOG just now. Thank you for reporting the issue to us!
Excellent, thanks!
The 3.0.0 CHANGELOG entry makes the following claims:
floatVariation
andfloatVariationDetail
have been changed to have the same behavior as the removeddoubleVariation
anddoubleVariationDetail
.doubleVariation
anddoubleVariationDetail
have been removed. UsefloatVariation
andfloatVariationDetail
instead.When using the SDK with versions 3.0.0+, it is clear, though, that
doubleVariation
exists andfloatVariation
does not. You can also search the current codebase to see many references todoubleVariation
but the only references tofloatVariation
are in the CHANGELOG.Is this simply a mistake in the documentation?