47 model fiyatı
  1. Ana sayfa
  2. Sürümler
  3. Dify
  4. 1.16.1

Dify 1.16.1 sürüm notları

Dify 1.16.1 sürümünün yayın tarihi 28 Temmuz 2026. En güncel sürüm 1.20.0.

· 336 değişiklik maddesi

Orijinal sürüm notları

What's Changed

New Features

Tool Multi-Select Input

Workflow Node Locator

Workflow Block Selector Improvements

Export Agent DSL from Sidebar

Knowledge Tracing


Bug Fixes

Workflow & Collaboration

RAG & Knowledge

Agent

Web App & UI

API & Backend


Security Enhancements

Performance

Improvements

Environment Variable Changes

New Variables
Variable Default Description
DIFY_AGENT_API_TOKEN dify-agent-run-token-for-dev-only Shared bearer token for API → agent_backend authentication. Change this in production.
AGENT_BACKEND_API_TOKEN dify-agent-run-token-for-dev-only Same token on the agent backend side. Must match DIFY_AGENT_API_TOKEN.
PLUGIN_MODEL_PROVIDERS_CACHE_ENABLED true Set to false if plugins are installed externally and the cache cannot be invalidated.

[!IMPORTANT] DIFY_AGENT_API_TOKEN is a new required variable for secure communication between the Dify API and agent backend. The default value (dify-agent-run-token-for-dev-only) is insecure and must be replaced in production. Generate one with:

python -c 'import secrets; print(secrets.token_urlsafe(32))'

Set the same value as AGENT_BACKEND_API_TOKEN on the agent backend side.

Docker Compose Changes

Database Migrations

This release includes 4 new migrations:

  1. 2026_07_15_1600-3c9f8e2a1d7b_add_workflow_run_archive_bundle_cursor_indexes.py — Add indexes to workflow_run_archive_bundles (concurrent on PostgreSQL)
  2. 2026_06_29_1200-b8c9d0e1f2a3_add_step_by_step_tour_state.py — Create account_step_by_step_tour_states table
  3. 2026_07_22_1500-d2825e7b9c10_scope_agent_debug_conversations.py — Add draft_type column to agent_debug_conversations and update unique constraint
  4. 2026_07_23_1200-6f5a9c2d8e1b_add_telemetry_fields_to_dify_setups.py — Add telemetry fields (instance_id, install_reported_at, last_heartbeat_at) to dify_setups

All migrations are additive (new tables, columns, indexes) and are safe to run without downtime.


Upgrade Guide

Model Type Migration

[!IMPORTANT]

One-time legacy model type migration for self-hosted upgrades

If this deployment was upgraded from a Dify version earlier than 1.15.0 and this migration has not already been applied, run it after upgrading.

This migration is not included in flask db upgrade. Without it, legacy model records can cause model-related API requests to fail with errors, preventing affected models from being loaded or used.

Back up the database before applying the migration. The command runs in dry-run mode by default; review the output before rerunning it with --apply. The migration is idempotent and can be safely rerun.

Docker Compose

Run from the docker directory.

# Apply after reviewing the dry-run output
docker compose exec -T api flask data-migrate legacy-model-types --apply \
  > legacy-model-types-apply.jsonl
Source Code Deployment

Run from the repository root after completing flask db upgrade.

# Apply after reviewing the dry-run output
uv run --project api flask data-migrate legacy-model-types --apply \
  > legacy-model-types-apply.jsonl

After applying the migration, run the dry-run command again. If it reports no additional row updates or deletions, restart the relevant services and verify that existing models can be loaded and invoked successfully.

Docker Compose (Recommended)
cd docker
docker compose down
git pull origin main
docker compose pull
docker compose up -d

The database migrations will run automatically on startup.

[!IMPORTANT] Review the new DIFY_AGENT_API_TOKEN variable in .env. The default value is insecure — generate a secure token for production:

python -c 'import secrets; print(secrets.token_urlsafe(32))'
Source Code
git pull origin main
cd api
flask db upgrade

What's Changed

New Contributors

Full Changelog: https://github.com/langgenius/dify/compare/1.16.0...1.16.1

Kaynak: GitHub sürümü 1.16.1

Daha yeni: 1.17.0Daha eski: 1.16.0Dify