Repository navigation
docs: merge release/1.19.0 into main - #1174
Merged
Merged
Conversation
* docs: add knowledge retrieval to the self-host agent build page * fix: describe the structured output fallback on the self-host llm page * docs: cover workflows bundled in app packages for 1.19.0 * docs: document the ops_trace_v2 queue and trace delivery settings * docs: add the gunicorn keep-alive variable * docs: add the plugin daemon uv cache directory variable * docs: update service api error codes and parameters for 1.19.0 * docs: add workspace skill commands to the cli reference * docs: list what disabling the marketplace hides in the console * docs: note the one-second limit of the skill import draft hash * docs: describe the skill import draft hash as a guard, not a guarantee * docs: shorten the skill package limit row in cli troubleshooting * docs: say which versions can import an app package exported from 1.19.0 * docs: note that include_all no longer filters the knowledge base list * docs: drop the outdated agents switch cause from the agent build page * Revert "docs: drop the outdated agents switch cause from the agent build page" This reverts commit f0e2252. dify-docs#1171 rewrites the same accordion for the new Docker configuration layout. * docs: allow null workflow inputs in the service api schema
* docs: update cli stop run and get run event for run ids * docs: say how to tell a stopped run or reply in cli stop docs * docs: correct the cli stop run docs against the 1.19.0 code * docs: restructure the cli stop sections to match the run apps page * docs: keep one example of a destructive command label * docs: split the incomplete and failed result bullets * docs: check the run state before handling run_not_stoppable * docs: limit the run_not_stoppable workaround to paused runs --------- Co-authored-by: RiskeyL <7a8y@163.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
* docs: align docker configuration and upgrade guidance Update the Docker Compose, environment-variable, and Dify Premium pages in English, Chinese, and Japanese for the categorized defaults layout in langgenius/dify#45359. Explain root and service override precedence, shared credential placement, mapped inputs, and Docker Compose requirements. Preserve working configuration during upgrades and identify values that now become effective. * docs: align shared defaults and code node configuration Point sandbox and Code node customization to the current defaults templates in English, Chinese, and Japanese. Explain copying new overrides, editing existing files, and uncommenting optional assignments. Document preserved shared.env paths and cleanup of accidental empty Celery worker overrides when upgrading to the consolidated shared defaults. * docs: describe current docker configuration workflow Clarify Docker Compose setup, optional service overrides, precedence, and configuration application across English, Chinese, and Japanese guides. Use current-state explanations and a complete Nginx customization example. Correct secret-key persistence, sandbox behavior, Code limits, WebSocket setup, and bundled credential defaults. Preserve upgrade guidance for local overrides, persistent storage, and the agent's named volumes. Remove the AWS AMI additions from this PR because its packaging is not established by the companion Docker configuration change. * docs: name api and worker configuration files explicitly Update Docker setup and environment references in English, Chinese, and Japanese to use api-worker.defaults and api-worker.env. Explain continued shared.env support and the precedence of the new file, and retain upgrade instructions for both existing and new override paths. * docs: correct premium upgrades and agent visibility guidance Update the Premium deployment guide in English, Chinese, and Japanese to use the current defaults templates and Docker Compose 2.35.0. Upgrade from a selected release while preserving local environment files, AWS Compose overrides, secrets, and persistent data. Replace outdated Agent template-sync advice with explicit override checks and web container recreation. Document the unset and empty true fallback from web.defaults, root precedence, and current navigation visibility. * docs: align bundled vector stores and sandbox configuration Describe automatic bundled provider defaults and preserve the existing override workflow in English, Chinese, and Japanese. Clarify root Agent sandbox token placement, matching Code sandbox credentials, and architecture-independent network request restrictions. * docs: clarify docker configuration and backup behavior Describe complete MySQL inputs, shared credential pairs, root override boundaries, middleware paths, and legacy variable replacements. Identify actual sandbox backup volumes and explain Code sandbox network reachability in English, Chinese, and Japanese. * docs: refine translated configuration instructions Clarify provider selection, optional template copying, unchanged container mappings, and preservation of configured or stored keys without altering the English guidance. * docs: preserve middleware config in weaviate commands Load middleware.env explicitly when managing Weaviate in the source-development stack. Document the Compose file and project options before the first command, and retain the existing project name across upgrades. Keep the English, Chinese, and Japanese migration instructions aligned. * docs: explain secure vector store upgrades Document OpenSearch certificate verification as enabled by default, require an explicit local demo-certificate opt-out, and explain that saved false overrides survive an upgrade. Preserve connections and Compose profiles for existing vector backends when choosing a new default. Explain legacy Weaviate fallbacks and continued provider override loading, with matching English, Chinese, and Japanese guidance. * docs: restructure the docker compose quick start Keep the first run to three steps and a sign-in, and give production hardening its own Secure the Deployment section. Cut Customize down to where settings go, how to apply them, and the Nginx worked example, and point to Environment Variables for vector stores, databases, and precedence. Keep Upgrade version-independent: back up (stop first, include named volumes), check out, review configuration, apply. Translate the restructured page into Chinese and Japanese. * docs: rewrite configuration files guidance and tighten env var sections Rewrite Configuration Files around finding the file for a variable, editing it, and applying the change, with a precedence order per service type. Say each rule once: drop the repeated precedence, keep-in-use, and sandbox-key reminders from the variable sections. Correct facts found in review: VECTOR_STORE switching steps (copy a non-Weaviate provider's defaults before switching, OceanBase and seekdb share settings), tidb_vector, client credentials that follow the bundled server settings, OpenSearch AWS defaults, Sentry inputs versus container variables, the agent stub URL exposure, and the DB_PLUGIN_DATABASE row's section. Drop shared.env notes, which move to the release notes. Carry the changes into Chinese and Japanese. * docs: restore the workspace role note in agent troubleshooting --------- Co-authored-by: RiskeyL <7a8y@163.com>
RiskeyL
marked this pull request as ready for review
November 4, 2026 07:00
Ill-donut
previously approved these changes
Nov 4, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documented workflows risk overwriting unmerged skill edits by capturing the draft hash too late and interrupting Weaviate’s index flush by using the default shutdown timeout.
2 open issues
What changed in this PR
Merges the CE 1.19.0 documentation into main, updating self-hosted deployment guidance, application behavior, and developer references across English, Chinese, and Japanese.
Changes:
- Documents the new Docker Compose configuration layout, security settings, backups, upgrades, and worker queues.
- Adds Agent Knowledge Retrieval guidance and updates app-package compatibility, structured output, and sandbox requirements.
- Updates CLI run controls, workspace Skill commands, API behavior, and shared terminology.
| File | Description |
|---|---|
zh/self-host/use-dify/workspace/export-import-apps.mdx |
Updates package contents, permissions, and compatibility. |
zh/self-host/use-dify/nodes/llm.mdx |
Explains structured-output fallback. |
zh/self-host/use-dify/nodes/code.mdx |
Clarifies sandbox networking and output limits. |
zh/self-host/use-dify/build/new-agent/build.mdx |
Adds Knowledge Retrieval and updates troubleshooting. |
zh/self-host/deploy/troubleshooting/weaviate-server-migration-path.mdx |
Corrects middleware Compose options. |
zh/self-host/deploy/quick-start/docker-compose.mdx |
Revises setup, customization, security, and upgrades. |
zh/self-host/deploy/platform-guides/dify-premium.mdx |
Updates Premium configuration and upgrade procedures. |
zh/self-host/deploy/advanced-deployments/local-source-code.mdx |
Updates worker queues and trace configuration. |
zh/cli/run-apps.mdx |
Documents run-ID controls and separate task stopping. |
zh/cli/reference/results-errors-and-exit-codes.mdx |
Clarifies stopped runs and Skill errors. |
zh/cli/reference/command-index.mdx |
Adds task stopping and workspace Skill commands. |
zh/cli/get-started.mdx |
Updates coding-agent approval guidance. |
zh/cli/find-and-run-commands.mdx |
Explains destructive-command labels. |
zh/api-reference/guides/errors.mdx |
Adds application and conversation error codes. |
writing-guides/glossary.md |
Distinguishes Knowledge Retrieval from Agent Knowledge Base. |
tools/translate/termbase_i18n.md |
Adds translated Knowledge Retrieval terminology. |
ja/self-host/use-dify/workspace/export-import-apps.mdx |
Updates package contents, permissions, and compatibility. |
ja/self-host/use-dify/nodes/llm.mdx |
Explains structured-output fallback. |
ja/self-host/use-dify/nodes/code.mdx |
Clarifies sandbox networking and output limits. |
ja/self-host/use-dify/build/new-agent/build.mdx |
Adds Knowledge Retrieval and updates troubleshooting. |
ja/self-host/deploy/troubleshooting/weaviate-server-migration-path.mdx |
Corrects middleware Compose options. |
ja/self-host/deploy/quick-start/docker-compose.mdx |
Revises setup, customization, security, and upgrades. |
ja/self-host/deploy/platform-guides/dify-premium.mdx |
Updates Premium configuration and upgrade procedures. |
ja/self-host/deploy/advanced-deployments/local-source-code.mdx |
Updates worker queues and trace configuration. |
ja/cli/run-apps.mdx |
Documents run-ID controls and separate task stopping. |
ja/cli/reference/results-errors-and-exit-codes.mdx |
Clarifies stopped runs and Skill errors. |
ja/cli/reference/command-index.mdx |
Adds task stopping and workspace Skill commands. |
ja/cli/get-started.mdx |
Updates coding-agent approval guidance. |
ja/cli/find-and-run-commands.mdx |
Explains destructive-command labels. |
ja/api-reference/guides/errors.mdx |
Adds application and conversation error codes. |
en/self-host/use-dify/workspace/export-import-apps.mdx |
Updates package contents, permissions, and compatibility. |
en/self-host/use-dify/nodes/llm.mdx |
Explains structured-output fallback. |
en/self-host/use-dify/nodes/code.mdx |
Clarifies sandbox networking and output limits. |
en/self-host/use-dify/build/new-agent/build.mdx |
Adds Knowledge Retrieval and updates troubleshooting. |
en/self-host/deploy/troubleshooting/weaviate-server-migration-path.mdx |
Corrects middleware Compose options. |
en/self-host/deploy/quick-start/docker-compose.mdx |
Revises setup, customization, security, and upgrades. |
en/self-host/deploy/platform-guides/dify-premium.mdx |
Updates Premium configuration and upgrade procedures. |
en/self-host/deploy/advanced-deployments/local-source-code.mdx |
Updates worker queues and trace configuration. |
en/cli/run-apps.mdx |
Documents run-ID controls and separate task stopping. |
en/cli/reference/results-errors-and-exit-codes.mdx |
Clarifies stopped runs and Skill errors. |
en/cli/reference/command-index.mdx |
Adds task stopping and workspace Skill commands. |
en/cli/get-started.mdx |
Updates coding-agent approval guidance. |
en/cli/find-and-run-commands.mdx |
Explains destructive-command labels. |
en/api-reference/openapi_service.json |
Updates errors, file inputs, retrieval, and knowledge-base behavior. |
en/api-reference/guides/errors.mdx |
Adds application and conversation error codes. |
Review effort: Balanced
…ore backup (#1176) * docs: read the skill draft hash before merging an export After draft_changed, read the new draft_hash with describe skill before exporting and merging, then import with that saved hash. Reading it after the merge could pick up a later edit and overwrite it. * docs: stop weaviate gracefully before an upgrade backup Stop the deployment with docker compose stop -t -1, so Compose doesn't force Weaviate down after its 10-second default and lose data.
Ill-donut
approved these changes
Nov 4, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Merges the CE 1.19.0 docs from
release/1.19.0into main. Draft until dify 1.19.0 is tagged and the remaining release PRs merge.On the release branch so far
stop runandget run eventfor run IDsUV_CACHE_DIRnames the plugin daemon version the 1.19.0 Compose file shipsStill to merge into the release branch
Don't add a backport label: the backport action would cherry-pick this diff back onto
release/1.19.0.Main hasn't moved since the release branch was cut (
e984d47d). If it moves before GA, sync it into the release branch first, so this merge needs no conflict resolution.