github langgenius/dify 0.13.1
v0.13.1

latest releases: v0.8.3-fix1, 0.14.1, 0.14.0...
15 days ago

✨ 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

Don't miss a new dify release

NewReleases is sending notifications on new releases.