Skip to content

v1.7.0 - Tool OAuth & Plugin Auto-Upgrade Enhanced

Compare
Choose a tag to compare
@Nov1c444 Nov1c444 released this 23 Jul 10:52
· 1084 commits to main since this release
1.7.0
7ec94eb

🌟 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


Upgrade Guide

Docker Compose Deployments

  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. 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 the API server, Worker, and Web frontend Server.

  2. Get the latest code from the release branch:

    git checkout 1.7.0
  3. Update Python dependencies:

    cd api
    uv sync
  4. Then, let's run the migration script:

    uv run flask db upgrade
  5. Finally, run the API server, Worker, and Web frontend Server again.


What's Changed

New Contributors

Full Changelog: 1.6.0...1.7.0