github langgenius/dify 0.6.11
v0.6.11

11 days ago

✨ What’s New in v0.6.11? ✨

Hey everyone, we’ve got a fresh update for you! Version 0.6.11 is here, and it’s packed with new features, enhancements, and fixes. Let’s dive into what’s changed:

🚀 New Features

📜 Knowledge

🚀 Workflow

  • Note Support: Add notes directly into your workflows to enhance documentation and readability when editing or reviewing shared DSLs by @zxhlyh in #5164.

    image

🤖 Model Support

  • Jina: Support for Jina-CLIP-v1 embedding model by @sinomoe in #5146.
  • Zhipu: Added GLM4 new models and Zhipu embedding-2 by @orangeclk in #5089.
  • ERNIE-4.0-8K-Latest: Support for ERNIE-4.0-8K-Latest by @iamsk in #5216.
  • Doubao: Support for Doubao LLM function calling by @sinomoe in #5100.
  • Hunyuan: Support for Hunyuan LLM models by @xielong in #5013.
  • SiliconFlow: Added support for SiliconFlow by @orangeclk in #5129.
  • Novita.ai: Added Novita.ai as a model provider by @jasonhp in #4961.

🛠️ Tools

  • DuckDuckGo Tools: Added DuckDuckGo image search, translate, and AI chat tools by @hjlarry in #5074.
  • Feishu multi-dimensional table Tools: Added Feishu multi-dimensional table operation tools by @hgnulb in #5213.

🗄️ Vector DB

☁️ AWS

  • EKS Pod Identity: Upgraded boto3 library to support EKS Pod Identity by @nanasi880 in #5064.
  • IAM Role for Bedrock: Allow using IAM Role for Bedrock by @tmokmss in #5188.
  • AWS S3 IAM Check: Added AWS S3 IAM check by @JohnJyong in #5174.

🏗️ API Service Infrastructures

  • Poetry Support: Initial support for the Poetry build tool by @MatriQ in #4513.

    ⚠️ In the next version, we will deprecate pip as the primary package management tool for Dify api service, currently Poetry and pip coexist.

  • Poetry in CI: Use Poetry as the default build system for dependency installation in CI jobs by @bowenliang123 in #5088.

  • Pydantic Migration: Modernized validation by migrating Pydantic from 1.x to 2.x by @bowenliang123 in #4592.

Other Enhancements

  • Editor User Permission: New editor user permission profile by @chazzhou in #4435.
  • Memory Messages Limit: Set default memory messages limit to infinite by @takatost in #5002.
  • DOCX Image Handling: Improved handling of external images when extracting DOCX images by @JohnJyong in #5024.
  • Dataset Delete Endpoint: Added dataset delete endpoint by @perzeuss in #5048.
  • Knowledge Retrieval: Optimized knowledge retrieval performance by batching dataset queries by @wangiii in #4917.
  • Jina Tools: Added optional API key, proxy server, and bypass cache parameters to Jina tools by @XiaoLey in #5197.
  • HTTP Request Fix: Fixed HTTP request delete method not working by @th3n00b13 in #4975.

For additional enhancements and updates, refer to the What's Changed section below.

Upgrade Guide

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
  2. Get the latest code from the main branch

    git checkout main
    git pull origin main
  3. Stop the service,Command, please execute in the docker directory

    docker compose down
  4. Back up data

    tar -cvf volumes-$(date +%s).tgz volumes
  5. Upgrade services

    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:

    • If using pip

      cd api
      pip install -r requirements.txt
    • If using poetry

      cd api
      poetry install
  4. Then, let's run the migration script:

    • If using pip

      flask db upgrade
    • If using poetry

      cd api
      poetry run python -m flask db upgrade
  5. Finally, run API server, Worker and Web frontend Server again.

What's Changed

New Contributors

Full Changelog: 0.6.10...0.6.11

Don't miss a new dify release

NewReleases is sending notifications on new releases.