Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8ae0b56
Remove deprecated components
lucaseduoli Sep 1, 2025
70205b5
Removed deprecated tags
lucaseduoli Sep 1, 2025
2079b00
removed mcp deprecated components
lucaseduoli Sep 2, 2025
c21a8c7
Add new applyComponentFilter
lucaseduoli Sep 2, 2025
373e79b
add replacement to node parameters
lucaseduoli Sep 2, 2025
1c0db73
added filtercomponent to flow store
lucaseduoli Sep 2, 2025
9b135d0
Added replacement to api class type
lucaseduoli Sep 2, 2025
6830843
Made sidebar filter component more modular
lucaseduoli Sep 2, 2025
0494ff9
remove unused props and pass props to filtercomponent
lucaseduoli Sep 2, 2025
79bcc7a
Apply component filters and get name and description for filter
lucaseduoli Sep 2, 2025
db89248
Add resetting to handle and page
lucaseduoli Sep 2, 2025
b9d938d
Added types to sidebar header
lucaseduoli Sep 2, 2025
4cb59cd
Added legacy and replacement to node description, activate component …
lucaseduoli Sep 2, 2025
6fb1098
updated sidebar header test
lucaseduoli Sep 2, 2025
dcc2cd6
format test
lucaseduoli Sep 2, 2025
a166fbe
update sidebar filter component test to match current behavior
lucaseduoli Sep 2, 2025
ff694a3
Refactor to allow multiple replacements
lucaseduoli Sep 2, 2025
2886c6b
removed legacy from node description
lucaseduoli Sep 2, 2025
0da6d70
added dismissed legacy nodes
lucaseduoli Sep 2, 2025
dd8e476
removed unused props
lucaseduoli Sep 2, 2025
169836a
add node legacy component
lucaseduoli Sep 2, 2025
ab73842
changed replacement type to list
lucaseduoli Sep 2, 2025
d71b11b
Instantiate nodelegacycomponent on generic node when component is legacy
lucaseduoli Sep 2, 2025
b7c0d82
Add components filtering in nodelegacycomponent
lucaseduoli Sep 2, 2025
33d70b2
added replacement instead of display name
lucaseduoli Sep 2, 2025
159b9b0
Added legacy tag to component name
lucaseduoli Sep 2, 2025
623bf4c
Add replacement to some components
lucaseduoli Sep 2, 2025
f8b5a02
Added replacements to majority of legacy components
lucaseduoli Sep 2, 2025
167ad9a
Made component name not be capitalized
lucaseduoli Sep 2, 2025
e62bee1
fixed bundles not appearing at component filter
lucaseduoli Sep 2, 2025
5b53e5d
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 2, 2025
42b244d
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Sep 2, 2025
054def4
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Sep 2, 2025
af67daf
Merge branch 'release-1.6.0' into fix/delete_unused_components
carlosrcoelho Sep 3, 2025
adf5c65
Merge branch 'release-1.6.0' into fix/delete_unused_components
lucaseduoli Sep 3, 2025
ea131bf
added replacement for crew ai
lucaseduoli Sep 4, 2025
cd516a1
Merge branch 'release-1.6.0' into fix/delete_unused_components
lucaseduoli Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/crewai/crewai.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class CrewAIAgentComponent(Component):
documentation: str = "https://docs.crewai.com/how-to/LLM-Connections/"
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"

