langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.92k stars 4.25k forks source link

After upgrade to version 1.1.0, the old flows fail to build because components are out of date #4735

Open fanimali opened 1 week ago

fanimali commented 1 week ago

Bug Description

The problem here is that quite a few components have been upgraded in the new version, but there isn't a way to simply upgrade the old components. The old flows will not build anymore and the user must delete and recreate manually those components that are failing the build, one by one.

Possible enhancement would be to handle the upgrades in a better way for a neater customer experience.

Reproduction

upgrade LF to version 1.1 verify that old components are not building anymore and need to be upgraded to new version of the same components.

Expected behavior

a version upgrade should be backward compatible or the user should be presented with a question as to automatically upgrade the components in the existing flows.

Who can help?

No response

Operating System

Ubuntu 22.04

Langflow Version

1.1.0

Python Version

None

Screenshot

No response

Flow File

No response

lucaseduoli commented 2 days ago

Hello! Could you please provide us with the specific components which are causing this issue? If possible, could you send us your Flow by exporting it? Thanks!