# Dify 1.8.0 — Release & Upgrade Intelligence
- **Product:** Dify (https://dify.ai)
- **Version:** 1.8.0
- **Released:** Aug 27, 2025
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/dify/updates/1.8.0/

## Executive Summary (TL;DR)
Dify 1.8.0. Source highlight: <img width="994" height="570" alt="Image" src="https://github.com/user-attachments/assets/491002a7-02e9-4fa4-98ea-9c9c5ba2b940" />

## New Features
- **MCP Support with OAuth**: Added Model Context Protocol (MCP) support for resource discovery with OAuth authentication, expanding integration possibilities. Kudos to @CodeSpaceiiii! (#24223)
- **Document Sorting in Knowledge Base**: Added sorting functionality for document status in the Knowledge base, improving document management. Thanks to @jubinsoni! (#24252)
- **Document Name Tooltips**: Added helpful tooltips to document names in lists for better visibility. Thanks to @aopstudio! (#24467)
- **Redis SSL/TLS Authentication**: Added support for Redis SSL/TLS certificate authentication for enhanced security. Thanks to @laipz8200! (#23624)
- **Swagger Authorization**: Added authorization configuration support to Swagger documentation. Thanks to @hjlarry! (#24518)
- **Comprehensive Test Coverage**: Added testcontainers-based integration tests for multiple services including workflow app, website, auth, conversation, and more. Massive thanks to @NeatGuyCoding for this extensive testing effort!

## Improvements
- **Delete Avatar Functionality**: Users can now delete their avatars with a confirmation modal for safety. Thanks to @Zhehao-P! (#24099)
- **Extensible Goto-Anything Commands**: Improved goto-anything commands with an extensible architecture for better navigation. Thanks to @ZeroZ-lab! (#24091)
- **Auto-login After Setup**: Implemented secure auto-login after admin account setup. Thanks to @laipz8200! (#24395)
- **Agent Node Token Counting**: Properly separated prompt and completion tokens in agent node token counting. Thanks to @laipz8200! (#24368)
- **User Enumeration Prevention**: Standardized authentication error messages to prevent user enumeration attacks. Thanks to @laipz8200! (#24324)
- **Async WorkflowRun/WorkflowNodeRun Repositories**: Implemented asynchronous repositories for workflow execution, delivering dramatic performance improvements. This architectural change enables non-blocking operations during workflow runs, with early testing showing execution times nearly halved in typical workflows. This optimization particularly benefits complex workflows with multiple nodes and parallel operations. Thanks to @xinlmain for this game-changing performance enhancement! (#20050)

## Bug Fixes
- **Database Performance**: Fixed major performance issue by removing provider table updates on every message creation. Thanks to @QuantumGhost! (#24520)
- **Authentication Error Handling**: Fixed login error handling by properly raising exceptions instead of returning. Thanks to @laipz8200! (#24452)
- **OAuth Redis Compatibility**: Resolved OAuth Redis compatibility issues. Thanks to @Mairuis! (#23959)
- **HTTP Request Node File Access**: Fixed file access from Start Node with remote URLs in HTTP Request Node. Thanks to @dlmu-lq! (#24293)
- **Loop Exit Conditions**: Fixed loop exit condition to accept variables from nodes inside loops. Thanks to @baonudesifeizhai! (#24257)
- **Number Input in Tool Configure**: Fixed number input behavior in agent node tool configuration. Thanks to @Stream29! (#24152)
