Source: github.com/langgenius/dify/releases/tag/1.20.0
Dify 1.20.0, released on 18 November, adds New HITL, which routes workflow approval requests through email and team messaging tools. Supported IM platforms are Slack, Feishu/Lark, Microsoft Teams, DingTalk and WeCom, with recipients managed in a shared contact list. The feature is enabled by default through NEXT_PUBLIC_ENABLE_HITL_IM.
The release adds an OpenTelemetry provider that exports app and Agent traces to any compatible collector, and Langfuse tracing now supports Langfuse v4. Knowledge uploads can be scanned for malware before indexing, using Cloudmersive, Scanii, OPSWAT MetaDefender Cloud or a custom endpoint, once FILE_SCAN_ENABLED is set to true. Personal access tokens let scripts and agents call the Dify OpenAPI.
Upgrading from 1.19.0 adds six database migrations, and the Dify components should be upgraded together. Several settings changed, including Docker Compose no longer loading shared.env and new public URL variables. SECRET_KEY must stay unchanged because personal access tokens depend on it.
Why it matters if you build agents
Agent builders can route human approvals for workflows into Slack or Teams and trace agent tool calls through any OpenTelemetry collector. Teams running self-hosted Langfuse v4 should upgrade, since the legacy Langfuse ingestion endpoint no longer accepts their events. Anyone upgrading should migrate shared.env and make sure the two new Celery queues have active consumers.
Get stories like this every weekday
One short email with the day's agent tooling news.