You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Dify community! We're excited to bring you version 1.8.0, packed with significant improvements across the board - from enhanced security and performance optimizations to a revamped UI and powerful new workflow features. Let's dive into what's new!
🚀 New Features
Workflow & Agent Capabilities
Multi-Model Credentials System: Implemented a comprehensive multi-model credentials system with new database tables, enabling more flexible model management. Thanks to @hjlarry! (feat: add multi model credentials #24451)
MCP Support with OAuth: Added Model Context Protocol (MCP) support for resource discovery with OAuth authentication, expanding integration possibilities. Kudos to @CodeSpaceiiii! (Mcp support resource discovery #24223)
Document Sorting in Knowledge Base: Added sorting functionality for document status in the Knowledge base, improving document management. Thanks to @jubinsoni! (sort on display status #24252)
Dark Mode Improvements: Multiple dark mode fixes including backdrop-blur for plugin dropdowns, hover button contrast, and embedded modal icons. Thanks to @lyzno1 and team!
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! (feat: Add an asynchronous repository to improve workflow performance #20050)
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!
Type Safety Improvements: Major improvements to type annotations and static type checking across the codebase. Thanks to @Gnomeek, @hyongtao-code, and @asukaminato0721!
Translation Synchronization: Better synchronization of translations across all supported languages
This release represents a major step forward in Dify's evolution, with substantial improvements to performance, security, and developer experience. We're particularly excited about the enhanced workflow capabilities and the comprehensive testing infrastructure that will help us maintain high quality standards going forward.
Thank you to all contributors who made this release possible! Your dedication to improving Dify continues to drive us forward.
Happy building with Dify 1.8.0! 🚀
Upgrade Guide
Docker Compose Deployments
Back up your customized docker-compose YAML file (optional)
cd docker
cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
Get the latest code from the main branch
git checkout main
git pull origin main
Stop the service. Please execute in the docker directory
docker compose down
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
docker compose up -d
Source Code Deployments
Stop the API server, Worker, and Web frontend Server.
Get the latest code from the release branch:
git checkout 1.8.0
Update Python dependencies:
cd api
uv sync
Then, let's run the migration script:
uv run flask db upgrade
Finally, run the API server, Worker, and Web frontend Server again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🎉 Dify v1.8.0 Release Notes 🎉
Hello, Dify community! We're excited to bring you version 1.8.0, packed with significant improvements across the board - from enhanced security and performance optimizations to a revamped UI and powerful new workflow features. Let's dive into what's new!
🚀 New Features
Workflow & Agent Capabilities
UI/UX Enhancements
API & Backend
🐛 Bug Fixes
Critical Fixes
Workflow Improvements
UI/UX Fixes
🔒 Security Enhancements
⚡ Performance & Infrastructure
Workflow Performance Breakthrough
Database Optimizations
Testing Infrastructure
Docker & Deployment
📚 Documentation
🧹 Code Quality & Refactoring
🌐 Internationalization
This release represents a major step forward in Dify's evolution, with substantial improvements to performance, security, and developer experience. We're particularly excited about the enhanced workflow capabilities and the comprehensive testing infrastructure that will help us maintain high quality standards going forward.
Thank you to all contributors who made this release possible! Your dedication to improving Dify continues to drive us forward.
Happy building with Dify 1.8.0! 🚀
Upgrade Guide
Docker Compose Deployments
Back up your customized docker-compose YAML file (optional)
Get the latest code from the main branch
Stop the service. Please execute in the docker directory
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
Source Code Deployments
Stop the API server, Worker, and Web frontend Server.
Get the latest code from the release branch:
Update Python dependencies:
cd api uv sync
Then, let's run the migration script:
Finally, run the API server, Worker, and Web frontend Server again.
What's Changed
ModelProviderFactory
by @hyongtao-code in Chore: remove unused var inModelProviderFactory
#23690if self.runtime is None:
check by @hyongtao-code in Remove the secondif self.runtime is None:
check #24171get_builtin_provider
withget_plugin_provider
by @hyongtao-code in Fix: replaceget_builtin_provider
withget_plugin_provider
#24191h-[1px]
withh-px
to unify the writing format of Tailwind CSS by @rookie-orange in style: replaceh-[1px]
withh-px
to unify the writing format of Tailwind CSS #24146json.dumps()
by @hyongtao-code in Fix incorrect exception reference forjson.dumps()
#24329DocumentBatchIndexingEstimateApi
by @hyongtao-code in Chore: remove dead var inDocumentBatchIndexingEstimateApi
#24497array[boolean]
constant in loop node by @QuantumGhost in fix(api): fix incorrectly handling ofarray[boolean]
constant in loop node #24619New Contributors
h-[1px]
withh-px
to unify the writing format of Tailwind CSS #24146Full Changelog: 1.7.2...1.8.0
This discussion was created from the release v1.8.0 - Async workflows meet multi-model management with OAuth-powered integrations..
Beta Was this translation helpful? Give feedback.
All reactions