Skip to content

v0.15.2

Latest
Compare
Choose a tag to compare
@laipz8200 laipz8200 released this 22 Jan 08:41
· 3 commits to main since this release
1e73f63

✨ What’s New in v0.15.2? ✨

The v0.15.2 release is all about squashing bugs, unlocking new capabilities, and generally making things run smoother. Here's a peek at what's changed:

🚀 New Features

  • Minimax-Text-01 Support: Added support for the new Minimax-Text-01 model by @AAlexDing in #12763.
  • Gemini-2.0-Flash-Thinking-Exp-01-21: New experimental model added by @jiandanfeng in #12924.
  • Doubao 1.5 Model Series: Support for Doubao 1.5 models in our tooling setup by @sinomoe in #12935.
  • Profile Avatar Customization: You can now change your profile avatar and keep it fresh, thanks to @miya in #12642.
  • Environment Configuration for Chunk Length: Configure document chunk length through environment variables by @iamjoel in #12925.

🛠️ Enhancements

  • Credential Extraction Logic: Enhanced credential extraction logic for better configurability by @fujita-h in #12853.
  • Document Chunk Setting Updates: Now possible to update chunk settings for existing documents by @kurokobo in #12833.
  • Full-Text Search in Milvus: You can now configure full-text search capabilities within Milvus by @JohnJyong in #12930.

🐞 Bug Fixes

  • Rerank Model Bug: Fixed the rerank model and switch issues across various tools by @WTW0313 in #12721 and @luckylhb90 in #12774.
  • Clipboard WriteText on HTTP: Resolved issues with clipboard text writing under the HTTP protocol by @le0zh in #12936.
  • OpenAI Bad Request Error: Cleaned up issues causing bad request errors on OpenAI o1 endpoint by @k-zaku in #12839.
  • ReAct Inference Error: Fixed error logging issue when ReAct inference mode is enabled by @jiandanfeng in #12920.
  • Agent Log Formatting: Tweaked DeepSeek's API response handling to fix format issues by @jiandanfeng in #12747.

🧑‍💻 Developer Note

Note

Poetry Upgrade Alert: Heads up, devs! We've upgraded to Poetry 2.x from 1.x. This upgrade is aimed at making your package management smoother and more efficient, so make sure to update your local setup and check out what's new in Poetry 2.x by @bowenliang123 in #12369.

So, what's next? Get this version in your dev arsenal and explore these cool upgrades in Dify! As always, dive in, have fun, and let us know your thoughts.


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.15.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.15.1...0.15.2