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

Dify 1.17.1 sürüm notları

Dify 1.17.1 sürümünün yayın tarihi 10 Eylül 2026. En güncel sürüm 1.20.0.

· 514 değişiklik maddesi

Orijinal sürüm notları

[!WARNING] Self-hosted deployments using the bundled Weaviate must complete a manual, staged upgrade before starting 1.17.1. The bundled Weaviate server moves from 1.27.0 to 1.39.2 — 12 minor versions — and skipping minors is unsupported. Pulling and restarting can silently and permanently break vector search. See Upgrade Guide below. Fresh deployments, external Weaviate, and other vector stores are unaffected.

New Features

Dataset-Scoped Knowledge Base API Keys

Keyboard Movement for Workflow Nodes and Comments

Marketplace Creator Profiles and Homepage Redesign

Configurable Markdown Form Field Name Length


Bug Fixes

Knowledge Base

This release fixes a cluster of extraction bugs that changed document content without reporting an error. Re-import affected documents after upgrading; indexed text is not retroactively repaired.

Model Providers

Workflow & Triggers

Agent & Chat

Service API & OpenAPI

Concurrency & Deadlocks

Skills, Plugins & Triggers

Workspace, Accounts & Imports

Correctness of Text and Value Parsing

Accessibility

The console and web apps received a broad pass targeting the parts that made them unusable without a mouse or a screen reader: form controls got correct labels and programmatically associated validation feedback (#42096); sortable lists and panel/node resizing became keyboard-operable (#41974, #41963); focus is restored to its origin after overlays and comment threads close instead of being dropped to the document (#42068, #41978); page landmarks and heading structure were corrected so screen-reader users can navigate by region (#41938); button-styled navigation kept its link semantics so it still works with middle-click and modifier-click (#41312); decorative content and redundant list semantics were hidden from assistive technology (#42060); and clickable divs were replaced with native buttons in dataset lists (#41319). The apps list, home page, and login/signup flows were each covered as a whole (#41393, #41310, #41301).

Web App & UI


Security Enhancements

Performance

Improvements

Environment Variable Changes

New Variables
Variable Default Description
WEBSOCKET_MAX_HTTP_BUFFER_SIZE 10485760 Socket.IO frame ceiling for the collaboration WebSocket. Raise it if very large workflow graphs still fail to sync.
WEAVIATE_GRPC_ENDPOINT grpc://localhost:50051 Newly documented in api/.env.example for source deployments. gRPC has been required since Weaviate 1.27; the example files simply never listed it. The Docker value (grpc://weaviate:50051) is unchanged.
EXPOSE_WEAVIATE_GRPC_PORT 50051 Publishes Weaviate's gRPC port in the middleware-only stack.
EXPOSE_LOCAL_SANDBOX_PORT 5004 Publishes the local sandbox in the middleware-only stack, so a locally-run agent backend can reach it.
DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN (empty) shellctl auth token for the middleware-only local sandbox.
MARKDOWN_FORM_FIELD_NAME_MAX_LENGTH 128 Markdown form field-name length limit, previously hard-coded.
NEXT_PUBLIC_ENABLE_AGENT_V2_IN_CHATFLOW false Feature gate for the Agent V2 node in Chatflow apps. Off by default.
DIFY_AGENT_RUN_EVENT_STREAM_MAX_LENGTH 5000 Maximum entries retained per Agent run event stream.
DIFY_AGENT_STREAM_TEXT_DELTA_COALESCING_ENABLED true Merge consecutive Agent text deltas before writing them to Redis.
DIFY_AGENT_STREAM_TEXT_DELTA_FLUSH_INTERVAL_MS 100 Coalescing flush window.
DIFY_AGENT_STREAM_TEXT_DELTA_MAX_CHARS 4096 Coalescing size cap.
Modified (default values)

[!IMPORTANT] Agent run records and event streams now expire after 2 hours instead of 3 days. This is part of the fix for unbounded Redis growth (#41566). If you rely on inspecting Agent run events for longer than that, set DIFY_AGENT_RUN_RETENTION_SECONDS explicitly in your env file before upgrading.

No environment variables were removed in this release.

Docker Compose Changes

Database Migrations

This release includes 3 new migrations, all applied by flask db upgrade:

  1. 2026_08_25_1200-9b7c6d5e4f3a_add_normalized_email_to_accounts.py — Adds an indexed accounts.normalized_email column and backfills it, normalizing Gmail and Googlemail addresses. Deliberately not unique: existing installations may already hold equivalent accounts, and those records are preserved while new collisions are prevented.
  2. 2026_08_27_1200-5578e028b2f2_migrate_legacy_model_types.py — Data migration canonicalizing legacy model types across provider_models, provider_model_credentials, tenant_default_models, provider_model_settings, and load_balancing_model_configs, deduplicating colliding rows. This replaces the manual flask data-migrate legacy-model-types step from 1.16.1 and 1.17.0.
  3. 2026_08_29_1200-c3f1a9b2e6d4_add_dataset_api_token_bindings.py — Creates the dataset_api_token_bindings many-to-many table backing dataset-scoped API keys. Both foreign keys cascade on delete.

No manual backfill command is required.

[!CAUTION] Migration 5578e028b2f2 is not reversible — its downgrade() is intentionally a no-op, because rows written after the enum rename cannot be distinguished from rows it rewrote. Back up your database before upgrading.


Upgrade Guide

Bundled Weaviate Server Upgrade

[!WARNING]

Staged manual upgrade required for existing bundled-Weaviate deployments

This release moves the bundled Weaviate server from 1.27.0 to 1.39.2. Weaviate neither tests nor supports skipping minor versions, and any release may carry an on-disk migration that expects the previous version to have run at least once. An existing data volume cannot cross 12 minors in one step.

Do not pull 1.17.1 and restart. Step the volume through every minor release in order, landing on the latest patch of each, with a graceful stop at every rung.

Follow the runbook: Weaviate Server Upgrade Path

This applies only if you run the bundled Weaviate with existing data. Check with:

grep -E '^VECTOR_STORE=' docker/.env

Fresh deployments start on 1.39.2 with an empty volume and need nothing. External Weaviate servers and other vector stores are unaffected.

The runbook is the source of truth for the image ladder, per-rung verification commands, backup, and rollback. In outline, the procedure is:

  1. Stop Dify's request and worker services, and keep them stopped until the final rung passes.
  2. Back up the Weaviate volume.
  3. Step through all 13 rungs — 1.27 → 1.28 → … → 1.38 → finally exactly 1.39.2, the version this release pins — verifying after each one.
  4. Revert your temporary image edits, then continue with the normal upgrade steps below.

Two failure modes are worth knowing before you start:

Collection layout does not change, so no re-indexing is required. Dify still stores each dataset as Vector_index_<dataset_id>_Node with a self-provided named vector default and the server-default cosine metric. The Python weaviate-client needs no attention either: 1.17.0 and 1.17.1 both pin 4.22.0, which works against every server version on the ladder.

Running a Weaviate server older than 1.27.0, or still on client v3? Start with the Weaviate v4 migration guide, then return to the upgrade path above.

Legacy Model Types Now Migrate Automatically

[!IMPORTANT]

The manual flask data-migrate legacy-model-types step documented in the 1.16.1 and 1.17.0 upgrade guides is no longer needed. Migration 5578e028b2f2 performs the same canonicalization as part of flask db upgrade (#41326).

If you already ran the manual command, the migration is a no-op for those rows. If you never ran it — and your deployment was upgraded from a version earlier than 1.15.0 — this release repairs the affected rows for you. After upgrading, verify that your model providers list their models and that previously failing models can be loaded and invoked.

Back up the database first. This migration is not reversible.

Docker Compose (Recommended)

Complete the Weaviate upgrade above first if it applies to you.

cd docker
docker compose down
git fetch --tags
git checkout 1.17.1
docker compose pull
docker compose up -d

The database migrations run automatically on startup.

[!IMPORTANT] Review the env changes above and re-apply your local customizations before bringing the stack up — in particular the reduced DIFY_AGENT_RUN_RETENTION_SECONDS default (3 days → 2 hours).

Source Code
git fetch --tags
git checkout 1.17.1
cd api
uv sync
uv run flask db upgrade

Rebuild and restart the Web frontend, then restart the API server and Worker. Node.js 24 LTS and pnpm 12.3.4 are now required for the web build.

Post-Upgrade Verification

What's Changed

New Contributors

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

Kaynak: GitHub sürümü 1.17.1

Daha yeni: 1.18.0Daha eski: 1.17.0Dify