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

## Executive Summary (TL;DR)
Dify 1.4.0. Source highlight: 🌟 What's New in v1.4.0? 🌟

## New Features
- add MAX_TASK_PRE_CHILD for celery
- feat: clean up message_files table first before proceeding to find orphaned files
- feat: support access milvus with token
- feat: add AWS Managed IAM auth for OpenSearch vector DB
- add Accept-Ranges header for audio/video files
- feat(logAndAnn): add control option for question editing feature

## Improvements
- chore: Improve FILES_URL Configuration Comments
- chore: improve diagram picture of docker compose
- Enhance Code Consistency Across Repository with `.editorconfig`
- chore: required pip and performance improvment in mypy checks
- chore: enhance dev script robustness by determining the script directory
- Revert "perf: optimizing db WorkflowAppLog index"

## Bug Fixes
- **Enhanced Redis Management**: Support Redis client-side caching for optimized data handling (though it’s disabled out-of-the-box), improving overall system performance. Credits to @bowenliang123 in PRs #19493 and #19524.
- **Robust Workflow Management**: Addressed numerous inconsistencies and bugs in workflows, ensuring smoother, more reliable operations across the board. Our workflows can now handle node failures more gracefully, thanks to contributions from @Kevin9703 in PR #18994.
- fixes: fix entrypoint script with missing environment variables
- fix: fix embedded chatbot styles on a relatively wide screen
- fix(workflow_cycle_manage): failed nodes were not updated in workflow_node_executions
- feat(api): use `json_repair` to fix invalid json while generate structured output
