Releases: launchdarkly/ios-client-sdk
Releases · launchdarkly/ios-client-sdk
2.9.0
[2.9.0] - 2017-11-29
Changed
LDClientManagerno longer extendsUIApplicationDelegate. The framework is now marked as extension-safe. Thanks @atlassian-gaustin!
Added
- Detect 401 Unauthorized response on flag & event requests, and take the client offline when detected.
- Detect
LDEventSourcereport of 401 Unauthorized response on connection requests, and take the client offline when detected. LDClientdelegate methoduserUnchangedcalled when the client receives a feature flag update that does not change any flag keys or values. Thanks @atlassian-gaustin!- Xcode 9 support
Fixed
LDPollingManagernow reads the config set at the time of the startPolling message and configures polling timers accordingly.LDRequestManagernow reads the config set at the time of theperformRequestmessage to configure the API request.- Removes duplicate
LDEventSourcelibraries linked warning updateUsernow updates theLDUseranonymousproperty when using a default user key.
2.8.0
2.7.0
2.6.1
2.6.0
[2.6.0] - 2017-08-25
Added
doubleVariationmethod fordoublevalue feature flags, as an alternative tonumberVariation. Thanks @atlassian-gaustin!serverConnectionUnavailableClientDelegate method called when the LDClient receives an error response to a feature flag request. Thanks @atlassian-gaustin!
Changed
- Prevent creating an EventSource when an EventSource is already running. Thanks @atlassian-gaustin!
- Move feature flag response processing to the request thread, and once complete return the result on the main thread. Thanks @atlassian-gaustin!
Fixed
- Array and Dictionary flags now return the array or dictionary when available from the server instead of always returning fallback values. Thanks @atlassian-gaustin!
- Streaming no longer generates multiple feature flag requests on return to the foreground
2.5.1
[2.5.1] - 2017-08-03
Fixed
- Feature flag requests for users with non-ASCII data are now encoded correctly
UserUpdatedNotificationposts only when the feature flag configuration changes for the user- Events are no longer added to the event store when capacity is reached
- Resolve potential symbol conflicts with EventSource
- Feature flag request payloads are much smaller
2.5.0
[2.5.0] - 2017-07-09
Added
- The
nameproperty inLDUserBuilder, for setting a full name. This property complements the existingfirstNameandlastNameproperties.
Changed
LDConfighas been refactored to replace the Builder pattern expected withLDConfigBuilder. Thanks @petrucci34!
Deprecated
LDConfigBuilderhas been deprecated and will be removed in the 3.0 release.- The
withXXXmethods ofLDUserBuilderhave been deprecated in favor of properties. These methods will be removed in the 3.0 release.
2.4.2
2.4.1
2.4.0
Added
- The client's background fetch interval can be configured using
withBackgroundFetchInterval.
Changed
- By default, the client allows one background fetch per 60 minutes.
Fixed
- Memory leak with
NSURLSessioninLDRequestManager. Thanks @jimmaye! - Race condition when the client is used in multiple threads