Skip to content

v0.7.1

Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 19 Aug 13:26
· 1011 commits to main since this release
3d27d15

✨ What’s New in v0.7.1? ✨

Hey everyone, we’re excited to bring you version 0.7.1 of our platform! This release is packed with new features, enhancements, and crucial fixes. Let’s dive in:

🚀 New Features

  • Custom App Icons: Personalize your apps with custom icons by @xuzuodong in #7196.

    Screenshot 2024-08-19 at 2 36 27 PM
  • OpenAI Structured Outputs Support: Now supporting OpenAI's Structured Outputs by @hjlarry in #7258.

  • Dify Sandbox v0.2.6: Install any Python package you want by @Yeuoly in #7410.

🧠 Model Updates

  • ChatGPT-4o-Latest: Added the latest ChatGPT-4o model by @hjlarry in #7289.

🛠️ New Tools

  • Jina Tokenizer Tool: Added a new tokenizer tool by @hjlarry in #7375.
  • GitLab Tool: Integrated GitLab tool by @wlrnet in #7329.

⚙️ Enhancements

  • Xinference Auth System: Enhanced support for Xinference's authentication system by @ethan-fly in #7369.
  • Ruff Formatter: Introduced Ruff Formatter for better code formatting by @laipz8200 in #7291.
  • Ruff Update: Updated Ruff from 0.5.x to 0.6.x by @bowenliang123 in #7384.
  • Rearranged API Python Dependencies by @bowenliang123 in #7391

🛠️ Bug Fixes

  • Rerank Mode Fix: Fixed missing rerank_mode when converting to DatasetEntity by @optionals in #7269.
  • Tool Test Modal: Fixed issue where parameters couldn’t be input in tool test modal by @wellCh4n in #7281.
  • Markdown Conversion: Fixed file to markdown conversion issue by @laipz8200 in #7293.
  • Image Resizing: Dify editor now supports image resizing by @crazywoola in #7296.
  • Conversation Variables: Added conversation variables in app DSL service by @laipz8200 in #7304.
  • Node and Edge Issues: Fixed inability to add node and change the edge by @aixgeek in #7303.
  • Default Values: Fixed missing default value of type array object in conversation variable modal by @JzoNgKVO in #7309.
  • Elasticsearch Docker Env: Fixed docker environment for Elasticsearch by @QIN2DIM in #7270.
  • Run History: Corrected iteration times number in run history by @iamjoel in #7318.
  • Keywords Fix: Fixed keywords issue by @crazywoola in #7357.
  • Workflow Variables: Added conversation variable to workflow by @laipz8200 in #7257.

🌐 Internationalization

  • Japanese Translation: Added JP translation for variable aggregator by @HanqingZ in #7277.
  • Fixes in Japanese Translations: Corrected translations of secret values by @yukyu30 in #7279.
  • General i18n Updates: Various internationalization updates by @ZuzooVn in #7312.

That’s all for this release! As always, thank you for your contributions and feedback. Keep building and innovating!


Upgrade Guide

Docker compose deployments

Warning

The docker-compose.yaml has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.

  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:

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

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


What's Changed

New Contributors

Full Changelog: 0.7.0...0.7.1