Langflow release notes | Langflow Documentation (original) (raw)

This page summarizes significant changes to Langflow in each release. For all changes, see the Changelog.

Due to strict SemVer requirements, Langflow Desktop can have different patch versions than the core Langflow OSS Python package, but the major and minor versions are aligned.

warning

Whenever possible, the Langflow team recommends installing new Langflow versions in a new virtual environment or VM before upgrading your primary installation. This allows you to import flows from your existing installation and test them in the new version without disrupting your existing installation. In the event of breaking changes or bugs, your existing installation is preserved in a stable state. If you are upgrading Windows Desktop to 1.6.0, don't auto-upgrade with the in-app Update button. Instead, follow the instructions in Known issue: Don't auto-upgrade Windows Desktop.

To avoid the impact of potential breaking changes and test new versions, the Langflow team recommends the following upgrade process:

  1. Recommended: Export your projects to create backups of your flows:
    `
    _10
    curl -X GET \
    _10
    "$LANGFLOW_SERVER_URL/api/v1/projects/download/$PROJECT_ID" \
    _10
    -H "accept: application/json" \
    _10
    -H "x-api-key: $LANGFLOW_API_KEY"

`
To export flows from the visual editor, see Import and export flows. 2. Install the new version:

  1. Import your flows to test them in the new version, upgrading components as needed.
    When upgrading components, you can use the Create backup flow before updating option if you didn't previously export your flows.
  2. If you installed the new version in isolation, upgrade your primary installation after testing the new version.
    If you made changes to your flows in the isolated installation, you might want to export and import those flows back to your upgraded primary installation so you don't have to repeat the component upgrade process.

Highlights of this release include the following changes. For all changes, see the Changelog.

Breaking changes

For more information about available optional dependency groups, see Install optional dependency groups for langflow-base.

For more information, see Upgrade the Langflow Docker image.

New features and enhancements

Version yanked

Version 1.7.0 was yanked due to a critical bug. Version 1.7.0 has been replaced with version 1.7.1, which includes a fix for this issue.

Highlights of this release include the following changes. For all changes, see the Changelog.

Known issue: Data not accessible when upgrading to version 1.7.0

A critical issue was identified during the upgrade process to version 1.7.0.

Flows, projects, and global variables are not deleted or corrupted. The data still exists, but version 1.7.0 cannot find it due to a path change in how flows are located. All Langflow versions upgrading to 1.7.0 are affected.

Don't upgrade to Langflow version 1.7.0. Instead, upgrade directly to version 1.7.1, which includes a fix for this bug.

If you installed version 1.7.0 before the fix was released, follow these steps to recover your flows:

  1. Revert Langflow to version 1.6.9:
    `
    _10
    uv pip install langflow==1.6.9

2. Verify that your flows, projects, and global variables are accessible. 3. Upgrade directly to version 1.7.1, which includes the fix for this issue:
_10
uv pip install langflow==1.7.1

`

New features and enhancements

Highlights of this release include the following changes. For all changes, see the Changelog.

Known issue, potential security vulnerability: .env file not loaded in versions 1.6.0 through 1.6.3

Langflow versions 1.6.0 through 1.6.3 have a critical bug where environment variables from .env files aren't read. This affects all deployments using environment variables for configuration, including security settings.

Potential security vulnerability

If your .env file includes AUTO_LOGIN=false, upgrading to the impacted versions causes Langflow to fall back to default settings, potentially giving all users superuser access immediately upon upgrade. Additionally, database credentials, API keys, and other sensitive configurations can't be loaded from .env files.

Don't upgrade to any Langflow version from 1.6.0 through 1.6.3 if you use .env files for configuration. Instead, upgrade to 1.6.4, which includes a fix for this bug.

Known issue: Don't auto-upgrade Windows Desktop

warning

Windows users of Langflow Desktop should not use the in-app update feature to upgrade to Langflow version 1.6.0. Only Windows Desktop users upgrading to Langflow version 1.6.0 are affected.

The Update button in Langflow Desktop will not work for Windows users, and may result in data loss.

Instead, download a fresh installation from the Langflow website when a new version is available.

Follow the instructions below to minimize the risk of losing flows.

These instructions assume the default path for the Langflow database of C:\Users\YOUR_USERNAME\AppData\Roaming\com.langflow\data\database.db or C:\Users\%YOUR_USERNAME%\AppData\Roaming\com.langflow\data\database.db. Replace YOUR_USERNAME with your Windows username.

  1. Ensure you have Administrator privileges.
  2. Ensure you have enough disk space for a second installation of Langflow.
  3. Close Langflow, and ensure no Langflow process is running in Task Manager.
  4. The Langflow 1.6.0 installer automatically performs a database backup in a later step, but an additional manual backup provides additional redundancy and is recommended. To manually back up your Langflow database file, do the following:
    1. In Windows Explorer, navigate to C:\Users\YOUR_USERNAME\AppData\Roaming\com.langflow\data\. Replace YOUR_USERNAME with your Windows username.
    2. Copy the database.db at this location, and paste it to a safe location.
  5. Download the Windows installer from the Langflow website.
  6. Run the Windows installer as an Administrator. To run the installer as an Administrator, right-click the executable and select Run as administrator.
  7. Follow the Windows installer's guided steps. The Langflow 1.6.0 installer automatically performs a database backup. These steps install Langflow from scratch, and result in two Langflow installations: the previously installed version, and version 1.6.0. This is expected behavior.
  8. Start version 1.6.0 of Langflow, and confirm your flows behave as expected.
  9. If flows are missing, restore your flows from your manual backup by doing the following:
    1. Close Langflow.
    2. Navigate to your backup location, and copy the database.db file.
    3. Replace the database file in the new installation's data directory.
    4. Start Langflow, and confirm your flows behave as expected.
    5. After confirmation, uninstall the previous version of Langflow, and keep version 1.6.0.

Breaking changes

New features and enhancements

Deprecations

Highlights of this release include the following changes. For all changes, see the Changelog.

New features and enhancements

Highlights of this release include the following changes. For all changes, see the Changelog.

New features and enhancements

Deprecations

Highlights of this release include the following changes. For all changes, see the Changelog.

New features and enhancements

Highlights of this release include the following changes. For all changes, see the Changelog.

New features and enhancements

Deprecations

See the Changelog.