Skip to content

Releases: launchdarkly/flutter-client-sdk

v4.20.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 29 Jun 17:49
Immutable release. Only release title and notes can be modified.
c297110

4.20.0 (2026-06-29)

Features

  • Add experimental support for data-saving mode (FDv2). (#314) (c2f9216)
  • Update launchdarkly_common_client to version 1.14.0 (#320) (2144c78)

The Flutter SDK now supports the FDv2 data system in Early Access. Opt in by providing a DataSystemConfig when you build your LDConfig:

final config = LDConfig(
  '<your-mobile-key>',
  AutoEnvAttributes.enabled,
  // Providing a data system configuration (even an empty one) opts the
  // SDK into the FDv2 data acquisition protocol.
  dataSystem: const DataSystemConfig(),
);

Applications that do not provide a dataSystem continue to use the existing (FDv1) data sources, so default behavior is unchanged.

By default the SDK streams in the foreground (with polling fallback) and switches to a reduced-rate background mode when the app is backgrounded, following the application lifecycle and network availability automatically. You can turn that automatic switching off through ApplicationEvents.

Control the connection mode at runtime with setConnectionMode, which takes a ConnectionModeId (streaming, polling, background, or offline). Setting a mode is a sticky override that suppresses automatic switching; pass no argument to clear it and resume automatic resolution:

// Force a specific mode (sticky; suppresses automatic switching).
client.setConnectionMode(ConnectionModeId.polling);

// Clear the override and resume automatic mode resolution.
client.setConnectionMode();

To start in a specific mode, set DataSystemConfig.initialConnectionMode — equivalent to calling setConnectionMode with that mode immediately after the client is created:

final config = LDConfig(
  '<your-mobile-key>',
  AutoEnvAttributes.enabled,
  dataSystem: const DataSystemConfig(
    initialConnectionMode: ConnectionModeId.polling,
  ),
);

This feature is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature, please join the EAP. See https://launchdarkly.com/docs/sdk/features/data-saving-mode.


This PR was generated with Release Please. See documentation.

launchdarkly_common_client: v1.14.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 29 Jun 16:20
Immutable release. Only release title and notes can be modified.
1bdb0ce

1.14.0 (2026-06-29)

Features

  • add an initial connection mode to the FDv2 data system config (#318) (5b980ab)
  • Add FDv2 payload application via FlagManager.applyChanges (#299) (66c2554)
  • Add FDv2 payload handling to the data source event handler (#305) (761ed9d)
  • Add FDv2 source manager (#298) (43d899e)
  • Add FDv2 streaming source factories and query-parameter authentication (7b46ac6)
  • Add FDv2 synchronizer fallback and recovery conditions (#297) (17f7b4e)
  • Add the FDv2 data source orchestrator (#307) (eb9a35f)
  • Add the FDv2 data system and expose it through configuration (#310) (61a1e59)
  • Centralize platform credential handling in CredentialConfig (#300) (c677c3d)
  • honor the FDv1 fallback directive on success, error, and goodbye (#312) (1c35867)
  • Translate FDv2 payloads at the data source layer (7b46ac6)
  • Update launchdarkly_event_source_client to version 2.2.0 (#302) (cb6a5c0)
  • Update launchdarkly_event_source_client to version 3.0.0 (#317) (15861f8)

Bug Fixes

  • Close the final initializer on exhaustion; document the source manager contract (#304) (b20c35e)

This PR was generated with Release Please. See documentation.

launchdarkly_event_source_client: v3.0.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 25 Jun 21:39
Immutable release. Only release title and notes can be modified.
df64f8e

3.0.0 (2026-06-25)

⚠ BREAKING CHANGES

  • report every SSE error response with status, headers, and recoverability (#311)

Features

  • report every SSE error response with status, headers, and recoverability (#311) (0707b60)

This PR was generated with Release Please. See documentation.

launchdarkly_event_source_client: v2.2.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 11 Jun 20:03
Immutable release. Only release title and notes can be modified.
d3e6d39

2.2.0 (2026-06-11)

Features

  • Support per-attempt URIs and typed unrecoverable status errors in the SSE client (#296) (a97e9af)

This PR was generated with Release Please. See documentation.

v4.19.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 10 Jun 13:11
Immutable release. Only release title and notes can be modified.
ce4dd4d

4.19.0 (2026-06-10)

Features

  • Debounce lifecycle, network, and setMode signals in flutter SDK (#292) (4805e78)

This PR was generated with Release Please. See documentation.

v4.18.1

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 09 Jun 20:13
Immutable release. Only release title and notes can be modified.
05544b6

4.18.1 (2026-06-09)

Bug Fixes

  • Update launchdarkly_common_client to version 1.12.0 (#289) (5f10f6c)

This PR was generated with Release Please. See documentation.

v4.18.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 09 Jun 18:17
Immutable release. Only release title and notes can be modified.
fe8963f

4.18.0 (2026-06-09)

Features


This PR was generated with Release Please. See documentation.

launchdarkly_common_client: v1.13.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 09 Jun 20:29
Immutable release. Only release title and notes can be modified.
df9415a

1.13.0 (2026-06-09)

Features

  • Add StateDebounceManager to common_client (#291) (e9f8183)

This PR was generated with Release Please. See documentation.

v4.17.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 04 Jun 15:58
Immutable release. Only release title and notes can be modified.
e856a6c

4.17.0 (2026-06-04)

Features

  • Wire FDv2 connection-mode resolution in flutter SDK (#280) (ef8ad39)

This PR was generated with Release Please. See documentation.

launchdarkly_common_client: v1.12.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 04 Jun 00:34
Immutable release. Only release title and notes can be modified.
a47e950

1.12.0 (2026-06-04)

Features

  • Wire FDv2 connection-mode resolution in flutter SDK (#280) (ef8ad39)

This PR was generated with Release Please. See documentation.