Skip to content

Releases: launchdarkly/ios-client-sdk

[9.0.1] - 2023-08-18

18 Aug 15:50
adb58c4
Compare
Choose a tag to compare

Fixed:

  • Corrected implementation of classes that retrieves ApplicationInfo from package bundle as part of Automatic Mobile Environment Attributes functionality.

[9.0.0] - 2023-08-02

02 Aug 21:39
cb42f92
Compare
Choose a tag to compare

Added:

  • Added Automatic Mobile Environment Attributes functionality which makes it simpler to target your mobile customers based on application name or version, or on device characteristics including manufacturer, model, operating system, locale, and so on. To learn more, read Automatic environment attributes.

Removed

[8.2.0] - 2023-08-02

02 Aug 19:17
7635ef4
Compare
Choose a tag to compare

Changed:

[8.1.0] - 2023-06-05

06 Jun 19:39
cbf4b73
Compare
Choose a tag to compare

Changed:

  • Enforce TLS v1.2 as a required minimum.

Fixed:

  • Allow setting kind through trySet.

[8.0.1] - 2023-02-28

28 Feb 22:56
4274708
Compare
Choose a tag to compare

Fixed:

  • Remove the extra privateAttributes meta field from the event payload. This extra field prevented LaunchDarkly services from accepting SDK events when private attributes were specified.

[8.0.0] - 2022-12-07

07 Dec 16:37
b630147
Compare
Choose a tag to compare

The latest version of this SDK supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." Contexts let you create targeting rules for feature flags based on a variety of different information, including attributes pertaining to users, organizations, devices, and more. You can even combine contexts to create "multi-contexts."

This feature is only available to members of LaunchDarkly's Early Access Program (EAP). If you're in the EAP, you can use contexts by updating your SDK to the latest version and, if applicable, updating your Relay Proxy. Outdated SDK versions do not support contexts, and will cause unpredictable flag evaluation behavior.

If you are not in the EAP, only use single contexts of kind "user", or continue to use the user type if available. If you try to create contexts, the context will be sent to LaunchDarkly, but any data not related to the user object will be ignored.

For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide for Swift or Objective-C.

Added:

  • The type LDContext defines the new context model.
  • For all SDK methods that took an LDUser parameter, there is now an overload that takes an LDContext.

Changed:

  • The secondary attribute which existed in LDUser is no longer a supported feature. If you set an attribute with that name in LDContext, it will simply be a custom attribute like any other.
  • Analytics event data now uses a new JSON schema due to differences between the context model and the old user model.
  • The SDK no longer adds device and os values to the user attributes. Applications that wish to use device/OS information in feature flag rules must explicitly add such information.

Removed:

  • Removed the secondary meta-attribute in LDUser.
  • The alias method no longer exists because alias events are not needed in the new context model.
  • The autoAliasingOptOut and inlineUsersInEvents options no longer exist because they are not relevant in the new context model.

[7.1.0] - 2022-11-08

08 Nov 16:36
8ceaa14
Compare
Choose a tag to compare

Added:

  • Added Objective C bindings for ApplicationInfo.

[7.0.0] - 2022-10-12

12 Oct 19:31
aea0cbf
Compare
Choose a tag to compare

Changed:

  • Dropped support for older versions in accordance with the new Xcode 14 release.

[6.2.0] - 2022-09-01

02 Sep 13:54
ee40508
Compare
Choose a tag to compare

Added:

  • CI builds now include a cross-platform test suite implemented in https://github.com/launchdarkly/sdk-test-harness. This covers many test cases that are also implemented in unit tests, but may be extended in the future to ensure consistent behavior across SDKs in other areas.
  • Introduced ApplicationInfo, for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations.

Changed:

  • Updated LDSwiftEventSource to 2.0.0. We no longer bind to a static product; rather, we let the build determine static vs dynamic linking.

Fixed:

  • Previously a deleted flag could be made available in the SDK if the deletion events were processed out of order. This is no longer the case.

[6.1.0] - 2022-05-17

17 May 16:30
cfe3e47
Compare
Choose a tag to compare

Added

  • Added the LDUser.isAnonymousNullable property that allows treating the isAnonymous property as nullable.

Fixed

  • Correctly track whether the LDUser.isAnonymous property was set explicitly (or by not specifying a key). The variation result for flag rules targeting the anonymous property can differ depending on whether the property is set explicitly.