Langgenius Dify Versions Save

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

0.6.4

2 weeks ago

✨ Spotlight on Dify v0.6 ✨

🚀 Introducing Dify Workflow 🚀

Eager to elevate the stability and reproducibility of your LLM applications? The latest release, Dify Workflow, is here to empower you.

Curious for more? Swing by the v0.6.0 Release Notes for the full scoop.


What’s New in v0.6.4?

This update primarily focuses on enhancing system stability and improving user experience. Key updates include:

  • feat: Added agent tools log by @JzoNgKVO in #3537
  • feat: Added claude 3 opus of bedrock by @tellsiddh in #3545
  • feat: Added Code Interpreter Tool by @Yeuoly in #3557
  • feat: Added workflow api in Node.js sdk by @iamjoel in #3584
  • feat: Added Mistral open-mixtral-8x22b by @joshua20231026 in #3591
  • feat: Added stable diffusion 3 tool by @Yeuoly in #3599
  • feat: Added mixtral 8x22b by @joshua20231026 in #3606
  • feat: Vision switch functionality is provided on OpenRouter by @jeessy2 in #3564
  • feat: moonshot function calling support by @Yeuoly in #3629
  • feat: Added llama3 for nvidia-api-catalog by @joshua20231026 in #3631
  • feat: File logging support by @liuzhenghua in #3612
  • For additional enhancements and updates, refer to the What's Changed section below.

Update Guide

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.6.3...0.6.4

0.6.3

3 weeks ago

✨ Spotlight on Dify v0.6 ✨

🚀 Introducing Dify Workflow 🚀

Eager to elevate the stability and reproducibility of your LLM applications? The latest release, Dify Workflow, is here to empower you.

Curious for more? Swing by the v0.6.0 Release Notes for the full scoop.


What’s New in v0.6.3?

