15c0011897
feat: implement file structured output
2026-02-05 00:11:39 +08:00
10fb482351
perf: Remove deprecated optional props in LLM node tool config
2026-02-04 22:36:19 +08:00
9bd714623e
feat: Add mutual exclusion between structured output and tools in LLM
...
node
2026-02-04 22:36:19 +08:00
25065a4f2f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/app/components/workflow-app/hooks/use-nodes-sync-draft.ts
# web/contract/router.ts
2026-02-04 21:12:53 +08:00
365f749ed5
fix: remove staleTime/gcTime overrides from trigger query hooks and use orpc contract ( #31863 )
2026-02-04 19:33:32 +08:00
f686197589
feat: use latest hash to sync draft ( #31924 )
2026-02-04 19:32:36 +08:00
3bd228ddb7
chore: bump version in docker-compose and package manager to 1.12.1 ( #31947 )
2026-02-04 19:29:28 +08:00
1e344f773b
refactor(web): extract complex components into modular structure with comprehensive tests ( #31729 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-04 18:35:31 +08:00
8a9e0e3b31
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/eslint-suppressions.json
2026-02-04 18:15:32 +08:00
49de78a20b
fix: use oRPC query keys for sandbox file download and invalidation
...
Replaced plain array query key in useSandboxFileDownloadUrl with
oRPC-generated queryKey for type safety and consistency. Added
downloadFile cache invalidation to useInvalidateSandboxFiles so
stale download URLs are cleared after workflow/chatflow runs.
2026-02-04 18:14:20 +08:00
ad3be1e4d0
fix: include locale in appList query key for localization support inuseExploreAppList ( #31921 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-04 18:12:30 +08:00
297dd832aa
refactor(datasets): extract hooks and components with comprehensive tests ( #31707 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-04 18:12:17 +08:00
23f98652e1
perf: Add null check for onAssembleVariables callback
2026-02-04 17:52:13 +08:00
cc5705cb71
fix: auto summary env ( #31930 )
2026-02-04 17:47:38 +08:00
74b027c41a
fix: fix mcp output schema is union type frontend crash ( #31779 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-04 17:33:41 +08:00
2df0d540a9
fix: remove unreachable polling from artifacts-section
...
The Skill view is locked (ViewPicker disabled) while a workflow
is running or chatflow is responding, so ArtifactsSection is never
mounted during runs. Polling there is dead code.
2026-02-04 17:31:44 +08:00
5f69470ebf
test: try fix test, clear test log in CI ( #31912 )
2026-02-04 17:05:15 +08:00
625163705b
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-02-04 16:59:23 +08:00
d0200e90d2
feat: poll sandbox files every 5s during workflow/chatflow runs
...
Add conditional refetchInterval to Artifacts components so the file
list refreshes automatically while a workflow debug run or chatflow
preview is in progress, stopping once the run completes.
2026-02-04 16:59:09 +08:00
ec7ccd800c
fix: fix mcp server status is not right ( #31826 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-02-04 16:55:12 +08:00
ecf4c06ed7
chore: Update prompt editor context labels to Chat History
2026-02-04 15:22:27 +08:00
b96459b656
fix: Fix sub-graph variable null check logic
2026-02-04 15:22:27 +08:00
468990cc39
fix: remove api reference doc link en prefix ( #31910 )
2026-02-04 14:58:26 +08:00
64e769f96e
refactor: plugin detail panel components for better maintainability and code organization. ( #31870 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-04 14:51:47 +08:00
d84aaff825
feat: add loading state to Publish button during workflow publishing
...
Leverage React Query mutation's isPending to disable the Publish button,
header trigger, and keyboard shortcut while a publish is in progress,
preventing duplicate submissions even when the menu is closed and reopened.
2026-02-04 14:34:06 +08:00
00e9dce3ad
feat: add isPreviewable guard for binary file preview in artifacts
...
Add a unified isPreviewable flag to useFileTypeInfo that guards against
rendering binary files as text in both skill artifacts and variable
inspect artifacts preview. Upgrade extension arrays to Sets for O(1)
lookups.
2026-02-04 13:32:22 +08:00
8c6139fa21
chore: update pnpm-lock and remove unused import after merge
2026-02-04 13:16:55 +08:00
c111079624
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/file/file_manager.py
# api/core/workflow/graph_engine/response_coordinator/coordinator.py
# api/core/workflow/nodes/llm/node.py
# api/core/workflow/nodes/tool/tool_node.py
# api/pyproject.toml
# web/package.json
# web/pnpm-lock.yaml
2026-02-04 13:15:49 +08:00
d8402f686e
fix: base url in client ( #31902 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-04 12:09:22 +08:00
d056b23168
fix: use neutral title for artifacts empty state to fit both scenarios
2026-02-04 12:02:39 +08:00
36bfb08f34
fix: collaboration user's name display in editor line 1
2026-02-04 10:11:40 +08:00
45daec7541
refactor: replace line-clamp package with native CSS ( #31877 )
...
Co-authored-by: OSS Contributor <oss-contributor@example.com >
Co-authored-by: Claude (claude-opus-4-5) <noreply@anthropic.com >
Co-authored-by: niveshdandyan <niveshdandyan@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 22:14:18 +08:00
f1d099d50d
refactor: extract skill save context, stabilize mutation dependency, and deduplicate cache updates
...
Split SkillSaveContext and useSkillSaveManager into a separate file to
fix react-refresh/only-export-components lint error. Destructure
mutateAsync from useUpdateAppAssetFileContent for a stable callback
reference, preventing unnecessary useCallback cascade rebuilds. Extract
shared patchFileContentCache helper to unify setQueryData logic between
updateCachedContent and the collaboration event handler.
2026-02-03 21:09:35 +08:00
b76c8fa853
test: fix test ( #31880 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 18:47:05 +08:00
8c3e77cd0c
chore: update version to 1.12.0 ( #31878 )
2026-02-03 18:08:15 +08:00
c9b0d90ca7
Merge branch 'feat/support-agent-sandbox' of github.com:langgenius/dify into feat/support-agent-sandbox
2026-02-03 18:00:44 +08:00
70c887ed5c
fix undo/redo
2026-02-03 18:00:06 +08:00
178421a8ac
fix: pass appId instead of userId to sandbox file API calls
...
The backend route /apps/{app_id}/sandbox/files expects the actual app ID
as the URL parameter and derives sandbox_id from the logged-in user
internally. The frontend was incorrectly passing userProfile.id (user ID)
as the appId, resulting in wrong storage paths.
2026-02-03 17:59:21 +08:00
476946f122
test: fix test ( #31869 )
2026-02-03 17:43:27 +08:00
0fcddfe9a5
feat: invalidate sandbox files cache on workflow/chatflow run completion
...
Add useInvalidateSandboxFiles hook and call it alongside
fetchInspectVars/invalidAllLastRun so the Artifacts tab refreshes
automatically when a chatflow preview or workflow debug run finishes.
2026-02-03 16:47:05 +08:00
62a698a883
fix: create app from template not support review ( #31866 )
2026-02-03 16:40:35 +08:00
19a5aee38e
fix: hide divider when OnlineUsers component is not rendered
...
Move the Divider into the OnlineUsers component so it conditionally
renders together with the online users content, preventing an orphaned
divider from appearing next to the preview button.
2026-02-03 15:35:49 +08:00
31177462e1
fix: clean up mixed variable extractor code
2026-02-03 15:26:15 +08:00
ebca36ffbb
refactor: update oauth_new_user handling in AppInitializer to use parseAsBoolean ( #31862 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-03 15:20:26 +08:00
aa7fe42615
test: enhance CommandSelector and GotoAnythingProvider tests ( #31743 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-03 13:47:30 +08:00
5441b9c3ad
fix: add computer_use property to mixed variable extractor
2026-02-03 10:33:47 +08:00
808a32c457
fix: add pending state to export button to prevent duplicate clicks
...
Use useTransition to disable the export button and show loading state
in the DSL export confirm modal during async export operations.
2026-02-02 15:52:03 +08:00
9fb72c151c
refactor: "chore: update version to 1.12.0" ( #31817 )
2026-02-02 11:18:18 +08:00
f1c15e0a17
Revert "refactor!: migrate commonLayout to SSR prefetch with TanStack Query hydration"
...
This reverts commit 2833965815 .
2026-02-01 19:06:45 +08:00
e2913d9ee1
Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures"
...
This reverts commit 806ece9a67 .
2026-02-01 19:06:45 +08:00