Releases: launchdarkly/ios-client-sdk
Releases · launchdarkly/ios-client-sdk
[4.6.0] - 2020-05-26
Added
- Added
maxCachedUsersoption toLDConfig. You can now specify the number of users to be cached or use-1for unlimited cached users.
Fixed
FlagStoreproperly synchronizes reads and writes to prevent a potential race condition.
[4.5.0] - 2020-03-26
Changed
- Updated SDK code to build, run, and test on Xcode 11.4.
[4.4.1] - 2020-02-04
Changed
- The SDK will now retry an event send once when the initial request fails.
[4.4.0] - 2019-12-19
Added
- Added
startCompleteWhenFlagsReceivedfunction which contains modified completion behavior. This new function's completion will only return after flag values are received. Previously thestartcompletion returned when the SDK went online. - The SDK now specifies a uniquely identifiable request header when sending events to LaunchDarkly to ensure that events are only processed once, even if the SDK sends them two times due to a failed initial attempt.
[4.3.2] - 2019-12-19
Fixed
- Flag change listeners will now be called when a flag value changes but a variation number does not change. Previously, flag listeners were not called when a value assigned to a variation was manually edited in the dashboard or via the API.
[4.3.1] - 2019-12-12
Changed
- Updated to
ios-eventsourceversion4.1.0. This negates the need touse_frameworks!when using the React Native SDK. This change does not affect the iOS SDK.
[4.3.0] - 2019-12-3
Added
- Implemented
variationDetailwhich returns an Evaluation Reason giving developers greater insight into why a value was returned. - Added support for the latest Experimentation features allowing increased value from A/B/n testing. The
trackmethod now supports an additionalmetricValueparameter.
[4.2.1] - 2019-11-15
[4.2.0] - 2019-10-25
Added
- The
identifyfunction allows a completion to be called after a user is updated. - The Connection Status API allows greater introspection into the current LaunchDarkly connection and the health of local flags.
• This feature adds a new class calledConnectionInformationthat contains properties that keep track of the current connection mode e.g. streaming or polling, when and how a connection failed, and the last time flags were updated. This class can be accessed fromLDClient.shared.getConnectionInformation.
• Additionally, a new observer function calledobserveCurrentConnectionModeallows your application to listen to changes in the SDK's connection to LaunchDarkly.
Changed
- The
userproperty is now deprecated in favor of theidentifyfunction.
[4.1.2] - 2019-07-11
Fixed
- WatchKit is now conditionally imported in WatchOS only to fix an error in Xcode 11.
- Comparing two nil objects of type [String: Any]? no longer causes a crash.