inputs = [
MultilineInput(name="role", display_name="Role", info="The role of the agent."),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class HierarchicalCrewComponent(BaseCrewComponent):
documentation: str = "https://docs.crewai.com/how-to/Hierarchical/"
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"

inputs = [
*BaseCrewComponent._base_inputs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class HierarchicalTaskComponent(Component):
description: str = "Each task must have a description, an expected output and an agent responsible for execution."
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"
inputs = [
MultilineInput(
name="task_description",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class SequentialCrewComponent(BaseCrewComponent):
documentation: str = "https://docs.crewai.com/how-to/Sequential/"
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"

inputs = [
*BaseCrewComponent._base_inputs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class SequentialTaskComponent(Component):
description: str = "Each task must have a description, an expected output and an agent responsible for execution."
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"
inputs = [
MultilineInput(
name="task_description",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class SequentialTaskAgentComponent(Component):
documentation = "https://docs.crewai.com/how-to/LLM-Connections/"
icon = "CrewAI"
legacy = True
replacement = "agents.Agent"

inputs = [
# Agent inputs
Expand Down
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/data/csv_to_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CSVToDataComponent(Component):
icon = "file-spreadsheet"
name = "CSVtoData"
legacy = True
replacement = ["data.File"]

inputs = [
FileInput(
Expand Down
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/data/json_to_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class JSONToDataComponent(Component):
icon = "braces"
name = "JSONtoData"
legacy = True
replacement = ["data.File"]

inputs = [
FileInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@


class AstraVectorizeComponent(Component):
display_name: str = "Astra Vectorize [DEPRECATED]"
description: str = (
"Configuration options for Astra Vectorize server-side embeddings. "
"This component is deprecated. Please use the Astra DB Component directly."
)
display_name: str = "Astra Vectorize"
description: str = "Configuration options for Astra Vectorize server-side embeddings. "
documentation: str = "https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html"
legacy = True
icon = "AstraDB"
name = "AstraVectorize"
replacement = ["datastax.AstraDB"]

VECTORIZE_PROVIDERS_MAPPING = {
"Azure OpenAI": ["azureOpenAI", ["text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002"]],
Expand Down
61 changes: 0 additions & 61 deletions src/backend/base/langflow/components/deactivated/mcp_sse.py

This file was deleted.

62 changes: 0 additions & 62 deletions src/backend/base/langflow/components/deactivated/mcp_stdio.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class EmbeddingSimilarityComponent(Component):
description: str = "Compute selected form of similarity between two embedding vectors."
icon = "equal"
legacy: bool = True
replacement = ["datastax.AstraDB"]

inputs = [
DataInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class TextEmbedderComponent(Component):
description: str = "Generate embeddings for a given message using the specified embedding model."
icon = "binary"
legacy: bool = True
replacement = ["models.EmbeddingModel"]
inputs = [
HandleInput(
name="embedding_model",
Expand Down
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/google/gmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class GmailLoaderComponent(Component):
description = "Loads emails from Gmail using provided credentials."
icon = "Google"
legacy: bool = True
replacement = ["composio.ComposioGmailAPIComponent"]

inputs = [
SecretStrInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class OutputParserComponent(Component):
icon = "type"
name = "OutputParser"
legacy = True
replacement = ["processing.StructuredOutput", "processing.ParserComponent"]

inputs = [
DropdownInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class MessageStoreComponent(Component):
icon = "message-square-text"
name = "StoreMessage"
legacy = True
replacement = ["helpers.Memory"]

inputs = [
MessageTextInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class DataConditionalRouterComponent(Component):
icon = "split"
name = "DataConditionalRouter"
legacy = True
replacement = ["logic.ConditionalRouter"]

inputs = [
DataInput(
Expand Down
3 changes: 2 additions & 1 deletion src/backend/base/langflow/components/logic/flow_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@


class FlowToolComponent(LCToolComponent):
display_name = "Flow as Tool [Deprecated]"
display_name = "Flow as Tool"
description = "Construct a Tool from a function that runs the loaded Flow."
field_order = ["flow_name", "name", "description", "return_direct"]
trace_type = "tool"
name = "FlowTool"
legacy: bool = True
replacement = ["logic.RunFlow"]
icon = "hammer"

async def get_flow_names(self) -> list[str]:
Expand Down
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/logic/pass_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class PassMessageComponent(Component):
name = "Pass"
icon = "arrow-right"
legacy: bool = True
replacement = ["logic.ConditionalRouter"]

inputs = [
MessageInput(
Expand Down
3 changes: 2 additions & 1 deletion src/backend/base/langflow/components/logic/sub_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@


class SubFlowComponent(Component):
display_name = "Sub Flow [Deprecated]"
display_name = "Sub Flow"
description = "Generates a Component from a Flow, with all of its inputs, and "
name = "SubFlow"
legacy: bool = True
replacement = ["logic.RunFlow"]
icon = "Workflow"

async def get_flow_names(self) -> list[str]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class AlterMetadataComponent(Component):
icon = "merge"
name = "AlterMetadata"
legacy = True
replacement = ["processing.DataOperations"]

inputs = [
HandleInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class CombineTextComponent(Component):
icon = "merge"
name = "CombineText"
legacy: bool = True
replacement = ["processing.DataOperations"]

inputs = [
MessageTextInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class CreateDataComponent(Component):
name: str = "CreateData"
MAX_FIELDS = 15 # Define a constant for maximum number of fields
legacy = True
replacement = ["processing.DataOperations"]
icon = "ListFilter"

inputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class DataToDataFrameComponent(Component):
icon = "table"
name = "DataToDataFrame"
legacy = True
replacement = ["processing.DataOperations", "processing.TypeConverterComponent"]

inputs = [
DataInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ExtractDataKeyComponent(Component):
icon = "key"
name = "ExtractaKey"
legacy = True
replacement = ["processing.DataOperations"]

inputs = [
DataInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class FilterDataComponent(Component):
beta = True
name = "FilterData"
legacy = True
replacement = ["processing.DataOperations"]

inputs = [
DataInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class DataFilterComponent(Component):
beta = True
name = "FilterDataValues"
legacy = True
replacement = ["processing.DataOperations"]

inputs = [
DataInput(name="input_data", display_name="Input Data", info="The list of data items to filter.", is_list=True),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class JSONCleaner(Component):
"so that they are fully compliant with the JSON spec."
)
legacy = True
replacement = ["processing.ParserComponent"]
inputs = [
MessageTextInput(
name="json_str", display_name="JSON String", info="The JSON string to be cleaned.", required=True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class MergeDataComponent(Component):
icon = "merge"
MIN_INPUTS_REQUIRED = 2
legacy = True
replacement = ["processing.DataOperations"]

inputs = [
DataInput(name="data_inputs", display_name="Data Inputs", info="Data to combine", is_list=True, required=True),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class MessageToDataComponent(Component):
beta = True
name = "MessagetoData"
legacy = True
replacement = ["processing.TypeConverterComponent"]

inputs = [
MessageInput(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class ParseDataComponent(Component):
icon = "message-square"
name = "ParseData"
legacy = True
replacement = ["processing.DataOperations", "processing.TypeConverterComponent"]
metadata = {
"legacy_name": "Parse Data",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ParseDataFrameComponent(Component):
icon = "braces"
name = "ParseDataFrame"
legacy = True
replacement = ["processing.DataFrameOperations", "processing.TypeConverterComponent"]

inputs = [
DataFrameInput(name="df", display_name="DataFrame", info="The DataFrame to convert to text rows."),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class ParseJSONDataComponent(Component):
icon = "braces"
name = "ParseJSONData"
legacy: bool = True
replacement = ["processing.ParserComponent"]

inputs = [
HandleInput(
Expand Down
Loading
Loading