Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

prepare 1.0.0-beta24 release #19

Merged
merged 377 commits into from
Sep 13, 2019
Merged

prepare 1.0.0-beta24 release #19

merged 377 commits into from
Sep 13, 2019

Conversation

eli-darkly
Copy link
Contributor

[1.0.0-beta24] - 2019-09-13

Added:

  • LdValue now has methods for converting to or from a list or dictionary, rather than using the Newtonsoft.Json types JArray and JObject.
  • HTML documentation for all public types, methods, and properties is now available online.

Changed:

  • The new name of ImmutableJsonValue is LdValue.
  • The SDK no longer has a dependency on Xam.Plugin.DeviceInfo.
  • When accessing a floating-point flag value with IntVariation, or converting a floating-point LdValue to an int, it will now truncate (round toward zero) rather than rounding to the nearest integer. This is consistent with normal C# behavior and with most other LaunchDarkly SDKs.

Removed:

  • All public methods and properties now use LdValue instead of JToken.

Fixed:

  • Fixed a bug that caused a string flag value that is in an ISO date/time format, like "1970-01-01T00:00:01.001Z", to be treated as an incompatible type by StringVariation (because Newtonsoft.Json would parse it as a DateTime by default).
  • On Android, an HTTP connection timeout could leave a connection attempt still happening in the background-- even though the timeout would still happen normally as far as the SDK was concerned-- until the default timeout for the Android HTTP handler elapsed, which is 24 hours. Now it will properly stop the connection attempt after a timeout.
  • Fixed an implementation problem that caused excessive overhead for flag evaluations due to unnecessary JSON parsing.

add Sandcastle doc build script + general doc comment cleanup
remove JToken from public APIs and nearly everywhere else
rename ImmutableJsonValue to LdValue, don't use ValueType
disable annoying date parsing behavior
make flag data immutable and stop re-parsing it all the time
configure Android HTTP client to do timeouts correctly.
@eli-darkly eli-darkly merged commit 8855e6f into master Sep 13, 2019
@eli-darkly eli-darkly deleted the 1.0.0-beta24 branch September 13, 2019 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants