github langgenius/dify 0.15.1
v0.15.1

one day ago

🚀 What’s New in v0.15.1? 🚀

Here's a peek into what the new 0.15.1 release brings to the table:

🎉 New Features

  • Sonnet 3.5 Document Support in OpenRouter: Leverage the new document feature via OpenRouter by @infinitnet in #12444. This is going to enhance your document management capabilities.
  • ElasticSearch for Japanese: Support for Japanese language ElasticSearch queries has been added, thanks to @fujita-h in #12194.
  • Milvus Full Text Search: Expanded Milvus support to include full-text search capability by @kgpp34 in #11430.
  • New API Endpoint: We've added a GET upload file API endpoint for the dataset service by @euxx in #11899.
  • Opik Tracking Tool Integration: Introducing integration with the Opik Tracking tool for advanced monitoring by @Lothiraldan in #11501.
  • Knowledge API ToC: Added a table of contents to the Knowledge API documentation to improve navigation by @euxx in #12688.

🛠️ Enhancements

  • Bedrock Retrieve Tool: Update includes hybrid search type and additional support by @ybalbert001 in #12446.
  • Workflow Interaction: Now, you can actually see the running status of workflows courtesy of @crazywoola in #12531.
  • Knowledge Admin Role Removal: Cleaned up roles by removing the unnecessary knowledge admin role, courtesy of @JohnJyong in #12450.

🐛 Bug Fixes

  • URL Variables: Fixed a critical bug where URLs containing variables were not functioning properly by @hjlarry in #12452.
  • Remote URL Fallback: Added a fallback to remote_url to eliminate errors when url isn't provided thanks to @fujita-h in #12455.
  • Docker-Compose Sync: Resolved reverse sync inconsistencies for docker-compose-template.yaml by @fujita-h in #12509.
  • Milvus Same Chunk Deadlock: Fixed an issue causing deadlocks when inserting the same chunk by @huangzhuo1949 in #12502.
  • Costs Calculation: Fixed sum costs returning incorrect values on the overview page by @douxc in #12534.
  • Workflow Node Processing: Corrected the answer node stream processing in conditional branches by @Kevin9703 in #12510.

These numerous bug fixes and enhancements make v0.15.1 more robust, efficient, and flexible. Keep those feedback channels open; we always want to hear how these changes help or hinder your workflows!


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

Don't miss a new dify release

NewReleases is sending notifications on new releases.