This update primarily focuses on enhancing system stability and improving user experience. Key updates include:

  • feat: Add JinaReader as Tool by @Yeuoly in #3468
  • feat: Function calling support for Google Gemini Pro by @Yeuoly in #3406
  • feat: Add support for embedding models with AWS Bedrock Titan Model by @longzhihun in #3377
  • feat: Support configurate openai compatible stream tool call by @Yeuoly in #3467
  • feat: Refactor tongyi models, add function calling & vision support by @takatost in #3496
  • feat: Add support for AWS Bedrock Cohere embedding by @kerlion in #3444
  • feat: Cohere rerank 3 model added by @Yash-1511 in #3431
  • feat: Add nvidia codegemma 7b support by @joshfeng in #3437
  • feat: API tool support custom timeout by @Yeuoly in #3420
  • feat: Integrated SearXNG search as built-in tool by @junytang in #3363
  • feat: Add support for extracting EPUB files in RAG extractors by @vaayne in #3254
  • feat: Add support for extracting XLS files in RAG extractors by @ic-xu in #3321
  • feat: Support relyt vector database by @klaus-xiong in #3367
  • feat: Add workflow editor shortcuts (#3382) by @perzeuss in #3390
  • feat: Show citation info in run history by @nite-knite in #3399
  • feat: Optimize the efficiency of generating chatbot conversation name by @takatost in #3472
  • For additional enhancements and updates, refer to the What's Changed section below.

Update Guide

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  3. Update Python dependencies:

    cd api
    pip install --upgrade -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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.6.2...0.6.3

0.6.2

1 month ago

[!WARNING]

⚠️ EMERGENCY FIX ⚠️

PLEASE UPGRADE to v0.6.2 AS SOON AS POSSIBLE TO PREVENT DATA LEAKAGE.

Fix the issue where sys.query/sys.files data gets confused with other tasks during high concurrency in workflow/chatflow in #3378.


✨ Spotlight on Dify v0.6.0 ✨

🚀 Introducing Dify Workflow 🚀

Eager to elevate the stability and reproducibility of your LLM applications? The latest release, Dify Workflow, is here to empower you.

Curious for more? Swing by the v0.6.0 Release Notes for the full scoop.


What’s New in v0.6.2?

This update primarily focuses on enhancing system stability and improving user experience. Key updates include:

  • feat: OpenAI gpt-4-turbo & gpt-4-turbo-2024-04-09 support by @Yeuoly in #3263
  • feat: Azure OpenAI gpt-4-turbo-2024-04-09 support by @Kennytian in #3300
  • feat: Add Cohere Command R / R+ model support by @takatost in #3333
  • feat: Add Google gemini-1.5-pro support by @lroolle in #2925
  • feat: Enabled vision feature support of OpenAI Compatible API by @takatost in #3272
  • feat: Agent app support image input for reasoning by @Yeuoly in #3293
  • feat: Update aws bedrock new models by @crazywoola in #3326
  • refactor: Enhanced ReAct mode of Agent app by @Yeuoly in #3355
  • For additional enhancements and updates, refer to the What's Changed section below.

Update Guide

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  3. Update Python dependencies:

    cd api
    pip install --upgrade -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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.6.1...0.6.2

0.6.1

1 month ago

✨ Spotlight on Dify v0.6.0 ✨

🚀 Introducing Dify Workflow 🚀

Eager to elevate the stability and reproducibility of your LLM applications? The latest release, Dify Workflow, is here to empower you.

Curious for more? Swing by the v0.6.0 Release Notes for the full scoop.


What’s New in v0.6.1?

This update primarily focuses on enhancing system stability and improving user experience. Key updates include:

  • feat: moonshot function call support by @Yeuoly in #3227
  • feat: prompt-editor in App Orchestrate support operation undo by @zxhlyh in #3242
  • feat: support setting database parameter used in Milvus by @LeoQuote in #3003
  • For additional enhancements and updates, refer to the What's Changed section below.

Update Guide

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.6.0-fix1...0.6.1

0.6.0-fix1

1 month ago

[!IMPORTANT]
EMERGENCY FIX: ADD FEATURE dialog of Agent application that incorrectly used the Text Generator App dialog content.

Introducing Dify Workflow! 🎉

The much-anticipated workflow feature is here: In a nutshell, workflow provides a visual canvas for defining complex tasks as smaller, manageable steps (nodes). This reduces reliance on prompt engineering and LLM agent capabilities, taking the stability and reproducibility of your LLM applications to the next level by letting you be in control.

There are two Workflow application types with this update:

  • Workflow App Targeting Automation and Batch Processing: This is ideal for translation, data analysis, content generation, email automation, and more. image

  • Chatflow App (A Sub-Type of Chatbot) For Conversational Applications: Suitable for customer service, semantic search, and more conversational apps requiring multi-step logic in crafting the response. Compared to the regular Workflow app type, Chatflow adds chat-specific features such as conversation history support (Memory), tagged replies, an Answer node type for streaming responses, and support for rich text and images.

    image

For more information, please visit: https://docs.dify.ai/features/workflow/introduce

Other Enhancements:

  • Optimized UI flow for app creation.

  • Conversion support from various basic application types to Workflow-based applications.

    • Basic / Expert mode Chatbot apps → Chatflow

    • Text Generator → Workflow

      image

  • Dify's official app templates are now available in self-hosted mode.

  • Support for adding descriptions to applications.

  • Support for porting applications in and out of Dify with DSL.

  • Under the hood, we also refactored the underlying execution logic of all app types for cleaner architecture and a tidier repo.

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);

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    
  3. We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)

    docker compose exec api flask convert-to-agent-apps
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  3. Update Python dependencies:

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

    flask db upgrade
    
  5. We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)

    flask convert-to-agent-apps
    
  6. Finally, run API server, Worker and Web frontend Server again.

What's Changed

Full Changelog: https://github.com/langgenius/dify/compare/0.6.0...0.6.0-fix1

0.6.0

1 month ago

Introducing Dify Workflow! 🎉

