Skip to content

Releases: langgenius/dify

v0.14.1

18 Dec 08:36
926546b
Compare
Choose a tag to compare

✨ What’s New in v0.14.1? ✨

We’re excited to bring you version 0.14.1, packed with enhancements and new features designed to elevate your workflow and performance. Here’s what you can look forward to:

🚀 New Features

  • Gemini Models: Gemini models have received a robust upgrade. With integrated response metadata, you can manage token counting more efficiently, thanks to enhancements by @totsukash in #11743.

  • OpenAI O1 Model: Take advantage of the new OpenAI O1 model with updated pricing and a larger token limit, providing even greater flexibility for your projects, courtesy of @laipz8200 in #11780.

  • OpenDAL Integration: Introducing Apache OpenDAL™, the visionary approach to storage — One Layer, All Storage. This tool seamlessly integrates with a variety of object storage solutions like AWS S3 and Google Cloud Storage and includes an automatic retry feature to ensure reliability and ease of use. Brought to you by the ingenious work of @laipz8200 in #11754.

🛠️ Enhancements

  • Docker Proxy Improvements: Enhanced proxy support for Docker environments ensures smoother and more streamlined deployments, improved by @longfengpili in #11681.

  • Improved Docker API Startup: We've slashed API startup times by 50% when running in Docker, meaning faster development cycles and less downtime, thanks to the efforts of @laipz8200 in #11762.

🐛 Bug Fixes

  • Memory Leak Fix: Addressed a memory leak caused by Pypdfium2, ensuring your system runs smoothly and resources are optimized. This fix is credited to @yihong0618 in #11700.

  • Image Icon Display: Resolved issues with missing image icons to ensure all visuals render correctly, as fixed by @crazywoola in #11701.

  • Tidb Now Optional in Docker Compose: The Tidb service has been made optional in Docker setups, providing you with more configuration flexibility, led by @bowenliang123 in #11729.

This version is all about providing a more efficient, flexible, and streamlined platform, ensuring you can focus on innovation without the technical hiccups. Welcome to v0.14.1—happy coding! 🚀


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.14.1
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Full Changelog: 0.14.0...0.14.1

v0.14.0

16 Dec 07:53
967eb81
Compare
Choose a tag to compare

✨ Discover What's New in v0.14.0 ✨

We’re excited to bring you the latest v0.14.0 update. Let's dive straight into some of the standout features and improvements. As always, we extend a special thanks to our contributors!

⚡ New Features

🔗 Improved Error Handling

continue on error

Enhanced functionality for workflows and chatflows allows nodes like LLM and HTTP requests to continue operations even when errors occur. Big shoutout to @zxhlyh and @Nov1c444 for their work in #11474 and #11458.

🎨 Revamped User Interface

Creation Exploration
create template

With the fresh entry point for app creation and template exploration, user experience becomes more intuitive, assisting in quick and efficient startup. Thanks to @douxc for this in #10847.

📁 File Previews Directly in Chat

Now, video, audio, and PDF file previews are accessible right within the chat, simplifying on-the-go information access. Credit goes to @charli117 in #11466.

Learn more in our blog

🧠 Model Updates

🌍 Gemini 2.0 and Flash Exp in Google

This enhancement by @hjlarry and @wangiii, found in #11570 and #11604, boosts overall performance.

🔢 Grok-2-1212 and Grok-2-Vision-1212 in XAI

Optimizing the model functionality, thanks to @hjlarry in #11672.

🧙 QwQ and Llama3.3 Models in Siliconflow

Expands compatibility and versatility, contributed by @orangeclk in #11492.

📷 Abab6.5t-Chat Model in Minimax

Broaden available models by @acelyc111 in #11484.

🔧 Other Highlights

🏦 Storage Integration

Features integration of Apache OpenDAL storage for enhanced system-wide storage capabilities. Work done by @laipz8200 in #11508.

📖 Knowledge Base Enhancements

Added support for MDX files in the Knowledge Base to improve content flexibility. Credit to @yihong0618 in #11565.

🔧 Logging and Dev Tools

Logs now include trace IDs for smoother debugging, thanks to @luckylhb90 in #11599. Plus, @fujita-h added handy Docker commands in #11616.

🔧 Bug Fixes

Various minor bugs have been addressed, including iteration node errors and proper release of rate-restricting requests. Thanks to @yihong0618, @liuzhenghua, and others for resolving these issues in #11504, #11540, and more.

