Skip to content

feat!: Remove the FDv1 data system - #573

Merged
keelerm84 merged 4 commits into
feat/10.xfrom
mk/SDK-3475/remove-fdv1-data-system
Nov 12, 2026
Merged

keelerm84 merged 4 commits into
feat/10.xfrom
mk/SDK-3475/remove-fdv1-data-system

Conversation

@keelerm84

@keelerm84 keelerm84 commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary

The client always uses the FDv2 data system. When datasystem_config is not set, the sync client uses datasystem.default() and the async client uses async_datasystem.default(). The FDv1 fallback synchronizer stays.

  • Removed from Config and AsyncConfig: stream, use_ldd, feature_store, update_processor_class, feature_requester_class, payload_filter_key, data_source_update_sink, get_latest_flags_uri, the stream_uri property, and Config.copy_with_new_sdk_key. Every argument after sdk_key is now keyword-only, so a 9.x positional call fails instead of binding to the wrong parameter.
  • Removed from the public API: the UpdateProcessor, FeatureRequester, DataSourceUpdateSink and DataStoreUpdateSink interfaces and their async versions, the v1 TestData integration, and Files.new_data_source.
  • Daemon mode is a data system with a persistent store and no initializers or synchronizers. It takes the place of use_ldd. It does not log the cached-data evaluation warning, and with events off it does not log the fork warning. A data system with no data sources and no store logs a warning that all evaluations return default values.
  • Persistent store wrapper: the FDv2 wrapper now drops writes that start after close, and close waits for a write in progress, as the FDv1 wrapper did.
  • Diagnostics: the diagnostic event no longer reports streamingDisabled or usingRelayDaemon. dataStoreType comes from the data system config.
  • CI runs only the v3 contract-test harness, because the v2 harness tests only FDv1.

Note

Overview
This is a breaking migration that removes the FDv1 data system so sync and async clients always run FDv2, using datasystem.default() / async_datasystem.default() when datasystem_config is unset.

Configuration: Config and AsyncConfig drop FDv1 knobs (stream, use_ldd, feature_store, update/feature requester hooks, payload_filter_key, etc.) and make every option after sdk_key keyword-only. Daemon mode (persistent store with no synchronizers/initializers) replaces use_ldd; evaluation readiness uses the data system’s target_availability instead of hard-coded FDv1/LDD paths.

Code removal: Large deletions across impl/datasource/*, impl/datasystem/fdv1*, v1 file/test data sources, and related tests—contract-test harness setup is trimmed to v3-only (CI/Makefile, fewer advertised capabilities).

Follow-on behavior: FDv2’s persistent-store wrapper gains FDv1-style close/write locking; diagnostics no longer report streaming/LDD flags and infer store type from the data system; docs reference TestDataV2.

Reviewed by Cursor Bugbot for commit 4cefd0e. Bugbot is set up for automated code reviews on this repo. Configure here.

The client always uses the FDv2 data system. When datasystem_config is
not set, the sync client uses datasystem.default() and the async client
uses async_datasystem.default(). The FDv1 fallback synchronizer stays.

Removed from Config and AsyncConfig: stream, use_ldd, feature_store,
update_processor_class, feature_requester_class, payload_filter_key,
data_source_update_sink, get_latest_flags_uri, the stream_uri property,
and Config.copy_with_new_sdk_key. Removed from the public API: the
UpdateProcessor, FeatureRequester, DataSourceUpdateSink and
DataStoreUpdateSink interfaces and their async versions, the v1
TestData integration, and Files.new_data_source.

Daemon mode (a data system with no initializers and no synchronizers)
takes over from use_ldd. It does not log the cached-data evaluation
warning, and with events off it does not log the fork warning.

The FDv2 persistent store wrapper now drops writes that start after
close, and close waits for a write in progress, as the FDv1 wrapper did.

The diagnostic event no longer reports streamingDisabled or
usingRelayDaemon. dataStoreType comes from the data system config.

CI runs only the v3 contract-test harness, because the v2 harness
tests only FDv1.
@keelerm84
keelerm84 requested a review from a team as a code owner November 10, 2026 16:40
…ve-fdv1-data-system

# Conflicts:
#	contract-tests/async_client_entity.py
#	contract-tests/async_service.py
#	contract-tests/client_entity.py
#	contract-tests/service.py
#	ldclient/async_config.py
#	ldclient/integrations/test_data.py
#	ldclient/testing/integrations/test_test_data_source.py
@keelerm84
keelerm84 merged commit 9f912e7 into feat/10.x Nov 12, 2026
16 checks passed
@keelerm84
keelerm84 deleted the mk/SDK-3475/remove-fdv1-data-system branch November 12, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants