Skip to content

docs: sync ce 1.18.0 agent, env, api, and skills changes - #1095

Merged
RiskeyL merged 24 commits into
release/1.18.0from
docs/ce1180-release-sync
Oct 23, 2026
Merged

RiskeyL merged 24 commits into
release/1.18.0from
docs/ce1180-release-sync

Conversation

@RiskeyL

@RiskeyL RiskeyL commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Early-pass docs for CE 1.18.0 (unreleased), verified against dify 2b65f0e893 (main, 2026-10-08); the client IP and crawler commit against 16a2f5abd5 (main, 2026-10-13). Self-host copies only; the cloud copies follow at the Cloud 1.18.0 pass. Part of DC-368.

Each commit is one review group:

Commit Files (en/zh/ja) What to review
fc95817b self-host/use-dify/nodes/agent.mdx Output Routes on the New Agent node: when to use routes instead of IF/ELSE, route descriptions, the always-one-route behavior, the failure case and Fail Branch fallback
52ad6c80 self-host/deploy/configuration/environments.mdx Agent runtime backends (local, E2B, OpenShell) with setup steps, agent trajectory export, skill and app package limits, new agent backend rows
b6d8b29f api-reference/openapi_service.json Metadata endpoint errors (stale 400 dropped, second 404 added), new citation fields (doc_metadata, files, title), page and limit handling
ad40863b self-host/use-dify/build/skills.mdx Duplicate and Export now take the latest saved draft
60918834 ja new-agent/build.mdx, ja model-providers.mdx, glossary, termbase ja labels matched to the ja UI strings
616dd460 glossary, termbase New rows for Output Routes, Error Handling, and Fail Branch
d6823946 self-host/deploy/configuration/environments.mdx UV_CACHE_DIR row removed: 1.18.0 drops it from the active env templates (restore under Plugin Daemon only if the release ships daemon 0.6.11 or later)
8b6e4d7d self-host/deploy/quick-start/faqs.mdx, self-host/deploy/configuration/environments.mdx New FAQ entry for sign-in emails blocked behind Cloudflare, a load balancer, or another proxy, with the Nginx real-ip setup per proxy type; RESPECT_XFORWARD_HEADERS_ENABLED moved to its own heading under Nginx Reverse Proxy (Docker Compose default true); SSRF allowlist rows extended for self-hosted Firecrawl and WaterCrawl

