Skip to content

v2.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 08 Sep 07:20
· 385 commits to main since this release
2a84832

Fixes

  • Fixed an issue in Workflow / Chatflow where using an LLM node with Memory could cause errors.
  • Fixed a blocking issue in non-pipeline mode when adding new Notion pages to the document list.
  • Fixed dark mode styling issues.

Upgrade Guide

Important

If upgrading from 0.x or 1.x, you must run the following migration to transform existing datasource credentials. This step is required to ensure compatibility with the new version:

uv run flask transform-datasource-credentials

Docker Compose Deployments

  1. Back up your customized docker-compose YAML file (optional)
cd docker
cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
  1. Get the latest code from the main branch
git checkout 2.0.0-beta.2
git pull origin 2.0.0-beta.2
  1. Stop the service. Please execute in the docker directory
docker compose down
  1. Back up data
tar -cvf volumes-$(date +%s).tgz volumes
  1. Upgrade services
docker compose up -d
  1. Migrate data after the container starts
docker exec -it docker-api-1 uv run flask transform-datasource-credentials

Source Code Deployments

  1. Stop the API server, Worker, and Web frontend Server.

  2. Get the latest code from the release branch:

git checkout 2.0.0-beta.2
  1. Update Python dependencies:
cd api
uv sync
  1. Then, let's run the migration script:
uv run flask db upgrade
uv run flask transform-datasource-credentials
  1. Finally, run the API server, Worker, and Web frontend Server again.