🌈 Additional Enhancements

Lindorm VDB support and configurable max submit count, thanks to @AlwaysBluer and @kazuhisa-wada in #11574 and #11673.

Every update in this release reinforces the platform's robustness and adaptability—many thanks to all contributors! Let's continue building this powerful community together! 🚀


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.14.0
  3. Update Python dependencies:

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

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


What's Changed

Read more

v0.13.2

09 Dec 09:58
0ff8bd2
Compare
Choose a tag to compare

✨ What’s New in v0.13.2? ✨

Hey everyone, we're back with version 0.13.2, sporting some cool new features and enhancements aimed at making your workflow smoother. Let’s dive right in:

🚀 New Features

  • Cohere Rerank 3.5 Model: We've integrated support for Cohere's advanced rerank model, adding more depth to your data processing toolbox by @shirochan in #11289.
  • New Model Additions:
  • JSON Schema Support for Ollama Models: Tailor your data handling to your needs by @hjlarry in #11449.
  • Explore Link: Easily open apps in Explore with a simple “Open in Explore” link on the studio interface by @kurokobo in #11402.

⚙️ Enhancements

  • File Downloads in Workflow Results: Workflow results now support file downloads, adding a layer of versatility to your interaction with data outputs by @JzoNgKVO in #11338.
  • Vision for Amazon Nova Models: Amazon Nova Lite and Pro models are now equipped with vision capabilities, broadening their application scope by @mazyu36 in #11398.
  • Editable IF/ELSE Condition Variables: You can now tweak condition variables in IF/ELSE nodes post-selection for dynamic adjustments by @YIXIAO0 in #11431.
  • Mermaid Component Cleanup: Streamlined and styled for a sleeker experience by @charli117 in #11472.

🛠️ Bug Fixes

  • Knowledge Base Guide Link: We've fixed the pesky broken link to the knowledge base, ensuring smooth navigation by @euxx in #11387.
  • Animated WEBP Image Uploads: Issues with uploading animated WEBP images as app icons are history by @xuzuodong in #11453.
  • Iteration Node Token Count Adjusted: Misaligned token counts have been corrected for better accuracy by @s2terminal in #11235.
  • Workflow Tool Tag Saving Bug: Saving tags when creating Workflow Tools is now hassle-free by @zhaobingshuang in #11481.
  • Document Extractor Handles PPTX Files: Full support for PPTX file types is back and better by @hgbdev in #11364.
  • Translation Improvements: Various translation issues have been ironed out to provide a more cohesive multi-language experience by @crazywoola in #4212.

🧹 Chores and Other Updates

  • Tidied up i18n files for smoother user experience across languages by GitHub Actions in #11389.
  • Emoji Picker padding got a much-needed polish by @xuzuodong in #11452.
  • Improved overall code quality and performance by removing redundant styles in components by @charli117 in #11472.

This release is all about refining your experience and opening new possibilities, so dig in and let us know how we've done! As always, your feedback is our fuel. Enjoy! 🚀


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.13.2
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Full Changelog: 0.13.1...0.13.2

v0.13.1

05 Dec 07:12
a5d6082
Compare
Choose a tag to compare

✨ What's New in v0.13.1? ✨

In version v0.13.1, we focused on polishing our platform by addressing critical fixes:

🚀 Highlighted Updates

  1. Improved Bedrock Model Message Handling: Working with Bedrock models just got smoother. We've merged consecutive messages from the same role to reduce frustrating errors. Thanks to @yihong0618 for the fix in fix: better bedrock message handler (#11317).

  2. Iteration Parallel Mode Fix: We tackled issues with the Iteration's Parallel Mode, particularly when nested with internal Parallel functions. This was managed by reverting a previous fix, noted in Revert "Fix: iteration not in main thread pool" by @crazywoola (#11358).

🛠️ Additional Fixes and Improvements

  • File Type Correction in HTTP Node: Resolved an issue where the HTTP node always treated downloaded files as image types. Now, downloads are of the correct type, addressed by @hjlarry in #11319.
  • Multi-Model Debugging: We've fixed the problem where sending messages was not possible during debugging with multiple models and conversations, thanks to @xuzuodong in #11333.
  • Amazon Nova LLMs & Rerank: Integrated Amazon Nova LLMs and AWS Bedrock Rerank capabilities, adding versatility to our platform.
  • UI and Configuration Enhancements: Improved file download handling in chats and enhanced the configuration of number variables for more reliable inputs.

