Skip to content

v0.10.0

Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 21 Oct 10:54
· 740 commits to main since this release
ca21c28

Important

If you have a Basic Chatbot or Text Generator App with the ‘Vision’ feature enabled, it will be necessary to republish the application following this update.

🎉 What's New in v0.10.0? 🎉

Hello to all the innovators out there! We're excited to unveil v0.10.0, a powerhouse update designed to enhance your flexibility and efficiency. Let’s delve into the highlights:

features

🌟 Enhanced Multi-Modal Support

This central feature boosts your workflows and chatflows with greater flexibility:

  • Advanced File Handling: Nodes like START, LLM, HTTP Request and IF-ELSE now seamlessly manage "File" types, simplifying the processing of various file formats within your workflows.

  • New Functional Nodes:

    • Document Extractor: Converts documents into text effortlessly, making data extraction straightforward.
    • List Operator: Empowers you with operations to filter, sort, and limit arrays, enhancing data control and manipulation.
  • Efficient Array Handling: Directly use array[string] and array[number] in LLM prompts for more agile data interactions.

Thanks to the tireless efforts of @zxhlyh in #9526 and @laipz8200 in #8818, this feature marks a significant leap forward.

Read more: Introducing Dify Workflow File Upload: A Demo on AI Podcast

✉️ Registry and Login with Email

Simplifying user access with:

  • Email Registration & Login: Offers a secure, straightforward access method for users, optimizing the onboarding process. Shoutout to @douxc in #8119 and @ZhouhaoJiang in #8120.

🚀 Additional Features

  • Dataset Recall Testing API: Gain insights into data retrieval efficiency with this new API, brought to you by @gubinjie in #9300.
  • Fireworks Model Integration: Access Qwen2.5 72B Instruct models for expanded AI capability, thanks to @yaoice in #9333 and #9340.

🛠️ Enhancements

  • Storybook Component Testing: Streamlined UI testing and visualization, expertly structured by @xuzuodong in #9324.
  • Timezone Conversion Enhancements: Enhanced precision and usability with support in the Time Tool, thanks to @hwzhuhao in #9393.

🔧 Fixes

  • Azure OpenAI Fixes: Resolved key issues with max token calculations for improved performance, managed by @somethingwentwell in #9326.
  • Endpoint Functionality Fixes: Strengthened the stability of the db-pool-stat endpoint, addressed by @hwzhuhao in #9478.

v0.10.0 brings a wealth of innovations to simplify and elevate your workflow capabilities. Dive in and explore these enhancements to harness the full potential of AI-driven tasks. Your feedback is pivotal, so keep it coming. Happy building! 🚀


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

New Contributors

Full Changelog: 0.9.2...0.10.0