The much-anticipated workflow feature is here: In a nutshell, workflow provides a visual canvas for defining complex tasks as smaller, manageable steps (nodes). This reduces reliance on prompt engineering and LLM agent capabilities, taking the stability and reproducibility of your LLM applications to the next level by letting you be in control.

There are two Workflow application types with this update:

  • Workflow App Targeting Automation and Batch Processing: This is ideal for translation, data analysis, content generation, email automation, and more. image

  • Chatflow App (A Sub-Type of Chatbot) For Conversational Applications: Suitable for customer service, semantic search, and more conversational apps requiring multi-step logic in crafting the response. Compared to the regular Workflow app type, Chatflow adds chat-specific features such as conversation history support (Memory), tagged replies, an Answer node type for streaming responses, and support for rich text and images.

    image

For more information, please visit: https://docs.dify.ai/features/workflow/introduce

Other Enhancements:

  • Optimized UI flow for app creation.

  • Conversion support from various basic application types to Workflow-based applications.

    • Basic / Expert mode Chatbot apps → Chatflow

    • Text Generator → Workflow

      image

  • Dify's official app templates are now available in self-hosted mode.

  • Support for adding descriptions to applications.

  • Support for porting applications in and out of Dify with DSL.

  • Under the hood, we also refactored the underlying execution logic of all app types for cleaner architecture and a tidier repo.

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);

Docker compose deployments:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  2. Go to the next step and update to the latest image:

    cd docker
    docker compose up -d
    
  3. We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)

    docker compose exec api flask convert-to-agent-apps
    

Source Code deployments:

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

  2. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  3. Update Python dependencies:

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

    flask db upgrade
    
  5. We also moved the agent data within the database, Execute the below script to complete the migrate: (NEW)

    flask convert-to-agent-apps
    
  6. Finally, run API server, Worker and Web frontend Server again.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.5.11-fix1...0.6.0

0.6.0-preview-workflow.2

1 month 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.

0.5.11-fix1

1 month ago

Fixed critical issue

Fixed the error issue caused by batch embedding and creating collections simultaneously of vector db on knowledge base processing. #3054

New Features

  • Add xinference audio model support by @leslie2046 in #3045
  • Add Brave Search and Trello(12 Tools) Included by @Yash-1511 in #3040
  • feat: add Feishu(飞书) tool for sending message to chat group bot via webhook by @arkii in #3059

Update Guide

Deploying with Docker Compose:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  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 main branch:

    git checkout main
    git pull origin main
    
  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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.5.11...0.5.11-fix1

0.5.11

1 month ago

New Features

  • Add azure blob storage support by @JohnJyong in #2919
  • Add NVIDIA triton-inference-server by @Yeuoly in #2928
  • Support new reranker [jina-colbert-v1-en] by @rickythink in #2975
  • Add New Tool: DevDocs by @richards199999 in #2993
  • Add New Tool: StackExchange by @richards199999 in #3034
  • Add S3_ADDRESS_STYLE configuration option by @LeoQuote in #2934
  • Update nginx and docker-compose files to support HTTPS. by @Kennytian in #2940
  • Update wenxin llm by @Weaxs in #2929
  • Support mutil-thread document embedding by @JohnJyong in #3016
  • Fix some problems.

Update Guide

Deploying with Docker Compose:

  1. Get the latest code from the main branch:

    git checkout main
    git pull origin main
    
  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 main branch:

    git checkout main
    git pull origin main
    
  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.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/0.5.10...0.5.11

0.6.0-preview-workflow.1

1 month 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.

TL;DR

image
  • Introduced two new App types: Chatflow and Workflow.
  • The creation entry for the Chatbot Expert Mode has been removed, with support provided for migration to Chatflow apps.
  • Chatbots can now be migrated to Chatflow apps, and Text Generation apps can be migrated to Workflow apps.

Update Guide

Deploying with Docker Compose:

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

    git fetch --tags
    git checkout 0.6.0-preview-workflow.1
    
  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.1
    
  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.