These updates aim to provide a seamless and efficient user experience, helping you work effortlessly.


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.13.1
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Full Changelog: 0.13.0...0.13.1

v0.13.0

03 Dec 09:36
c58d2fc
Compare
Choose a tag to compare

🚀 What’s New in v0.13.0? 🚀

Hey there, update seekers! Welcome to version 0.13.0. We’ve packed a lot of goodies in this release, from fixes and feature upgrades to some nice behind-the-scenes refactoring. Here's the scoop:

✨ New Features

  • Variable Assigner Node Update
    The Variable Assigner node now supports several powerful features to streamline workflows:
    • Operations on multiple conversation variables in a single node.
    Extend operator to link two arrays seamlessly.
    Set operator to assign constants to variables directly.

    variable assigner

    📄 Read the full documentation

  • Github DSL URL Support
    You can now use github.com links directly for DSLs instead of relying on raw.githubusercontent.com. This makes integration smoother and more intuitive. Thanks to @yihong0618 in #11125.

  • VTT File Support
    Document Extractor can now handle VTT files for all your subtitle extraction needs. Big thanks to @fujita-h in #11148.

  • Conversational Opener Upgrade
    More opening questions for your conversations, increasing engagement points. Thanks to @fujita-h in #11233.

🛠️ Improvements and Fixes

  • LLM Invoke Errors
    Reduced noise from unnecessary exceptions—LLM node invoke errors will no longer recorded in the logs. Thanks to @laipz8200 in #11141.

  • Parameter Type Fix
    Resolved an issue with the parameter extractor function that expected a string and wasn't given one. Kudos to @charli117 in #11142.

  • ToolInvokeMessage Validation Fix
    Fixed validation errors for ToolInvokeMessages when the blob_message meta is missing. Thanks to @catusax in #11212.

  • Claude Handling
    Claude can now handle empty strings gracefully. Thanks to @yihong0618 in #11238.

  • Redis Port Double Split Fix
    Adjusted the Redis port handling logic to address double-split issues. Thanks to @yihong0618 in #11270.

  • Modular App Features
    Reorganized app features into modular components for improved scalability and development ease. Shoutout to @bowenliang123 in #9129.

That’s the short version, but as always, there’s plenty more in the logs for those who like a deep dive. Update your systems and take these features for a spin. Keep building, keep exploring, and stay tuned for more!


Upgrade Guide

Docker compose deployments

Warning

The files in the docker-legacy directory will soon stop being maintained and will be removed from the repository. If you are still using them, please switch to the new version as soon as possible.

  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 release branch:

    git checkout 0.13.0
  3. Update Python dependencies:

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

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


What's Changed

Read more

v0.12.1

26 Nov 07:47
208d6d6
Compare
Choose a tag to compare

Bug Fixes in v0.12.1

  1. Webapp Custom Icons: Fixed display issues for custom icons in the webapp. #11094

  2. Start Form File Handling: Addressed the inability to use files in the Start form. #11112

  3. LLM Memory Processing: Corrected errors in LLM memory handling. #11103 and #11106

  4. Conversation Deletion: Fixed conversation removal issues. #11076

  5. App Creation and Template Import: Resolved errors during app creation and template import. #11091, #11092 and #11108

These fixes ensure improved functionality and reliability across the platform.


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 release branch:

    git checkout 0.12.1
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Full Changelog: 0.12.0...0.12.1

v0.12.0

25 Nov 11:19
625aace
Compare
Choose a tag to compare

✨ What’s New in v0.12.0? ✨

Important

Heads up! Starting with this version, we'll no longer support Python 3.10. Make sure to upgrade to Python 3.11 or 3.12 to stay current with our updates.

Hey everyone! We’ve been busy fine-tuning the platform and packing in some new features in version 0.12.0. Let’s see what’s new and improved:

🚀 Enhanced File Support for Workflow/Chatflow LLM Node and Chat/Agent

We’re excited to introduce the new file support capabilities for LLM Node and Basic Chat/Agent! This update significantly enhances multi-modal capabilities and smart document processing, providing more flexibility and power for your application development. Here are the key highlights:

File Variable Support in LLM Node

InsightFlow__begin InsightFlow__result

LLM Node now supports directly referencing File and Array File variables in Prompts, unlocking greater possibilities for developers.
For example, you can upload multiple file variables (such as PDFs and images) and have the model collaboratively handle complex tasks, like summarizing report content or extracting key data. Multi-file support makes workflow design more efficient and seamless!

