github langgenius/dify 0.6.0-preview-workflow.2
v0.6.0-preview-workflow.2

latest releases: 0.6.10, 0.6.9, 0.6.8...
pre-release2 months ago

Important Notice

This version is a preview release intended for feature workflow internal testing only. It is not a formal release. Please proceed with caution before upgrading. Please do not use it in a production environment.

What's Changed

  • Refactored the variable reference logic for LLM, Answer, Tool, and Http Request nodes. Now you can simply input "/" in the text box to directly select variables without having to declare variable relationships and import them separately.

    Due to changes in the data structure, the previous workflow configurations will no longer be available. Please create a new App to experience it and avoid running into any error issues caused by inconsistent data structures.

    image
  • Optimized the user experience of app creation.

  • A lot of details to optimize for user experience.

  • Fixed few issues.

Update Guide

If you need to upgrade from 0.6.0-preview-workflow.1, you will need to connect to PostgreSQL and execute the following SQL (migration inserted in the main branch) to ensure data integrity.

ALTER TABLE dataset_keyword_tables ADD COLUMN data_source_type VARCHAR(255) NOT NULL DEFAULT 'database';
ALTER TABLE embeddings ADD COLUMN provider_name VARCHAR(40) NOT NULL DEFAULT '';
ALTER TABLE embeddings DROP CONSTRAINT embedding_hash_idx;
ALTER TABLE embeddings ADD CONSTRAINT embedding_hash_idx UNIQUE (model_name, hash, provider_name);

Deploying with Docker Compose:

  1. Get the latest code from the feat/workflow branch:

    git fetch --tags
    git checkout 0.6.0-preview-workflow.2
  2. Go to the next step and update to the latest image:

    cd docker
    docker-compose up -d

Deploying from Source Code:

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

  2. Get the latest code from the feat/workflow branch:

    git fetch --tags
    git checkout 0.6.0-preview-workflow.2
  3. Update Python dependencies:

    cd api
    pip install -r requirements.txt
  4. Then, let's run the migration script:

    flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.

Don't miss a new dify release

NewReleases is sending notifications on new releases.