Commit Graph

7813 Commits

Author SHA1 Message Date
kenwoodjw 7ca5e8812e fix: missing pipeline_templates.json when HOSTED_FETCH_PIPELINE_TEMPLATES_MODE is builtin (#27946)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-11-14 14:43:40 +08:00
katakyo 201fa723a5 fix: update input field width for retry configuration in RetryOnPanel (#28142) 2025-11-14 14:43:40 +08:00
ye4241 32b5ae3b71 fix: correct spelling of "模板" in translation files (#28151) 2025-11-14 14:43:40 +08:00
非法操作 f3bfccbd67 fix: inconsistent behaviour of zoom in button and shortcut (#27944) 2025-11-14 14:43:40 +08:00
Asuka Minato a4e3a39dd2 add doc (#28016)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:40 +08:00
yangzheli 9e753b031a refactor(web): reuse the same edit-custom-collection-modal component, and fix the pop up error (#28003) 2025-11-14 14:43:40 +08:00
mnasrautinno 15f3d68bc5 fix: app's ai site text to speech api (#28091) 2025-11-14 14:43:40 +08:00
Maries b9202d1e0a fix: simplify graph structure validation in WorkflowService (#28146)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:40 +08:00
-LAN- a6e9da1d89 chore: disable workflow logs auto-cleanup by default (#28136)
This PR changes the default value of `WORKFLOW_LOG_CLEANUP_ENABLED` from `true` to `false` across all configuration files.

## Motivation

Setting the default to `false` provides safer default behavior by:

- Preventing unintended data loss for new installations
- Giving users explicit control over when to enable log cleanup
- Following the opt-in principle for data deletion features

Users who need automatic cleanup can enable it by setting `WORKFLOW_LOG_CLEANUP_ENABLED=true` in their configuration.
2025-11-14 14:43:40 +08:00
Asuka Minato 125f37b562 convert to TypeBase (#27935)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 14:43:40 +08:00
Gritty_dev eea3f14777 test: create some hooks and utils test script, modified clipboard test script (#27928) 2025-11-14 14:43:40 +08:00
Gen Sato 0e43f5ad4d Add file type validation to paste upload (#28017) 2025-11-14 14:43:40 +08:00
非法操作 e3f85c1658 fix: variable assigner can't assign float number (#28068) 2025-11-14 14:43:40 +08:00
Bowen Liang 10571fcf7c fix: determine cpu cores determination in baseedpyright-check script on macos (#28058) 2025-11-14 14:43:39 +08:00
Yeuoly 244bd08db2 feat: introduce trigger functionality (#27644)
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zhsama <torvalds@linux.do>
Co-authored-by: Harry <xh001x@hotmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 14:43:37 +08:00
Jyong 73ef99c25a add transform-datasource-credentials command online check (#28124)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2025-11-14 14:43:13 +08:00
QuantumGhost d5a30c667b feat(api): Introduce `WorkflowResumptionContext` for pause state management (#28122)
Certain metadata (including but not limited to `InvokeFrom`, `call_depth`, and `streaming`)  is required when resuming a paused workflow. However, these fields are not part of `GraphRuntimeState` and were not saved in the previous
 implementation of  `PauseStatePersistenceLayer`.

This commit addresses this limitation by introducing a `WorkflowResumptionContext` model that wraps both the `*GenerateEntity` and `GraphRuntimeState`. This approach provides:

- A structured container for all necessary resumption data
- Better separation of concerns between execution state and persistence
- Enhanced extensibility for future metadata additions
- Clearer naming that distinguishes from `GraphRuntimeState`

The `WorkflowResumptionContext` model makes extending the pause state easier while maintaining backward compatibility and proper version management for the entire execution state ecosystem.

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-14 14:43:13 +08:00
Joel 9648020ab4 chore: improve the user experience of not login into apps (#28120) 2025-11-14 14:43:13 +08:00
Jyong 76be5c054b fix document index test (#28113) 2025-11-14 14:43:13 +08:00
湛露先生 c76f370f97 When graph_engine worker run exception, keep the node_id for deep res… (#26205)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-11-14 14:43:13 +08:00
Joel 853f5ff09e chore: not SaaS version can query long log time range (#28109) 2025-11-14 14:43:13 +08:00
Jyong 2ee55d8bc8 fix document enable (#28081) 2025-11-14 14:43:12 +08:00
lyzno1 57a7e3c20f chore: add type-check to pre-commit (#28005) 2025-11-14 14:43:12 +08:00
Ali Saleh 3160242fca fix(api): Trace Hierarchy, Span Status, and Broken Workflow for Arize & Phoenix Integration (#27937)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
crazywoola 001e4f8c69 chore: remove unused enterprise bot from the readme (#28073)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
github-actions[bot] 48c95f4ccf chore: translate i18n files and update type definitions (#28054)
Co-authored-by: iamjoel <2120155+iamjoel@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
Will 1418512f24 chore: Remove trailing space from migration filename (#28040) 2025-11-14 14:43:12 +08:00
Joel f834f8a160 Chore: change query log time range (#28052)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
QuantumGhost feaad67531 feat(api): Introduce Broadcast Channel (#27835)
This PR introduces a `BroadcastChannel` abstraction with broadcasting and at-most once delivery semantics, serving as the communication component between celery worker and API server.

It also includes a reference implementation backed by Redis PubSub.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
Will 9592b72aa3 fix workflow default updated_at (#28047) 2025-11-14 14:43:12 +08:00
huangzhuo1949 6325ed9cd3 fix: elasticsearch_vector version (#28028)
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
Will ab39f39db0 feat: Add Audio Content Support for MCP Tools (#27979) 2025-11-14 14:43:12 +08:00
NeatGuyCoding becabd84a9 Fix typo in weaviate comment, improve time test precision, and add security tests for get-icon utility (#27919)
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
dependabot[bot] 62de0e97e5 chore(deps): bump scipy-stubs from 1.16.2.3 to 1.16.3.0 in /api (#28025)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
Asuka Minato aa0fdbf759 add onupdate=func.current_timestamp() (#28014)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-14 14:43:12 +08:00
Kenn c3b48cca11 fix: the model list encountered two children with the same key (#27956)
Co-authored-by: haokai <haokai@shuwen.com>
2025-11-14 14:43:12 +08:00
wangxiaolei 874ee69f2b fix: fix https://github.com/langgenius/dify/issues/27939 (#27985) 2025-11-14 14:43:12 +08:00
OneZero-Y 8f499d9894 docs: clarify how to obtain workflow_id for version execution (#28007)
Signed-off-by: OneZero-Y <aukovyps@163.com>
2025-11-14 14:43:12 +08:00
kenwoodjw f16a42ee52 fix: bump brotli to 1.2.0 resloved CVE-2025-6176 (#27950)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-11-14 14:43:12 +08:00
hj24 9b43b9f1e9 refactor: implement tenant self queue for rag tasks (#27559)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-11-14 14:43:12 +08:00
QuantumGhost f8e01d7df8 fix(api): fix `VariablePool.get` adding unexpected keys to variable_dictionary (#26767)
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 14:43:11 +08:00
NFish ead5a78faa fix: prevent fetch version info in enterprise edition (#27923) 2025-11-14 14:43:10 +08:00
Jyong fd2ff963a9 fix jina reader transform (#27922) 2025-11-14 14:42:39 +08:00
CodingOnStar 7492b39ff0 feat: add registration and create_app tracking 2025-11-14 14:40:53 +08:00
CodingOnStar 8b5533e1a4 Enhance Amplitude tracking by validating user ID and properties
- Updated middleware to include Amplitude domains.
- Improved setUserId function to handle empty user IDs and log warnings in development.
- Enhanced setUserProperties function to filter out invalid properties and log results in development.
- Refactored user tracking in AppContextProvider to streamline setting user and workspace properties.
2025-11-07 11:22:26 +08:00
CodingOnStar fa7a0fd3d1 Implement event tracking for app creation and user actions across various components 2025-11-07 11:11:45 +08:00
CodingOnStar 2a20a96123 Add Amplitude analytics integration and tracking (#27890)
- Introduced AmplitudeProvider component for initializing Amplitude analytics.
- Integrated user tracking in AppContextProvider to report user and workspace information.
- Added event tracking for workflow log filter selections.
- Updated package.json and pnpm-lock.yaml to include @amplitude/unified dependency.
2025-11-07 10:52:50 +08:00
red_sun 61a0fcc2ea
fix agent putout the output of workflow-tool twice (#26835) (#27087) 2025-11-06 09:41:05 +08:00
Jyong f627348b11
fix jina reader creadential migration command (#27883) 2025-11-05 18:42:07 +08:00
Cursx 87fb9a6b69
fix Version 2.0.0-beta.2: Chat annotations Api Error #25506 (#27206)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2025-11-05 17:37:19 +08:00