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

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

## New Features
- **Export DSL from History**: Able to export workflow DSL directly from version history panel. (See #24939, by *GuanMu*)
- **Downvote with Reason**: Enhanced feedback system allowing users to provide specific reasons when downvoting responses. (See #24922, by *jubinsoni*)
- **Multi-modal/File**: Added filename support to multi-modal prompt messages. (See #24777, by *-LAN-*)
- **Advanced Chat File Handling**: Improved assistant content parts and file handling in advanced chat mode. (See #24663, by *QIN2DIM*)
- **Indonesian Language Support**: Added Indonesian (id-ID) language support. (See #24951, by *lyzno1*)
- feat: datasets hit-testing retrieve chunking detail answer when docum…

## Improvements
- **DB Query**: Optimized SQL queries that were performing partial full table scans. (See #24786, by *Novice*)
- **Type Checking**: Migrated from MyPy to Basedpyright. (See #25047, by *-LAN-*)
- **Jinja2 Template**: LLM prompt Jinja2 templates now support more variables. (See #24944, by *17hz*)
- chore: use orjson in streaming event JSON serialisation for performance improvement
- chore: optimize SQL queries that perform partial full table scans

## Bug Fixes
- **Security/XSS**: Fixed XSS vulnerability in block-input and support-var-input components. (See #24835, by *lyzno1*)
- **Persistence Session Management**: Resolved critical database session binding issues that were causing "not bound to a Session" errors. (See #25010, #24966, by *Will*)
- **Workflow & UI Issues**: Fixed workflow publishing problems, resolved UUID v7 conflicts, and addressed various UI component issues including modal handling and input field improvements. (See #25030, #24643, #25034, #24864, by *Will, -LAN-, 17hz & Atif*)
- Fix/web app auth error
- Fix token expiry miscalculation
- fix: `files` parameter in JavaScript sdk incorrectly annotated as the `File` type in WebAPI
