Repository navigation
feat!: Drop the V2 suffix from data system names - #579
Merged
Merged
Conversation
joker23
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
ldclient.integrations.test_datav2is nowldclient.integrations.test_data.TestDataV2,FlagBuilderV2andFlagRuleBuilderV2are nowTestData,FlagBuilderandFlagRuleBuilder.Files.new_data_source_v2is nowFiles.new_data_source.datasystem_configoption and property onConfigandAsyncConfigare nowdata_system.PollingDataSource. The data system threads are namedldclient.datasystem.*in place ofFDv2-*.ldclient.impl.datasourcev2is nowldclient.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,protocolv2andFDV2_POLLING_ENDPOINTstay, 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
V2suffix, and there are no compatibility aliases.Configuration:
Config/AsyncConfigtakedata_system(wasdatasystem_config), including client internals, diagnostics, contract tests, and integration doc examples.Integrations:
ldclient.integrations.test_datareplacestest_datav2(TestData,FlagBuilder,FlagRuleBuilder).Files.new_data_sourcereplacesnew_data_source_v2; file/test data sources report names likeFileDataandTestDatainstead of*V2.Internals:
ldclient.impl.datasourcereplacesimpl.datasourcev2(polling/streaming and shared helpers). FDv2 coordinator threads and related task labels are standardized toldclient.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.