When importing a flow, if a flow component "needs update" (i.e. it was exported from an earlier version), allow the import process to automatically update the component (perhaps as a default behaviour?)
Motivation
Though some components might have custom/modified code, most components in use have no such modification. In this case, it would be nicer behaviour for a user to import a flow and have the components automatically upgraded when they are importing a flow into a later version of Langflow.
The most concrete example of this would be flows available in the Store, which aren't always updated to the latest and greatest Langflow release as they happen. But certainly home-grown flows can have the same problem.
If the component can't be upgraded automatically, I'd think a warning or other information to this effect would be helpful. This could include components that no longer exist in the current Langflow – current behaviour there is to give a messy error screen, whereas it'd be better to indicate the flow is not compatible with the running version, and that component is somehow styled as broken/disabled.
Currently, when a component that exists in the main source is updated, an exclamation mark appears on that component. Clicking on it will overwrite it with the latest version.
Feature Request
When importing a flow, if a flow component "needs update" (i.e. it was exported from an earlier version), allow the import process to automatically update the component (perhaps as a default behaviour?)
Motivation
Though some components might have custom/modified code, most components in use have no such modification. In this case, it would be nicer behaviour for a user to import a flow and have the components automatically upgraded when they are importing a flow into a later version of Langflow.
The most concrete example of this would be flows available in the Store, which aren't always updated to the latest and greatest Langflow release as they happen. But certainly home-grown flows can have the same problem.
If the component can't be upgraded automatically, I'd think a warning or other information to this effect would be helpful. This could include components that no longer exist in the current Langflow – current behaviour there is to give a messy error screen, whereas it'd be better to indicate the flow is not compatible with the running version, and that component is somehow styled as broken/disabled.
Your Contribution
No response