Skip to content

feat!: Drop the V2 suffix from data system names - #579

Merged
keelerm84 merged 4 commits into
feat/10.xfrom
mk/SDK-3549/drop-v2-names
Nov 12, 2026
Merged

keelerm84 merged 4 commits into
feat/10.xfrom
mk/SDK-3549/drop-v2-names

Conversation

@keelerm84

@keelerm84 keelerm84 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

feat!: Rename the datasystem_config option to data_system

Summary

FDv2 is now the only data system, so the V2 suffixes no longer tell anything apart. This drops them, to match the Ruby SDK's rename.

  • Test data: ldclient.integrations.test_datav2 is now ldclient.integrations.test_data. TestDataV2, FlagBuilderV2 and FlagRuleBuilderV2 are now TestData, FlagBuilder and FlagRuleBuilder.
  • File data: Files.new_data_source_v2 is now Files.new_data_source.
  • Configuration: the datasystem_config option and property on Config and AsyncConfig are now data_system.
  • Logs and threads: the polling, streaming, file and test data sources report their names without the suffix, for example PollingDataSource. The data system threads are named ldclient.datasystem.* in place of FDv2-*.
  • Internal modules: ldclient.impl.datasourcev2 is now ldclient.impl.datasource, and the file and test data source modules and classes lose their suffix.

No aliases are kept for the old names. FDv2, AsyncFDv2, protocolv2 and FDV2_POLLING_ENDPOINT stay, because they name the protocol version, as in Ruby.


Note

Overview
This is a breaking rename now that FDv2 is the only data system: public options, modules, and integrations drop the redundant V2 suffix, and there are no compatibility aliases.

Configuration: Config / AsyncConfig take data_system (was datasystem_config), including client internals, diagnostics, contract tests, and integration doc examples.

Integrations: ldclient.integrations.test_data replaces test_datav2 (TestData, FlagBuilder, FlagRuleBuilder). Files.new_data_source replaces new_data_source_v2; file/test data sources report names like FileData and TestData instead of *V2.

Internals: ldclient.impl.datasource replaces impl.datasourcev2 (polling/streaming and shared helpers). FDv2 coordinator threads and related task labels are standardized to ldclient.datasystem.*, with matching log message tweaks.

Protocol-level names (FDv2, AsyncFDv2, protocolv2, etc.) are unchanged.

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

@keelerm84
keelerm84 requested a review from a team as a code owner November 12, 2026 16:22
@keelerm84
keelerm84 merged commit 26fff76 into feat/10.x Nov 12, 2026
18 checks passed
@keelerm84
keelerm84 deleted the mk/SDK-3549/drop-v2-names branch November 12, 2026 20:46
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