Tip

  1. File Support Scope: The file types supported by the model may be more limited than the types allowed for upload. Be sure to read your model provider's official documentation to ensure that uploaded files can be processed correctly.
  2. Document Handling in Unsupported Models: If the model does not natively support processing document files, you will still need to use the Document Extractor for extracting content.
  3. Filtering Unsupported Files: To handle unsupported file types, consider using List Operator or IF-ELSE to screen them, ensuring smooth workflows.
  4. Relation to Vision Features: File support operates independently of the Vision toggle. As long as the model supports Vision capabilities, you can use files as input.

New Document-Type Support for Basic Chat and Agent

MarketSense AI

Basic Chat and Agent now include a Document toggle. If the model supports processing document-type files, you can enable this feature.
For instance, you can upload a PDF report and let the Agent automatically analyze market data or assess content value, making such workflows simpler and smarter.

Enhanced Multi-Modal Capabilities

Sentiment Analysis

The new version extends support for multi-modal tasks. For example, you can upload audio files and have the model perform emotional analysis. This combination of text, audio, and file processing capabilities allows you to build more diverse and rich application scenarios.

⚙️ Improvements

  • OpenAI o1 Streaming Support: We now support streaming output for OpenAI o1-preview and o1-mini, thanks to @laipz8200 in #10890.

  • Performance Optimization: The WeightRerankRunner logic has been optimized to achieve constant time complexity, thanks to @yihong0618 in #10849.

  • UI Enhancements: We’ve made the Table of Contents panel in the API document page collapsible, giving you greater control over your workspace, thanks to @hjlarry in #10875.

  • JSON Schema for Gemini Models: Added support for JSON schema integration, ensuring smoother alignment with Gemini models, thanks to @hjlarry in #10835.

  • Redis Clusters: Our ext_redis.py now includes support for Redis clusters, expanding flexibility for data management, implemented by @liuhaoran1212 in #9789.

  • Enhanced Custom Notes: You can now further enhance custom notes for increased expressiveness, courtesy of @hjlarry in #8885.

That’s the scoop for v0.12.0! Until next time, keep exploring and innovating! 🌟


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 release branch:

    git checkout 0.12.0
  3. Update Python dependencies:

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

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


What's Changed

Read more

v0.11.2

18 Nov 09:54
7f1fdb7
Compare
Choose a tag to compare

✨ What’s New in v0.11.2? ✨

Important

Heads up! Starting with the next minor version, we'll no longer support Python 3.10. Make sure to upgrade to Python 3.11 or 3.12 to stay current with our updates.

Version 0.11.2 is here with new models, tools, improvements, and bug fixes for a smoother experience. Here’s what’s new:

🚀 New Features

