Skip to content

Releases: langgenius/dify

v0.14.2

23 Dec 11:18
e88ea71
Compare
Choose a tag to compare

✨ What’s New in v0.14.2? ✨

We’re thrilled to announce the release of v0.14.2, packed with new features and critical enhancements. Here’s everything new in this update:

🚀 New Features

retry
  • Workflow Retry Functionality: We've enhanced workflow resilience with a retry feature by @zxhlyh. Your nodes will make repeat attempts if they face execution errors, minimizing disruptions.

  • Order Support in Models: Now you can specify the order between text and files when using models like Gemini and Claude, thanks to the work of @laipz8200. This gives you precise control over data flow.

  • Azure GPT-4o-2024-11-20 Model: Thanks to @agungbesti, this powerful model is now part of our lineup, offering advanced capabilities for your needs.

  • Gemini-2.0-flash-thinking-exp-1219: Explore this cutting-edge model brought to you by @hjlarry—designed to enhance your application capabilities.

✨ Enhancements

  • HTTP Request Node File Type Detection: Improved by @tancheng33 to ensure better handling of file uploads.

  • Memory Optimization: Reduced memory usage from 800+ MB to 500+ MB, thanks to the optimizations by @yihong0618.

  • Partial Success Status in App Logs: With the help of @Nov1c444, we’ve introduced a new log metric to capture partial successes across app operations.

  • Workflow Parallel Depth Limit Configuration: Gain more control over concurrency in your workflows with this new setting by @laipz8200.

We owe a huge thank you to all the contributors for their hard work and dedication. Your continuous support and input drive our improvement.

As always, keep the feedback coming, and happy building with Dify! 🚀

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

Read more

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