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

Dify 1.17.0 sürüm notları

Dify 1.17.0 sürümünün yayın tarihi 25 Ağustos 2026. En güncel sürüm 1.20.0.

· 898 değişiklik maddesi

Orijinal sürüm notları

New Features

Agent: E2B Sandbox, Home Snapshots, and Skill Management

Reusable LLM Environment Variables in Workflows

Human Input in Loops and Iterations

Provider-Neutral Unified Tracing

Cloudflare Turnstile (CAPTCHA) Support

Azure Key Vault / Pluggable KMS

TiDB Vector Full-Text & Hybrid Search

Broader Model & File Handling

Go to Anything (⌘K / Ctrl+K)

Other Additions

Improvements

Accessibility (large a11y pass)

Workflow Authoring

Workflow & Runtime Stability

Internal Quality

Security Enhancements

Bug Fixes (selected)


Environment Variable Changes

Added

Agent runtime / sandbox (docker/envs/core-services/dify-agent.env.example)

Auth / security

Knowledge / retrieval

Tracing / observability

Misc

Removed
Modified (default values)
Docker Compose

Database Migrations

This release includes new migrations (community-edition relevant):

No manual backfill command is required for these migrations. Run flask db upgrade as part of the upgrade.


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.

[!IMPORTANT]

  • This release includes new database migrations — run them as part of the upgrade.
  • Environment variables changed substantially (many added, edition variable renamed EDITION → DEPLOYMENT_EDITION, several defaults changed). Review the Environment Variable Changes section and update your .env accordingly. In particular, rename EDITION to DEPLOYMENT_EDITION if you set it.
  • Docker Compose configuration changed and a new docker-compose.e2b.yaml was added. If you maintain a customized docker-compose.yaml, re-apply local customizations carefully.
  • The migration add_conversation_cleanup_index builds index on existing data, which could take longer to execute if the conversations table is big.
Docker Compose Deployments
  1. Back up your customized compose and env files:
    cd docker
    cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
    cp .env .env.$(date +%s).bak 2>/dev/null || true
    
  2. Get the latest code:
    git fetch --tags
    git checkout main   # or the target release tag once cut
    
  3. Stop services (from the docker directory):
    docker compose down
    
  4. Back up data:
    tar -cvf volumes-$(date +%s).tgz volumes
    
  5. Review env changes and re-apply local customizations (remember EDITION → DEPLOYMENT_EDITION).
  6. Upgrade:
    docker compose up -d
    
Source Code Deployments
  1. Stop the API server, Worker, and Web frontend.
  2. Get the latest code:
    git fetch --tags
    git checkout main   # or the target release tag once cut
    
  3. Update Python dependencies:
    cd api
    uv sync
    
  4. Run migrations:
    uv run flask db upgrade
    
  5. Rebuild/restart the Web frontend, then restart the API server and Worker.

What's Changed

New Contributors

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

Kaynak: GitHub sürümü 1.17.0

Daha yeni: 1.17.1Daha eski: 1.16.1Dify