Download Latest Version v1.7.1 source code.tar.gz (18.0 MB)
Email in envelope

Get an email when there's a new version of Dify

Home / 1.5.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-02 12.0 kB
v1.5.1 source code.tar.gz 2025-07-02 17.7 MB
v1.5.1 source code.zip 2025-07-02 20.9 MB
Totals: 3 Items   38.6 MB 1

🎉 What’s New in v1.5.1? 🎉

In this release, we've packed a punch with a host of new features, enhancements, and fixes designed to make your experience smoother and more intuitive.

🚀 New Features

  • Knowledge Basis Indexing: Introduced KB indexing by @Gevtolev in [#20868]. It optimizes the access and retrieval speeds for your data treasures.
  • Model Provider Validation: Added model provider validation in the API by @khoazero123 in [#21582]. Ensure your models are always in check.
  • Dynamic Select Parameter: Implemented DYNAMIC_SELECT for dynamic options in parameter entities by @Yeuoly in [#21425]. Say goodbye to static param limits!
  • Structured Output Plugin: Now invoke LLMs with structured output via a new API endpoint by @Yeuoly in [#21624].
  • Adaptive Panel Width Management: A refactor to add adaptive width observer for panels by @ZeroZ-lab in [#21576].
  • New Plugin Enhancements: Default value autofill in plugin settings by @leslie2046 in [#21669].

🌟 Enhancements

  • Front-End UX: Improved tooltip for workflow run node names and input restrictions by @CorrectRoadH in [#21564] and [#21562].
  • UI and Style Tweaks: Various style fixes and enhancements, including decreasing navbar z-index for clarity by @douxc in [#21612].
  • Langfuse Trace Readability: Enhanced the clarity of Langfuse traces, making debugging and performance tracking clearer by @DavideDelbianco in [#21777].

🛠️ Bug Fixes

  • Various UI and API Fixes: Addressed pop logic in tool selectors, variable inspection, and numerous API-related bugs to ensure a smoother experience.
  • Fixed incorrect doc links and context insertion in prompt editors by @iamjoel and @zxhlyh.
  • Resolved false token numbers and auto-increment errors in question-answer models by @NeatGuyCoding in [#21574].
  • Fixed node validation, hover effects, and modal presentations to fully support your workflows by multiple contributors.

  • Error Handling & Reset Issues:

  • Enhanced error handling in code interpreters and fixed system variable resets by @quicksandznzn and @iamjoel.
  • Adjusted reset system variable to avoid server crashes, thanks to @QuantumGhost in [#21604].

  • Integration and Language Support:

  • Improved integrations with services like Notion and document detail services by @baonudesifeizhai and others.
  • Fixed dollar-sign escaping in LaTeX for smoother document processing by @ShadowJobs in [#21796].

This latest release blends a blend of functional enrichment and optimized usability across the board. Dive in and make the most of these updates - we can't wait to see what you build next! Happy developing! 🎨🛠️


Upgrade Guide

Docker Compose Deployments

  1. Back up your customized docker-compose YAML file (optional)

bash cd docker cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak

  1. Get the latest code from the main branch

bash git checkout main git pull origin main

  1. Stop the service. Please execute in the docker directory

bash docker compose down

  1. Back up data

bash tar -cvf volumes-$(date +%s).tgz volumes

  1. Upgrade services

bash docker compose up -d

Source Code Deployments

  1. Stop the API server, Worker, and Web frontend Server.

  2. Get the latest code from the release branch:

bash git checkout 1.5.1

  1. Update Python dependencies:

bash cd api uv sync

  1. Then, let's run the migration script:

bash uv run flask db upgrade

  1. Finally, run the API server, Worker, and Web frontend Server again.

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/1.5.0...1.5.1

Source: README.md, updated 2025-07-02