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

prepare 1.0.0-beta23 release #18

Merged
merged 348 commits into from
Aug 30, 2019
Merged

prepare 1.0.0-beta23 release #18

merged 348 commits into from
Aug 30, 2019

Conversation

eli-darkly
Copy link
Contributor

@eli-darkly eli-darkly commented Aug 30, 2019

[1.0.0-beta23] - 2019-08-30

Added:

  • XML documentation comments are now included in the package, so they should be visible in Visual Studio for all LaunchDarkly types and methods.

Changed:

  • The Online property of LdClient was not useful because it could reflect either a deliberate change to whether the client is allowed to go online (that is, it would be false if you had set Offline to true in the configuration), or a change in network availability. It has been removed and replaced with Offline, which is only used for explicitly forcing the client to be offline. This is a read-only property; to set it, use SetOffline or SetOfflineAsync.
  • The synchronous Identify method now requires a timeout parameter, and returns false if it times out.
  • LdClient.Initialized is now a property, not a method.
  • LdClient.Version is now static, since it describes the entire package rather than a client instance.
  • In Configuration and IConfigurationBuilder, HttpClientTimeout is now ConnectionTimeout.
  • There is now more debug-level logging for stream connection state changes.

Fixed:

  • Network availability changes are now detected in both Android and iOS. The SDK should not attempt to connect to LaunchDarkly if the OS has told it that the network is unavailable.
  • Background polling was never enabled, even if Configuration.EnableBackgroundUpdating was true.
  • When changing from offline to online by setting client.Online = true, or calling await client.SetOnlineAsync(true) (the equivalent now would be client.Offline = false, etc.), the SDK was returning too soon before it had acquired flags from LaunchDarkly. The known issues in 1.0.0-beta22 have been fixed.
  • If the SDK was online and then was explicitly set to be offline, or if network connectivity was lost, the SDK was still attempting to send analytics events. It will no longer do so.
  • If the SDK was originally set to be offline and then was put online, the SDK was not sending analytics events. Now it will.

Removed:

  • ConfigurationBuilder.UseReport. Due to an issue with the Android implementation of HTTP, the HTTP REPORT method is not currently usable in the Xamarin SDK.
  • IConnectionManager interface. The SDK now always uses a platform-appropriate implementation of this logic.

eli-darkly and others added 30 commits March 25, 2019 15:50
Removed Xamarin.Essentials, added platform specific unit tests, added platform conditional compilation, added foreground/background listening for background polling
Add "os" and "device" attributes to user
create package during build + update dependency versions
# Conflicts:
#	src/LaunchDarkly.Xamarin/LaunchDarkly.Xamarin.csproj
(1 of 2) clean up platform code, don't throw NotImplementedException
.NET Standard 2.0 implementation of persistent storage
better error handling for persistent storage
torchhound and others added 24 commits August 21, 2019 14:36
Added identical value check to SetOnlineAsync
disable REPORT mode because it doesn't work in Android yet
update WireMock, re-enable HTTP tests for Android
put event processor off/online based on Offline property + network status
@eli-darkly eli-darkly merged commit 33b4d21 into master Aug 30, 2019
@eli-darkly eli-darkly deleted the release-1.0.0-beta23 branch September 14, 2019 01:33
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.

3 participants