⚙️ Enhancements

  • Added an inverted chat color theme toggle by @fujita-h (#10558).
  • Made CODE_EXECUTION_TIMEOUT configurable via .env by @lzzzzzzzzz (#10688).
  • Enabled up/down arrow key navigation for group questions, improving debugging by @dajianguo (#10793).

🛠️ Bug Fixes

Enjoy these updates and streamline your workflows with the new features and fixes. Happy coding!


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 release branch:

    git checkout 0.11.2
  3. Update Python dependencies:

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

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


What's Changed

New Contributors

Read more

v0.11.1

11 Nov 10:33
9550b88
Compare
Choose a tag to compare

✨ What's New in v0.11.1? ✨

Important

Heads up! Starting with the next minor version, we'll no longer support Python 3.10. Make sure to upgrade to Python 3.11 or 3.12 to stay current with our updates.

We're back with some fresh features and crucial fixes in version 0.11.1. Let’s dive in and see what's changed:

🚀 New Features

  • Vanna AI Base URL Configuration: You can now configure the base URL for VannaAI, allowing more flexibility in routing requests by @BenjaminX in #10294.

  • Anthropic Claude-3-5-Haiku Support via OpenRouter: Get ready to leverage the capabilities of Anthropic’s Claude-3-5-Haiku by @infinitnet in #10331.

  • GitLab Tools Integration: Amp up your DevOps with the integration of GitLab tools by @wlrnet in #10407.

  • Video Understanding and CogVideo Tool Support: Your LLM can now understand videos, and with the new CogVideo tool, process them too! Thanks to @hjlarry in #9828 and #10456.

  • Tool Search Enhancement: You can now search for tools using the provider’s name, making it easier to find exactly what you need by @hjlarry in #10518.

  • Podcast Generator Tool Enhancements: Set the OpenAI base URL when using our podcast generation tool, thanks to @XiaoLey in #10496 and #10517.

⚙️ Enhancements

  • SSRF Request Timeout Configuration: New configuration options to customize SSRF request timeout for better security by @gubinjie in #10292.

  • PNG, GIF, and WebP Support: More image formats for your media needs by @ZuzooVn in #7947.

  • Iteration Node Enhancements: Parallel mode now maintains correct output order, and single run time per iteration is supported by @Nov1c444 in #10323 and #10512.

  • Celery Worker Log Format: Logs now respect the LOG_FORMAT environment variable, making logs cleaner and more consistent by @liuhaoran1212 in #10016.

🛠️ Bug Fixes

  • ComfyUI Tool Prompt Fix: Special prompts are back in action for the ComfyUI tool by @hjlarry in #10307.

  • Workflow and Node Fixes: Various workflow-related bugs squashed, specifically handling optional values in workflow start nodes and ensuring no failures when variables go missing by @laipz8200 and @zxhlyh in #10471 and #10529.


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 release branch:

    git checkout 0.11.1
  3. Update Python dependencies:

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

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


What's Changed

Read more

v0.11.0

05 Nov 09:55
7f583ec
Compare
Choose a tag to compare

🌟 What's New in v0.11.0? 🌟

Welcome to version v0.11.0, where we're elevating your workflow and model capabilities with new features and improvements designed to empower your technical operations.

⚡ Workflow Improvement

  • ✨ Shining Spotlight: Iteration Node Parallel Mode - Elevate your productivity with the Iteration Node now supporting parallel processing, complete with enhanced error handling. This ensures smoother and more efficient workflows, crafted by @Nov1c444 in #9493.
  • Support for Forms in Conversations: Streamline your dialogue capabilities with integrated form support, thanks to @crazywoola in #9980.
  • Configurable Workflow File Upload Limit: Now you can cap workflow file uploads to better control system resources, a thoughtful addition by @laipz8200 in #10176.
  • PPTX Data Extraction with Unstructured API: Streamline your PPTX data parsing with the latest unstructured API support from @laipz8200 in #10180.
  • Prompt Generators with LLM Indicators: Easily craft prompts with added contextual insights from LLM indicators, thanks to @Kota-Yamaguchi in #10187.

📚 Knowledgebase Features

  • Knowledge API Update: The original Dataset Hit Testing API is updated to Retrieve Chunks from a Knowledge Base. Users can access Dify's Knowledge as an independent service through this API, thanks to @JohnJyong in #10102.
  • Optimized Full-Text and YAML Support: Retrieve top-k results in Elasticsearch and utilize YAML in document nodes, thanks to enhancements by @JohnJyong and @hwzhuhao.

🔍 Providers and Models

  • xAI Model Provider: Broaden your options with the new xAI provider, equipped by @hjlarry in #10272.
  • Claude 3.5 Haiku by Anthropic: Expand your toolkit with Anthropic's latest model, "claude-3-5-haiku-20241022," offering new creative AI opportunities, added by @mazyu36 in #10285.
  • Ernie-4.0-turbo-128k LLM: Embrace the power of Wenxin's latest LLM offering, courtesy of @yaohongfenglove in #10135.
  • VESSL AI OpenAI API Compatibility: Integrate effortlessly with VESSL AI models, thanks to @larcane97 in #9474.
  • GPUStack Model Provider: Meet your compute-intensive needs with the GPUStack provider, introduced by @gitlawr in #10158.
  • Claude 3.5 Haiku for Bedrock: Unleash creative AI with Amazon Bedrock's integration of "claude-3-5-haiku-20241022," contributed by @mazyu36 in #10265.

🗄️ VDB Integrations

  • Couchbase VDB Integration: Unlock the power of Couchbase as a vector database, a seamless addition by @roadgoat19 in #6165.
  • OceanBase as a Vector Store Option: Explore OceanBase for advanced vector management, brought to you by @powerfooI in #10010.
  • Lindorm as a Vector Store Option: Discover Lindorm for enhanced vector storage capabilities, from @AlwaysBluer in #10202.

🔧 Fixes & Enhancements

  • Async Preloading for Fast Launches: Speed up your server starts with async preloading, a game-changer from @bowenliang123 in #9146.
  • Robust Rerank & Retrieval Validation: Fine-tune your searches with enhanced validation integrity, cleverly optimized by @zxhlyh and @JohnJyong.
  • Content-Type Header Flexibility: Say goodbye to case sensitivity issues, thanks to a vital fix by @fujita-h in #9961.
  • Secure Input & Index Handling: Ensure input reliability and indexing with these vital fixes from @JohnJyong and @laipz8200.
  • Reliable Conversation Variables: Keep your data flows consistent and accurate with improvements by @hjlarry in #10034.

📄 Documents

  • Added: README_PT.md in Brazilian Portuguese: Expand your documentation reach with a Brazilian Portuguese version, thanks to @lc-rezende in #10026.

This release makes our platform more robust and versatile, catering to your needs for a more efficient and feature-rich environment. Upgrade now to explore the possibilities! 🚀


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 release branch:

    git checkout 0.11.0
  3. Update Python dependencies:

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

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


What's Changed

  • fix: button rendering when using streaming by @crazywoola in #9957
  • add top_k for es full text search by @JohnJyong in #9963
  • fix: Fix page logout issue due to refresh-token by @WTW0313 in #9970
  • chore: Enable tencent cos test to run by @yaoice in #9971
  • fix: allow external knowledge api use simple host by @hjlarry in #9966
  • Feat/support form in conversation by @crazywoola in #9980
  • feat: couchbase integration by @roadgoat19 in #6165
  • fix: gemini model use some tools raise error by @hjlarry in #9993
  • add tidb spend limit config by @JohnJyong in #9999
  • Added OceanBase as an option for the vector store in Dify by @powerfooI in #10010
  • chore: add tidb-on-qdrant configuration in env and docker-compose file by @hwzhuhao in #10015
  • Fix content-type header case sensitivity by @fujita-h in #9961
  • fix(llm-node): handle NoneSegment variables properly by @laipz8200 in #9978
  • fix: conversation variable may not change in the answer node by @hjlarry in #10034
  • Added: README_PT.md in Brazilian Portuguese by @lc-rezende in #10026
  • Fix #10023 : error in docker-compose.yaml about TIDB_ON_QDRANT_CLIENT… by @mabuchs in #10025
  • chore: Add aliyun oss tests by @yaoice in #10031
  • add rerank check when doing mutil-retrieval by @JohnJyong in #9998
  • fix update_by_api batch field issue by @JohnJyong in #10001
  • chore: improve validation and handler of logging timezone with TimezoneName by @bowenliang123 in #9595
  • add PROMPT_GENERATION_MAX_TOKENS and CODE_GENERATION_MAX_TOKENS in docker enviromment by @XiaoLey in #10040
  • feat: add YAML type in document extractor node by @hwzhuhao in #9997
  • feat: /conversations api response add 'update_at' field,and update api docs add sort_by parameter by @rchlz in #10043
  • chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value by @hwzhuhao in #10038
  • fix: resolve the incorrect model name of hunyuan-standard-256k by @hwzhuhao in #10052
  • chore: mount config file of sandbox by @hjlarry in #8576
  • fix(workflow): refine variable type checks in LLMNode by @laipz8200 in #10051
  • fix: fix poetry install command in devcontainer by @22mSqRi in #9507
  • fix: prevent onChange during IME composition by @Fog3211 in #10059
  • chore: Set file size limits for video and audio uploads from docker env by @fujita-h in #10063
  • Fixed the issue where recall the knowledge base in the iteration of the workflow and report errors when executing by @wangiii in #10060
  • fix the typos in the hit testing template by @sacryu in #10072
  • Revert "chore: improve validation and handler of logging timezone with TimezoneName" by @crazywoola in #10077
  • fix azure chatgpt o1 parameter error by @charli117 in #10067
  • improve: significantly speed up the server launching time by async preloading tool providers by @bowenliang123 in #9146
  • chore: update type definition to resolve lint error in Base usage at text-editor.tsx by @Kota-Yamaguchi in #10083
  • build: update docker login action by @AkaraChen in #10050
  • feat: enhance comfyui workflow by @hjlarry in #10085
  • chore: remove an unnecessary link by @hjlarry in #10088
  • fix: view logs in prompt, no response when clicked by @beginnerZhang in #10093
  • refactor(version): simplify version comparison logic by @laipz8200 in #10109
  • chore: save uploaded file extension as lower case by @hjlarry in #10111
  • feat(app_dsl_service): enhance...
Read more