Download Latest Version v1.7.0 - Tool OAuth _ Plugin Auto-Upgrade Enhanced source code.tar.gz (18.0 MB)
Email in envelope

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

Home / 1.7.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-23 27.8 kB
v1.7.0 - Tool OAuth _ Plugin Auto-Upgrade Enhanced source code.tar.gz 2025-07-23 18.0 MB
v1.7.0 - Tool OAuth _ Plugin Auto-Upgrade Enhanced source code.zip 2025-07-23 21.4 MB
Totals: 3 Items   39.4 MB 4

🌟 What’s New in v1.7.0? 🌟

Version 1.7.0 is packed with features that expand our app's flexibility and enhance performance. Here's what we're bringing to the table:

🏗️ Major Feature: OAuth Support in Tool Plugins

Tool plugins now support OAuth 2.0 authentication, allowing users to securely connect with third-party services without manually managing API keys. This includes refresh token support for maintaining long-term authentication sessions. (#22550 thanks @Mairuis @zxhlyh ) image

🏗️ Major Feature: Plugin auto upgrade strategy

Plugins can now be automatically updated with configurable upgrade policies and rollback mechanisms. The system monitors plugin repositories and performs seamless upgrades while ensuring compatibility with your Dify version. (#19758 thanks @RockChinQ @iamjoel ) image

⚡ Enhancements

  • Citations and Attributions: Agent Nodes now support features for citing and attributing sources, care of @chiehw. [#18558]
  • Plugin Deprecation Notice: Stay ahead of the curve with deprecation notices for obsolete plugins, introduced by @RockChinQ. [#22685]
  • API Key Authentication with Query Parameter: Now supports even more streamlined security methods with an API key in query parameters, courtesy of @ACAne0320. [#21656]
  • Audio Configuration UI: Customize your app's audio settings right from the interface, introduced by @marcelodiaz558. [#21957]
  • Variable Suggestions: Suggested questions can now utilize variables by @le0zh. This brings contextual awareness to another level. [#17340]
  • Drag-and-Drop for Workflows: Start node variables and code node variables are now drag-and-drop enabled, simplifying workflow creation as seen in @Minamiyama's contributions. [#22150] [#22127]
  • Custom Max Active Requests per App: Manage traffic with custom settings for your app, brought by @qiaofenlin. [#22073]
  • Optional OpenTelemetry (OTel) Endpoint Configuration: Ensure the best observability practices with this addition from @hieheihei. [#22492]
  • RFC 5322 Email Validation: Ensure compliance and smarter email validation by @NeatGuyCoding. [#22540]
  • Dynamic Imports for Performance: Boost your app's performance with dynamic component imports, an intelligent improvement by @WTW0313. [#22614]
  • External Trace ID: Maintain traceability across systems with @qiaofenlin's external trace ID propagation. [#22623]

🐛 Bug Fixes

  • Omitting Optional Parameters: Clean out unnecessary None settings thanks to @ACAne0320. [#22171]
  • Docker Networking Fix: Fix Docker file URL networking issues for plugins, resolved by @krikera. [#21382]
  • Plugin Installation: A persistent install hitch was ironed out by @Garden12138. [#22156]
  • Model Selector and App Selector: Problems with selectors were eliminated by @hjlarry. [#22291]
  • Session Management: Fast and reliable infrastructure with open session management by @Colstuwjx. [#22306]
  • Metadata and File Processing: Smarter document filtering and error handling fixed by @helojo and others. [#19305]

⚙️ Improvements

  • User Experience: Improved Opik workflow trace span names, better tooltip UX, and character limitations handled by various contributors (@quicksandznzn, @kerwin612, and @kushagra21-afk). [#22356] [#21383] [#22679]
  • Batch Processing and Vector Indexing: Strengthened backend optimizations for faster and more reliable operations from talents like @issac2e and @jubinsoni. [#22726] [#22661]
  • Repo Configurations: Configure repository implementations with ease thanks to @laipz8200's efforts. [#21458]
  • UUIDv7 Implementation: Add unique identifiers in style with SQL and Python implementations by @QuantumGhost. [#22058]

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.7.0

  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.6.0...1.7.0

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