Skip to content

Releases: launchdarkly/flutter-client-sdk

launchdarkly_common_client: v0.1.0

24 Jan 17:43
74c1b96

Choose a tag to compare

Pre-release

0.1.0 (2024-01-24)

Features

  • Update common/client/event source dependencies. (#87) (9acbab3)

Bug Fixes

  • Fix sink not closed lint. (#66) (051fd9c)
  • Remove flutter dependency from event source. (#65) (d557692)

3.0.1

21 Sep 18:59
ce7a2cf

Choose a tag to compare

[3.0.1] - 2023-09-21

Fixed:

  • Fixed a rare bug in key generation in some contexts generated by the Auto Environment Attributes feature.

3.0.0

25 Aug 22:19
c31c332

Choose a tag to compare

[3.0.0] - 2023-08-25

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:

2.1.0

17 Aug 20:54
05be856

Choose a tag to compare

[2.1.0] - 2023-08-17

Changed:

  • Deprecated LDUser and related functionality. Use LDContext instead. To learn more, read about contexts.

2.0.3

09 Aug 16:20
6d3847e

Choose a tag to compare

[2.0.3] - 2023-08-09

Fixed:

  • Fixes evaluation detail ruleIndex bug affecting iOS

2.0.2

16 Jun 21:18
ad9d0ba

Choose a tag to compare

[2.0.2] - 2023-06-16

Fixed:

  • Fixes threading issue in start routine in Android native code

2.0.1

07 Jun 21:21
81950eb

Choose a tag to compare

[2.0.1] - 2023-06-07

Fixed:

  • Flag listeners are now called correctly after identify results in flag value changes.

2.0.0

26 Apr 22:54
4647f2e

Choose a tag to compare

[2.0.0] - 2023-04-26

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."

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.

Added:

  • The type LDContext and associated builders which define the new context model.
  • For SDK methods that took an LDUser parameter, there is now an overload (ex: startWithContext) that takes an LDContext. The SDK still supports LDUser for now, but LDContext is the preferred model and LDUser may be removed in a future version.

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.
  • maxCachedUsers is now maxCachedContexts
  • LDConfig.privateAttributeNames is now privateAttributes

Removed:

  • Removed the secondary meta-attribute in LDUser and LDUser.Builder.
  • The alias method no longer exists because alias events are not needed in the new context model.
  • The inlineUsersInEvents option no longer exists because it is not relevant in the new context model.

1.3.0

04 Apr 20:54

Choose a tag to compare

[1.3.0] - 2023-04-04

Added:

  • LDConfigBuilder.applicationInfo() and .applicationVersion(), for configuration of application metadata that may be used in LaunchDarkly analytics or other product features. This does not affect feature flag evaluations.

1.2.0

07 Nov 21:08

Choose a tag to compare

[1.2.0] - 2022-11-07

Changed:

  • Updated Android SDK version.
  • Updated Kotlin plugin version to allow working with new default versions in android studio.
  • Raised minimum iOS version to 11, and updated to build with XCode 13.