6c0585eb merges main (#1083, #1094) into this branch to settle a glossary conflict, and 279313a8 merges release/1.18.0 after the squashed main sync (#1096). Neither changes the diff against release/1.18.0.

Re-verified on 2026-10-12 against dify main 6af1bb709b: every claim and quoted label still holds.

Not in this PR

  • App package (.ifpkg) docs: DC-371, separate.
  • CLI v2: DC-367, separate.
  • Default model clearing on model-providers.mdx: held for a test-environment check.
  • Agent templates: written only if the catalog serves Agent templates at release.
  • UV_CACHE_DIR: decided at the re-sweep.

Checks

  • English: editor test, format check, terminology check, and the pack verifiers (env-var triage 0; API lint, parity, and coverage 0), then owner freeze. The terminology check ran before the last Output Routes edits; the labels those edits added are now glossary rows, checked against their UI strings and render sites.
  • Translations: translation test per language, format check, and parity check.
  • 8b6e4d7d: three editor-test rounds (the last after the FAQ layout change and the new heading), a cut test, the translation test per language, format and parity checks, and the env verifier (clean, with the Compose default of RESPECT_XFORWARD_HEADERS_ENABLED on the verifier's ignore list until it reads Compose environment: defaults).
  • Reader test skipped by owner decision.

RiskeyL and others added 8 commits October 9, 2026 13:33
* fix: point glossary rows at live i18n keys

* fix: give knowledge retrieval labels their own glossary section

Move Query Text, Query Images and Metadata Filtering out of Agent Node Config, and add the metadata filtering modes Disabled, Automatic and Manual. Regenerate the termbase.

* docs: record stored strings for case-styled ui labels

State in the glossary's UI Labels intro that rows record the string stored at the key, even when the UI changes its case on screen.
Adds the Let It Choose a Route section to the New Agent tab: when to use routes instead of IF/ELSE, how to write route descriptions, the always-one-route behavior, and the failure case with a Fail Branch fallback. Verified against dify 2b65f0e893. Also corrects the ja beta note: the node, not its runtime, is on by default.
Covers the agent runtime backends (local, E2B, OpenShell) with setup steps, agent trajectory export, skill package and app package limits, and the new agent backend rows. Verified against dify 2b65f0e893; the OTLP anchors keep their live ids.
Drops the stale 400 on the metadata endpoints, adds the second 404 on PATCH and DELETE, adds doc_metadata, files, and title to retriever resources, and clarifies page and limit handling. Verified against dify 2b65f0e893.
Duplicate and Export both take the latest saved draft, unpublished changes included. Verified against dify 2b65f0e893.
Aligns the ja pages and glossary rows with the ja UI strings at dify 2b65f0e893, and regenerates the termbase.
Adds Output Routes, Error Handling, and Fail Branch with their zh and ja UI strings at dify 2b65f0e893, confirmed at their render sites, and regenerates the termbase.
…#1094)

* feat: set research depth by product change and add pack task analysis

Research depth now follows what changed for the reader: a new capability runs in full even when it lands as one section of an existing page, a changed behavior runs at targeted depth, and a correction verifies the disputed claim. Filling a gap on an unchanged product gets its own line. Both research depths now gather user reports, searched by the problem a feature solves as well as its name.

Only a single-page correction skips the S4 stop.

The env-var and API rule packs gain the S3 task analysis they lacked: the env pack for variable groups an operator sets up, and the API pack for each changed tag group.

* feat: add a task-analysis step to the cli rule pack

The CLI pack went from S2 straight to S7, as the env-var and API packs did before this PR. It now runs the pipeline's task analysis for each command or concept a change adds or alters, so CLI pages answer the reader's job, not just the command's flags.

* fix: give every env variable a task analysis and walk gaps in delta depth

The env pack exempted a single variable that changes one value of an existing setup, but a single limit or default can still change what the operator gets, and the pipeline gives every behavior change at least a Delta analysis. The exemption is replaced with proportion: a single variable's analysis is usually short.

Delta depth routed documentation gaps but walked only changed steps, which a gap doesn't have. It now walks the steps the docs don't yet cover.

* feat: check and freeze the english before translating

Checking now runs in two passes. The English pass runs the editor test, the reader test, the format and terminology checks, and the pack verifiers, then stops for the owner to freeze the English. Translation and its checks follow. In the old order the reader test and the owner's review came after translation, so any English change they caused sent its sentences back through translation and the translation test.

A single-page correction still skips the stop, and the stage numbers stay as packs and hooks cite them.

* fix: report env-var scope before drafting and re-test reader-test edits

The env pack wrote user-facing descriptions (S5) before its S4 scope report, so descriptions were drafted before the owner approved the scope. The report now comes first, and descriptions are written after approval.

In the English check pass, a unit the reader test changes now goes back through the editor test before the English is frozen, so added prose doesn't skip editorial review.

* fix: load s3 pack steps and align the env summary and api check pass

The S1-S3 read loaded only the packs' S2 procedures, so the S3 steps added to the env-var, API, and CLI packs were never read at that stage; it now loads S2 and S3. The env pack's bold summary now lists the steps in their real order, task analysis included. The two-pass check now says how it applies to the API pack, which edits its three specs in one pass: the owner reviews all three languages together, and the parity check stands in for the second pass.

* fix: fold api translation into s5 and walk any changed part in delta

The API pack said its zh and ja specs are edited at S6, which the English check pass and owner review run before, so the API exception could not run as written. The pack now folds S6 into S5: all three specs are edited together while writing, so the English pass checks and the owner reviews all three, and the parity check replaces the translation pass.

Delta depth applied its prompts only to changed steps, which skips a change that affects only a prerequisite, a limit, or the outcome. It now walks whatever changed.

* fix: align the packs and guides with the english-first check order

* fix: rerun the english checks on corrections found in translation
The variable is gone from the env templates at dify 6af1bb709b, and the compose plugin daemon is still 0.6.10-local. Restore it under Plugin Daemon only if the release ships daemon 0.6.11 or later.
Brings in #1083 and #1094. Resolves the glossary conflict with #1083 by keeping its moved rows and this branch's new Output Routes row, and regenerates the termbase.
#1096 brought main (#1083, #1094) into release/1.18.0 as a squash, so the merge base with this branch stayed at 884a4b5 and the glossary and termbase conflicted again. Both files keep this branch's version, which already holds main's rows plus this PR's. The tree is unchanged.
Adds a FAQ entry for sign-in emails blocked behind Cloudflare, a load balancer, or another proxy, with the Nginx real-ip setup for each proxy type. Moves RESPECT_XFORWARD_HEADERS_ENABLED to its own heading under Nginx Reverse Proxy with its Docker Compose and source defaults, and extends the SSRF allowlist rows for self-hosted Firecrawl and WaterCrawl. Verified against dify 16a2f5abd5 (langgenius/dify#43897, #43898).
Rewrites the integration permissions on the self-host Integrations page with the product's labels, where to find them, and the options each takes. Adds a PASSWORD_PEPPER heading next to SECRET_KEY on the environment variable page: when to set it, why it belongs in api.env, and how to undo a mistake or let members back in. Verified against dify ba5532ace0.

@laipz8200 laipz8200 left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some suggestions:

Comment thread en/api-reference/openapi_service.json
Comment thread en/self-host/deploy/configuration/environments.mdx Outdated
Comment thread en/self-host/deploy/quick-start/faqs.mdx Outdated
Comment thread en/self-host/use-dify/nodes/doc-extractor.mdx Outdated
Adds form_id to the human_input_form_filled and human_input_form_timeout schemas and the resumed-stream examples, and says on human_input_required that clients match these events by form_id because node_id can repeat across forms. Rewrites the RESPECT_XFORWARD_HEADERS_ENABLED warning: containers on the API's Docker networks, such as the code sandbox, can still connect directly, so untrusted workloads need network isolation and a gateway that rewrites X-Forwarded-For. Restores ODT on the document extractor page (parsed locally, or through the Unstructured API when one is configured) and qualifies the Cloudflare tip as zone-level or per-hostname Authenticated Origin Pulls with your own certificate. Verified against dify 229c3f1165 and graphon 4fa2214.
@RiskeyL
RiskeyL marked this pull request as ready for review October 23, 2026 04:51
Copilot AI balanced review requested due to automatic review settings October 23, 2026 04:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The unreleased runtime and proxy-security guidance needs final human validation against the release build before approval.

4 open issues
What changed in this PR

Updates Dify’s self-hosted documentation and Service API references for CE 1.18.0, with English, Chinese, and Japanese changes. Cloud documentation remains deferred to its separate release pass.

Changes:

  • Documents Agent output routes, runtime configuration, tracing, and draft-based skill duplication and export.
  • Updates deployment prerequisites, proxy troubleshooting, security guidance, and workflow-tool behavior.
  • Refreshes API schemas, examples, error descriptions, and shared terminology.
File Description
zh/​self-host/​use-dify/​workspace/​tools.mdx Clarifies workflow-tool publishing and Human Input restrictions.
zh/​self-host/​use-dify/​workspace/​plugins.mdx Corrects integration permissions and debugging guidance.
zh/​self-host/​use-dify/​publish/​webapp/​embedding-in-websites.mdx Updates the Chinese Access Point label.
zh/​self-host/​use-dify/​publish/​README.mdx Updates the sharing navigation label.
zh/​self-host/​use-dify/​publish/​publish-mcp.mdx Updates the MCP navigation label.
zh/​self-host/​use-dify/​nodes/​user-input.mdx Updates hidden-field navigation labels.
zh/​self-host/​use-dify/​nodes/​trigger/​webhook-trigger.mdx Removes the error-body detail claim.
zh/​self-host/​use-dify/​nodes/​trigger/​overview.mdx Updates trigger-management navigation.
zh/​self-host/​use-dify/​nodes/​doc-extractor.mdx Corrects ODT processing requirements.
zh/​self-host/​use-dify/​nodes/​agent.mdx Adds output-route selection and failure handling.
zh/​self-host/​use-dify/​monitor/​logs.mdx Explains workflow-tool logging and nested traces.
zh/​self-host/​use-dify/​monitor/​analysis.mdx Adds Agent tracing and content-capture settings.
zh/​self-host/​use-dify/​debug/​history-and-logs.mdx Explains access to workflow-tool traces.
zh/​self-host/​use-dify/​build/​skills.mdx Documents duplication and export of saved drafts.
zh/​self-host/​use-dify/​build/​new-agent/​build.mdx Adds tool restrictions and updates navigation labels.
zh/​self-host/​deploy/​troubleshooting/​weaviate-v4-migration.mdx Extends compatibility coverage through 1.18.0.
zh/​self-host/​deploy/​quick-start/​faqs.mdx Adds proxy-related email troubleshooting.
zh/​self-host/​deploy/​quick-start/​docker-compose.mdx Adds required sandbox-token setup and fixes markup.
zh/​self-host/​deploy/​configuration/​environments.mdx Expands runtime, tracing, security, and package settings.
zh/​self-host/​deploy/​advanced-deployments/​local-source-code.mdx Updates the Node.js version requirement.
zh/​learn/​tutorials/​workflow-101/​lesson-10.mdx Updates the Access Point label.
zh/​learn/​tutorials/​customer-service-bot.mdx Updates embedding navigation terminology.
zh/​api-reference/​openapi_service.json Updates citations, form events, errors, and run control.
zh/​api-reference/​guides/​workflow.mdx Clarifies cancellation after blocking calls pause.
writing-guides/​glossary.md Adds release terminology and corrects UI labels.
tools/​translate/​termbase_i18n.md Synchronizes translation terminology with the glossary.
ja/​self-host/​use-dify/​workspace/​tools.mdx Clarifies workflow-tool publishing and restrictions.
ja/​self-host/​use-dify/​workspace/​plugins.mdx Corrects integration permissions and debugging guidance.
ja/​self-host/​use-dify/​workspace/​model-providers.mdx Aligns speech-model labels with the Japanese UI.
ja/​self-host/​use-dify/​nodes/​trigger/​webhook-trigger.mdx Removes the error-body detail claim.
ja/​self-host/​use-dify/​nodes/​doc-extractor.mdx Corrects ODT processing requirements.
ja/​self-host/​use-dify/​nodes/​agent.mdx Adds output routes and fallback handling.
ja/​self-host/​use-dify/​monitor/​logs.mdx Explains workflow-tool logging and nested traces.
ja/​self-host/​use-dify/​monitor/​analysis.mdx Adds Agent tracing and content-capture settings.
ja/​self-host/​use-dify/​debug/​history-and-logs.mdx Updates tracing terminology and nested-trace guidance.
ja/​self-host/​use-dify/​build/​skills.mdx Documents duplication and export of saved drafts.
ja/​self-host/​use-dify/​build/​new-agent/​build.mdx Updates skill labels and workflow-tool restrictions.
ja/​self-host/​deploy/​troubleshooting/​weaviate-v4-migration.mdx Extends compatibility coverage through 1.18.0.
ja/​self-host/​deploy/​quick-start/​faqs.mdx Adds proxy-related email troubleshooting.
ja/​self-host/​deploy/​quick-start/​docker-compose.mdx Adds required sandbox-token setup.
ja/​self-host/​deploy/​advanced-deployments/​local-source-code.mdx Updates the Node.js version requirement.
ja/​api-reference/​openapi_service.json Updates citations, form events, errors, and run control.
ja/​api-reference/​guides/​workflow.mdx Clarifies cancellation after blocking calls pause.
en/​self-host/​use-dify/​workspace/​tools.mdx Clarifies workflow-tool publishing and restrictions.
en/​self-host/​use-dify/​workspace/​plugins.mdx Corrects integration permissions and debugging guidance.
en/​self-host/​use-dify/​nodes/​trigger/​webhook-trigger.mdx Removes the error-body detail claim.
en/​self-host/​use-dify/​nodes/​doc-extractor.mdx Corrects ODT processing requirements.
en/​self-host/​use-dify/​nodes/​agent.mdx Adds output-route selection and failure handling.
en/​self-host/​use-dify/​monitor/​logs.mdx Explains workflow-tool logging and nested traces.
en/​self-host/​use-dify/​monitor/​analysis.mdx Adds Agent tracing and content-capture settings.
en/​self-host/​use-dify/​debug/​history-and-logs.mdx Explains access to workflow-tool traces.
en/​self-host/​use-dify/​build/​skills.mdx Documents duplication and export of saved drafts.
en/​self-host/​use-dify/​build/​new-agent/​build.mdx Adds Human Input workflow-tool restrictions.
en/​self-host/​deploy/​troubleshooting/​weaviate-v4-migration.mdx Extends compatibility coverage through 1.18.0.
en/​self-host/​deploy/​quick-start/​faqs.mdx Adds proxy-related email troubleshooting.
en/​self-host/​deploy/​quick-start/​docker-compose.mdx Adds required sandbox-token setup.
en/​self-host/​deploy/​configuration/​environments.mdx Expands runtime, tracing, security, and package settings.
en/​self-host/​deploy/​advanced-deployments/​local-source-code.mdx Updates the Node.js version requirement.
en/​api-reference/​openapi_service.json Updates citations, form events, errors, and run control.
en/​api-reference/​guides/​workflow.mdx Clarifies cancellation after blocking calls pause.

Review effort: Balanced

- An OpenShell gateway, version 0.0.106 or later, reachable from the `agent_backend` container.
- Gateway credentials: a bearer token, an mTLS client certificate pair, or both. Compose ships no certificate mount, so mount the files into `agent_backend` yourself, read-only and readable by UID 1001.
- A runtime image that the gateway can start sandboxes from.
- A shared volume for the persistent files agents keep across conversations, created outside Compose so that `docker compose down -v` can't delete it.

Every span carries the IDs of its workspace, app, agent, end user, conversation, workflow run, and node, so you can narrow traces to one app or one conversation by attributes such as `dify.app_id` or `dify.conversation.id`. These IDs are exported even with content export off.

Trajectory export is separate from [LLMOps Trace Delivery](#llmops-trace-delivery), which app builders set up per app with providers such as Langfuse, and from the [OpenTelemetry instrumentation](#otlp-/-opentelemetry-configuration) of the API and Worker. Their settings don't affect it.
- OpenShell 网关,版本不低于 0.0.106,且 `agent_backend` 容器能访问到它。
- 网关凭证:Bearer 令牌、mTLS 客户端证书对,或两者兼有。Compose 未内置证书挂载,需自行将证书文件以只读方式挂载到 `agent_backend`,并确保 UID 1001 可读取。
- 网关可用来启动沙箱的运行时镜像。
- 一个共享卷,用于存放 Agent 跨对话保留的长期文件。该卷需在 Compose 之外创建,以免被 `docker compose down -v` 删除。

每个 span 都带有所属工作空间、应用、Agent、终端用户、对话、工作流运行和节点的 ID,因此可按 `dify.app_id`、`dify.conversation.id` 等属性,把追踪数据筛选到单个应用或单个对话。即使关闭内容导出,这些 ID 也会导出。

轨迹导出独立于 [LLMOps 追踪投递](#llmops-追踪投递)(由应用构建者为每个应用单独配置 Langfuse 等供应商),也独立于 API 和 Worker 的 [OpenTelemetry 插桩](#otlp-/-opentelemetry-配置),两者的设置都不影响轨迹导出。
Takes the reviewer's wording for the Cloudflare tab: zone-level or per-hostname Authenticated Origin Pulls with your own certificate, or Cloudflare Tunnel.
Resolves the /audio-to-text 400 description in the three specs: main's codes from #1101, with #1095's provider_not_initialize wording.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Security-sensitive deployment guidance needs human confirmation that previously raised concerns are resolved before approval.

4 open issues

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 05:14
@RiskeyL
RiskeyL merged commit 487b035 into release/1.18.0 Oct 23, 2026
2 of 3 checks passed
@RiskeyL
RiskeyL deleted the docs/ce1180-release-sync branch October 23, 2026 05:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Security-sensitive deployment guidance and API contracts need final human validation against the unreleased CE 1.18.0 build.

4 open issues

Review effort: Balanced

RiskeyL added a commit that referenced this pull request Oct 23, 2026
* chore: sync main into release/1.18.0 (#1096)

* fix: point glossary rows at live i18n keys (#1083)

* fix: point glossary rows at live i18n keys

* fix: give knowledge retrieval labels their own glossary section

Move Query Text, Query Images and Metadata Filtering out of Agent Node Config, and add the metadata filtering modes Disabled, Automatic and Manual. Regenerate the termbase.

* docs: record stored strings for case-styled ui labels

State in the glossary's UI Labels intro that rows record the string stored at the key, even when the UI changes its case on screen.

* feat: set research depth by product change and add pack task analysis (#1094)

* feat: set research depth by product change and add pack task analysis

Research depth now follows what changed for the reader: a new capability runs in full even when it lands as one section of an existing page, a changed behavior runs at targeted depth, and a correction verifies the disputed claim. Filling a gap on an unchanged product gets its own line. Both research depths now gather user reports, searched by the problem a feature solves as well as its name.

Only a single-page correction skips the S4 stop.

The env-var and API rule packs gain the S3 task analysis they lacked: the env pack for variable groups an operator sets up, and the API pack for each changed tag group.

* feat: add a task-analysis step to the cli rule pack

The CLI pack went from S2 straight to S7, as the env-var and API packs did before this PR. It now runs the pipeline's task analysis for each command or concept a change adds or alters, so CLI pages answer the reader's job, not just the command's flags.

* fix: give every env variable a task analysis and walk gaps in delta depth

The env pack exempted a single variable that changes one value of an existing setup, but a single limit or default can still change what the operator gets, and the pipeline gives every behavior change at least a Delta analysis. The exemption is replaced with proportion: a single variable's analysis is usually short.

Delta depth routed documentation gaps but walked only changed steps, which a gap doesn't have. It now walks the steps the docs don't yet cover.

* feat: check and freeze the english before translating

Checking now runs in two passes. The English pass runs the editor test, the reader test, the format and terminology checks, and the pack verifiers, then stops for the owner to freeze the English. Translation and its checks follow. In the old order the reader test and the owner's review came after translation, so any English change they caused sent its sentences back through translation and the translation test.

A single-page correction still skips the stop, and the stage numbers stay as packs and hooks cite them.

* fix: report env-var scope before drafting and re-test reader-test edits

The env pack wrote user-facing descriptions (S5) before its S4 scope report, so descriptions were drafted before the owner approved the scope. The report now comes first, and descriptions are written after approval.

In the English check pass, a unit the reader test changes now goes back through the editor test before the English is frozen, so added prose doesn't skip editorial review.

* fix: load s3 pack steps and align the env summary and api check pass

The S1-S3 read loaded only the packs' S2 procedures, so the S3 steps added to the env-var, API, and CLI packs were never read at that stage; it now loads S2 and S3. The env pack's bold summary now lists the steps in their real order, task analysis included. The two-pass check now says how it applies to the API pack, which edits its three specs in one pass: the owner reviews all three languages together, and the parity check stands in for the second pass.

* fix: fold api translation into s5 and walk any changed part in delta

The API pack said its zh and ja specs are edited at S6, which the English check pass and owner review run before, so the API exception could not run as written. The pack now folds S6 into S5: all three specs are edited together while writing, so the English pass checks and the owner reviews all three, and the parity check replaces the translation pass.

Delta depth applied its prompts only to changed steps, which skips a change that affects only a prerequisite, a limit, or the outcome. It now walks whatever changed.

* fix: align the packs and guides with the english-first check order

* fix: rerun the english checks on corrections found in translation

* chore: sync main into release/1.18.0 (#1125)

* fix: point glossary rows at live i18n keys (#1083)

* fix: point glossary rows at live i18n keys

* fix: give knowledge retrieval labels their own glossary section

Move Query Text, Query Images and Metadata Filtering out of Agent Node Config, and add the metadata filtering modes Disabled, Automatic and Manual. Regenerate the termbase.

* docs: record stored strings for case-styled ui labels

State in the glossary's UI Labels intro that rows record the string stored at the key, even when the UI changes its case on screen.

* feat: set research depth by product change and add pack task analysis (#1094)

* feat: set research depth by product change and add pack task analysis

Research depth now follows what changed for the reader: a new capability runs in full even when it lands as one section of an existing page, a changed behavior runs at targeted depth, and a correction verifies the disputed claim. Filling a gap on an unchanged product gets its own line. Both research depths now gather user reports, searched by the problem a feature solves as well as its name.

Only a single-page correction skips the S4 stop.

The env-var and API rule packs gain the S3 task analysis they lacked: the env pack for variable groups an operator sets up, and the API pack for each changed tag group.

* feat: add a task-analysis step to the cli rule pack

The CLI pack went from S2 straight to S7, as the env-var and API packs did before this PR. It now runs the pipeline's task analysis for each command or concept a change adds or alters, so CLI pages answer the reader's job, not just the command's flags.

* fix: give every env variable a task analysis and walk gaps in delta depth

The env pack exempted a single variable that changes one value of an existing setup, but a single limit or default can still change what the operator gets, and the pipeline gives every behavior change at least a Delta analysis. The exemption is replaced with proportion: a single variable's analysis is usually short.

Delta depth routed documentation gaps but walked only changed steps, which a gap doesn't have. It now walks the steps the docs don't yet cover.

* feat: check and freeze the english before translating

Checking now runs in two passes. The English pass runs the editor test, the reader test, the format and terminology checks, and the pack verifiers, then stops for the owner to freeze the English. Translation and its checks follow. In the old order the reader test and the owner's review came after translation, so any English change they caused sent its sentences back through translation and the translation test.

A single-page correction still skips the stop, and the stage numbers stay as packs and hooks cite them.

* fix: report env-var scope before drafting and re-test reader-test edits

The env pack wrote user-facing descriptions (S5) before its S4 scope report, so descriptions were drafted before the owner approved the scope. The report now comes first, and descriptions are written after approval.

In the English check pass, a unit the reader test changes now goes back through the editor test before the English is frozen, so added prose doesn't skip editorial review.

* fix: load s3 pack steps and align the env summary and api check pass

The S1-S3 read loaded only the packs' S2 procedures, so the S3 steps added to the env-var, API, and CLI packs were never read at that stage; it now loads S2 and S3. The env pack's bold summary now lists the steps in their real order, task analysis included. The two-pass check now says how it applies to the API pack, which edits its three specs in one pass: the owner reviews all three languages together, and the parity check stands in for the second pass.

* fix: fold api translation into s5 and walk any changed part in delta

The API pack said its zh and ja specs are edited at S6, which the English check pass and owner review run before, so the API exception could not run as written. The pack now folds S6 into S5: all three specs are edited together while writing, so the English pass checks and the owner reviews all three, and the parity check replaces the translation pass.

Delta depth applied its prompts only to changed steps, which skips a change that affects only a prerequisite, a limit, or the outcome. It now walks whatever changed.

* fix: align the packs and guides with the english-first check order

* fix: rerun the english checks on corrections found in translation

* fix: update the next.js version in the local source web sample output (#1099)

* fix: correct the audio-to-text 400 error codes (#1101)

* fix: correct integration permission labels and install details (#1102)

* fix: correct integration permission labels and install details

* fix: keep the tool integration type singular

* docs: document deleting archived logs on cloud (#1103)

* fix: correct the knowledge api key path and note key limits (#1104)

* docs: split archived logs into download and delete (#1118)

* fix: point plugin debugging page to the integrations debugging entry (#1123)

The remote debugging page still sent readers to the old Plugins page in the top-right corner, a bug icon next to Install Plugin, and a debug dialog, with two 2024 screenshots of that UI. Since CE 1.15.0 the entry is Debugging at the bottom of the Integrations sidebar.

- Prerequisites: the requirement is now the Who can debug? permission
- Step 1: open Debugging in Integrations; outdated screenshot removed
- Step 4: find the plugin in its type's section in Integrations; outdated screenshot removed; it stays available only while the local process is connected
- Troubleshooting: drop the debug dialog and the nonexistent key regeneration; copy the current key from Debugging instead

en, zh, and ja updated together.

* docs: sync ce 1.18.0 agent, env, api, and skills changes (#1095)

* fix: point glossary rows at live i18n keys (#1083)

* fix: point glossary rows at live i18n keys

* fix: give knowledge retrieval labels their own glossary section

Move Query Text, Query Images and Metadata Filtering out of Agent Node Config, and add the metadata filtering modes Disabled, Automatic and Manual. Regenerate the termbase.

* docs: record stored strings for case-styled ui labels

State in the glossary's UI Labels intro that rows record the string stored at the key, even when the UI changes its case on screen.

* docs: document output routes on the agent node

Adds the Let It Choose a Route section to the New Agent tab: when to use routes instead of IF/ELSE, how to write route descriptions, the always-one-route behavior, and the failure case with a Fail Branch fallback. Verified against dify 2b65f0e893. Also corrects the ja beta note: the node, not its runtime, is on by default.

* docs: document ce 1.18.0 agent and app package environment variables

Covers the agent runtime backends (local, E2B, OpenShell) with setup steps, agent trajectory export, skill package and app package limits, and the new agent backend rows. Verified against dify 2b65f0e893; the OTLP anchors keep their live ids.

* docs: update service api citation fields and metadata errors

Drops the stale 400 on the metadata endpoints, adds the second 404 on PATCH and DELETE, adds doc_metadata, files, and title to retriever resources, and clarifies page and limit handling. Verified against dify 2b65f0e893.

* docs: update skill duplicate and export to use the latest draft

Duplicate and Export both take the latest saved draft, unpublished changes included. Verified against dify 2b65f0e893.

* fix: match ja ui labels for skills, speech models, and knowledge base

Aligns the ja pages and glossary rows with the ja UI strings at dify 2b65f0e893, and regenerates the termbase.

* docs: add output routes and error handling labels to the glossary

Adds Output Routes, Error Handling, and Fail Branch with their zh and ja UI strings at dify 2b65f0e893, confirmed at their render sites, and regenerates the termbase.

* feat: set research depth by product change and add pack task analysis (#1094)

* feat: set research depth by product change and add pack task analysis

Research depth now follows what changed for the reader: a new capability runs in full even when it lands as one section of an existing page, a changed behavior runs at targeted depth, and a correction verifies the disputed claim. Filling a gap on an unchanged product gets its own line. Both research depths now gather user reports, searched by the problem a feature solves as well as its name.

Only a single-page correction skips the S4 stop.

The env-var and API rule packs gain the S3 task analysis they lacked: the env pack for variable groups an operator sets up, and the API pack for each changed tag group.

* feat: add a task-analysis step to the cli rule pack

The CLI pack went from S2 straight to S7, as the env-var and API packs did before this PR. It now runs the pipeline's task analysis for each command or concept a change adds or alters, so CLI pages answer the reader's job, not just the command's flags.

* fix: give every env variable a task analysis and walk gaps in delta depth

The env pack exempted a single variable that changes one value of an existing setup, but a single limit or default can still change what the operator gets, and the pipeline gives every behavior change at least a Delta analysis. The exemption is replaced with proportion: a single variable's analysis is usually short.

Delta depth routed documentation gaps but walked only changed steps, which a gap doesn't have. It now walks the steps the docs don't yet cover.

* feat: check and freeze the english before translating

Checking now runs in two passes. The English pass runs the editor test, the reader test, the format and terminology checks, and the pack verifiers, then stops for the owner to freeze the English. Translation and its checks follow. In the old order the reader test and the owner's review came after translation, so any English change they caused sent its sentences back through translation and the translation test.

A single-page correction still skips the stop, and the stage numbers stay as packs and hooks cite them.

* fix: report env-var scope before drafting and re-test reader-test edits

The env pack wrote user-facing descriptions (S5) before its S4 scope report, so descriptions were drafted before the owner approved the scope. The report now comes first, and descriptions are written after approval.

In the English check pass, a unit the reader test changes now goes back through the editor test before the English is frozen, so added prose doesn't skip editorial review.

* fix: load s3 pack steps and align the env summary and api check pass

The S1-S3 read loaded only the packs' S2 procedures, so the S3 steps added to the env-var, API, and CLI packs were never read at that stage; it now loads S2 and S3. The env pack's bold summary now lists the steps in their real order, task analysis included. The two-pass check now says how it applies to the API pack, which edits its three specs in one pass: the owner reviews all three languages together, and the parity check stands in for the second pass.

* fix: fold api translation into s5 and walk any changed part in delta

The API pack said its zh and ja specs are edited at S6, which the English check pass and owner review run before, so the API exception could not run as written. The pack now folds S6 into S5: all three specs are edited together while writing, so the English pass checks and the owner reviews all three, and the parity check replaces the translation pass.

Delta depth applied its prompts only to changed steps, which skips a change that affects only a prerequisite, a limit, or the outcome. It now walks whatever changed.

* fix: align the packs and guides with the english-first check order

* fix: rerun the english checks on corrections found in translation

* fix: drop the uv_cache_dir row that ce 1.18.0 removes

The variable is gone from the env templates at dify 6af1bb709b, and the compose plugin daemon is still 0.6.10-local. Restore it under Plugin Daemon only if the release ships daemon 0.6.11 or later.

* docs: document client ip and crawler ssrf proxy changes for ce 1.18.0

Adds a FAQ entry for sign-in emails blocked behind Cloudflare, a load balancer, or another proxy, with the Nginx real-ip setup for each proxy type. Moves RESPECT_XFORWARD_HEADERS_ENABLED to its own heading under Nginx Reverse Proxy with its Docker Compose and source defaults, and extends the SSRF allowlist rows for self-hosted Firecrawl and WaterCrawl. Verified against dify 16a2f5abd5 (langgenius/dify#43897, #43898).

* docs: document plugin install default and password pepper for ce 1.18.0

Rewrites the integration permissions on the self-host Integrations page with the product's labels, where to find them, and the options each takes. Adds a PASSWORD_PEPPER heading next to SECRET_KEY on the environment variable page: when to set it, why it belongs in api.env, and how to undo a mistake or let members back in. Verified against dify ba5532ace0.

* fix: say only owners and admins can remove integrations

* docs: add OAUTH_TTL_DAYS and update Landlock sandbox behavior

* fix: correct worker, debug, stop, and default model docs for ce 1.18.0

* fix: require the local sandbox token for ce 1.18.0

* fix: correct webhook errors, node floor, and creator center upload for ce 1.18.0

* fix: rename the zh access point label to 访问入口

* docs: document agent tracing for ce 1.18.0

* docs: document nested workflow tools for ce 1.18.0

* fix: apply review fixes for form_id, forwarded headers, odt, and aop

Adds form_id to the human_input_form_filled and human_input_form_timeout schemas and the resumed-stream examples, and says on human_input_required that clients match these events by form_id because node_id can repeat across forms. Rewrites the RESPECT_XFORWARD_HEADERS_ENABLED warning: containers on the API's Docker networks, such as the code sandbox, can still connect directly, so untrusted workloads need network isolation and a gateway that rewrites X-Forwarded-For. Restores ODT on the document extractor page (parsed locally, or through the Unstructured API when one is configured) and qualifies the Cloudflare tip as zone-level or per-hostname Authenticated Origin Pulls with your own certificate. Verified against dify 229c3f1165 and graphon 4fa2214.

* fix: add cloudflare tunnel as a way to restrict origin access

Takes the reviewer's wording for the Cloudflare tab: zone-level or per-hostname Authenticated Origin Pulls with your own certificate, or Cloudflare Tunnel.

* docs: document app package export and import for ce 1.18.0 (#1097)

* docs: replace app management with an export and import apps page

* docs: point agent, version, and marketplace pages to app packages

* docs: restructure key concepts and rewrite the dsl and env var sections

* docs: restore size tips for oversized creator center uploads

* docs: clarify what an update import keeps and how integrations install

* docs: use the export agent label for agent exports

* docs: list workflow, swagger api, and mcp tools as left behind on export

* docs: list agent file system files as left behind and update export labels in the glossary

Adds persistent files in an Agent's file system to what the export leaves behind, since packages carry only the Files section. Replaces the Export DSL and Import DSL file glossary rows, whose keys #42732 removed, with Export App and Import App, adds Export Agent, Export secret values, and App package, and regenerates the termbase. Fixes the ja wording for packages exported from a Workflow or Chatflow. Verified against dify 229c3f1165.

* docs: rewrite the cli docs for difyctl in dify 1.18.0 (#1126)

* docs: rewrite the english cli docs for difyctl in dify 1.18.0

- Add the CE pages for the difyctl command set that ships with Dify
  1.18.0, grouped in the nav as Work with Apps, Manage difyctl, and
  Reference, with Get Started covering install, sign-in, and agent setup.
- Move the pre-1.18.0 pages to en/cloud/cli for Dify Cloud readers.
- Point the environment variable reference at the new Get Started page.
- docs.json: navigation for all three languages and redirects from the
  retired pages. The zh and ja pages follow in a separate commit, so the
  zh and ja navigation points at pages that are not in this commit.

* fix: correct the dsl example indent and reword the build apps opening

- Indent the "mode" lines in the DSL page's app list example to match
  the lines around them.
- Open Build Apps with the recommendation to let the coding agent build
  the app, since the page covers no hand-built path.

* translate: sync the zh and ja cli docs with the 1.18.0 rewrite

- Bring the zh and ja CE CLI pages in line with the English rewrite,
  including the new pages, the Work with Apps, Manage difyctl, and
  Reference nav groups, and the moved Find and Run Commands and Build
  Apps pages.
- Move the pre-1.18.0 zh and ja pages to the Cloud tree.
- Point the zh and ja environment variable references at Get Started.
- Translate natural-language example values in code blocks, per the
  zh and ja formatting guides.

* fix: link the cli dsl page to the merged app package pages

Removes the pending-link markers now that Key Concepts and Export and Import Apps are on the release branch, and points the zh and ja DSL links at #dify-dsl.

* fix: match the knowledge retrieval field label in workflow 101 lesson 4

The 1.18.0 tag renames the field to Knowledge Base in en; the ja page also gets the node's 知識検索 name and the field's ナレッジベース label.

* fix: scope agent tracing to agents outside workflow tools and clarify retention

Agents inside a workflow tool the app calls aren't traced, and each app also needs Capture Agent internals on. The reconcile task's retention deletes only the trace data Dify stores, not what the tracing provider already received.

This branch was successfully deployed

1 active deployment
staging — 9a79892e Deployed Oct 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants