Skip to content

Releases: launchdarkly/ios-client-sdk

[4.6.0] - 2020-05-26

27 May 01:18
cc17e2e

Choose a tag to compare

Added

  • Added maxCachedUsers option to LDConfig. You can now specify the number of users to be cached or use -1 for unlimited cached users.

Fixed

  • FlagStore properly synchronizes reads and writes to prevent a potential race condition.

[4.5.0] - 2020-03-26

27 Mar 04:22
d5664df

Choose a tag to compare

Changed

  • Updated SDK code to build, run, and test on Xcode 11.4.

[4.4.1] - 2020-02-04

13 Feb 20:01
9ff2bf6

Choose a tag to compare

Changed

  • The SDK will now retry an event send once when the initial request fails.

[4.4.0] - 2019-12-19

15 Jan 21:31
c83b503

Choose a tag to compare

Added

  • Added startCompleteWhenFlagsReceived function which contains modified completion behavior. This new function's completion will only return after flag values are received. Previously the start completion 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

20 Dec 00:08
0c31da2

Choose a tag to compare

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

13 Dec 01:02
450b427

Choose a tag to compare

Changed

  • Updated to ios-eventsource version 4.1.0. This negates the need to use_frameworks! when using the React Native SDK. This change does not affect the iOS SDK.

[4.3.0] - 2019-12-3

03 Dec 23:24
a154e4f

Choose a tag to compare

Added

  • Implemented variationDetail which 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 track method now supports an additional metricValue parameter.

[4.2.1] - 2019-11-15

15 Nov 19:37
d166b83

Choose a tag to compare

Changed

  • Updated to ios-eventsource version 4.0.3. This appends a platform name to bundle identifiers. (Thanks, cswelin!)

Fixed

  • Comparing two nil objects of type [String: Any]? no longer causes a crash. (#197)

[4.2.0] - 2019-10-25

25 Oct 20:47
95114f0

Choose a tag to compare

Added

  • The identify function 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 called ConnectionInformation that 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 from LDClient.shared.getConnectionInformation.
    • Additionally, a new observer function called observeCurrentConnectionMode allows your application to listen to changes in the SDK's connection to LaunchDarkly.

Changed

  • The user property is now deprecated in favor of the identify function.

[4.1.2] - 2019-07-11

11 Jul 17:17
f9240ed

Choose a tag to compare

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.