-LAN- and GitHub
e340fccafb
feat: integrate flask-orjson for improved JSON serialization performance ( #23935 )
2025-08-14 19:50:59 +08:00
1ffe190557
Feat/improved mcp timeout configs ( #23605 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-08-12 13:14:00 +08:00
crazywoola and GitHub
1c60b7f070
Revert "feat: improved MCP timeout" ( #23602 )
2025-08-08 11:20:53 +08:00
Will and GitHub
4b0480c8b3
feat: improved MCP timeout ( #23546 )
2025-08-08 09:08:14 +08:00
rouxiaomin and GitHub
40a11b6942
feat(api):Enhance the scope of expired data cleanup table in the Dify… ( #23414 )
2025-08-05 19:57:43 +08:00
Asuka Minato and GitHub
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
NeatGuyCoding and GitHub
759ded3e3a
minor fix: fix default for status of TidbAuthBinding in compatible with various versions ( #22288 )
2025-08-01 14:51:16 +08:00
Asuka Minato and GitHub
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
Yongtao Huang and GitHub
1c05491f1c
Chore: remove duplicate TYPE_CHECKING import ( #23013 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
2025-07-28 10:04:45 +08:00
Asuka Minato and GitHub
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-24 00:57:45 +08:00
eaae79a581
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Novice <novice12185727@gmail.com >
2025-07-23 15:33:39 +08:00
ad67094e54
feat: oauth refresh token ( #22744 )
...
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-07-23 13:12:39 +08:00
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 00:39:59 +08:00
383a79772c
Increased the character limitation ( #22679 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-07-21 09:58:10 +08:00
znn and GitHub
19c09d6111
enabling vector index prefix name via configuration files ( #22661 )
2025-07-20 11:10:08 +08:00
Aryan Raj and GitHub
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
-LAN- and GitHub
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-07-18 09:26:29 +08:00
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-07-17 17:18:44 +08:00
yihong and GitHub
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-07-17 09:33:07 +08:00
QuantumGhost and GitHub
2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization ( #22025 )
...
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025 )
This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.
Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types
Closes #22024 .
2025-07-16 12:31:37 +08:00
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-14 14:54:38 +08:00
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-10 14:01:34 +08:00
-LAN- and GitHub
4cb50f1809
feat(libs): Introduce extract_tenant_id ( #22086 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-07-09 17:45:56 +08:00
NeatGuyCoding and GitHub
ebc4fdc4b2
moving the MessageStatus class from the models.model module to models.enums module ( #21867 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com >
2025-07-03 13:56:23 +08:00
e17b33e004
chore: add message status enum ( #21825 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-02 21:22:28 +08:00
YoungLH and GitHub
b8b9c3a783
fix: set the func.coalesce() second paramter default value #21239 ( #21240 )
...
Signed-off-by: YoungLH <974840768@qq.com >
2025-07-01 11:31:14 +08:00
9ded6f6a40
[fix] #21678 User input of remote file link on the run page form causes conversation/message interface error ( #21683 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn >
2025-07-01 10:40:39 +08:00
90aba77471
chore: remove unused code ( #21497 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-06-26 10:08:17 +08:00
-LAN- and GitHub
8f15341f1e
fix(event_handlers): DB dead lock ( #21468 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-25 16:20:37 +08:00
9de552cb42
fix: first message query error ( #21444 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-06-24 20:32:50 +08:00
QuantumGhost and GitHub
10b738a296
feat: Persist Variables for Enhanced Debugging Workflow ( #20699 )
...
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.
By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.
Key highlights of this change:
- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.
Closes #19735 .
2025-06-24 09:05:29 +08:00
-LAN- and GitHub
6b1ad634f1
fix(workflow_run): sequence_number race. ( #21228 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-19 17:53:49 +08:00
Xin Zhang and GitHub
30cfc9c172
Feat/plugin install scope management ( #19963 )
2025-06-18 16:25:00 +08:00
QuantumGhost and GitHub
930c4cb609
feat(api): Adjust WorkflowDraftVariable and WorkflowNodeExecutionModel ( #20746 )
...
- Add `node_execution_id` column to `WorkflowDraftVariable`, allowing efficient implementation of
the "Reset to last run value" feature.
- Add additional index for `WorkflowNodeExecutionModel` to improve the performance of last run lookup.
Closes #20745 .
2025-06-06 21:03:59 +08:00
-LAN- and GitHub
5ccfb1f4ba
refactor: Improve model status handling and structured output ( #20586 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-04 19:56:54 +08:00
-LAN- and GitHub
2ebf4e767b
fix(models): WorkflowRun's total_steps and exceptions_count mismatch with database ( #20452 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 07:53:13 +08:00
-LAN- and GitHub
f7fb10635f
refactor(workflow): Rename workflow node execution models ( #20458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:56:37 +08:00
-LAN- and GitHub
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:34:13 +08:00
-LAN- and GitHub
b357eca307
fix: Copy request context and current user in app generators. ( #20240 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-27 10:56:23 +08:00
6f982eb7e4
feat: add author_name for app list card ( #16900 )
...
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-05-26 18:20:53 +08:00
非法操作 and GitHub
9b1dc1de7a
fix: system file upload can't export custom file types ( #20122 )
2025-05-22 22:29:27 +08:00
-LAN- and GitHub
d31235ca13
feat: Introduce WorkflowExecution Domain Entity and Repository, Replace WorkflowRun Direct Usage, and Unify Stream Response Logic ( #20067 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-21 22:01:53 +08:00
QuantumGhost and GitHub
13dc1c8795
Simplify execution_metadata Handling for WorkflowNodeExecution ( #20062 )
...
Currently, `WorkflowNodeExecution.execution_metadata_dict` returns `None` when metadata is absent in the database. This requires all callers to perform `None` checks when processing metadata, leading to more complex caller-side logic.
This pull request updates the `execution_metadata_dict` method to return an empty dictionary instead of `None` when metadata is absent. This change would simplify the caller logic, as it removes the need for explicit `None` checks and provides a more consistent data structure to work with.
2025-05-21 18:38:16 +08:00
-LAN- and GitHub
3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors ( #19980 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-21 15:38:03 +08:00
湛露先生 and GitHub
911f9eadd0
fix model workflow_draft_variables duplicate app_id set. ( #19949 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2025-05-20 10:26:34 +08:00
QuantumGhost and GitHub
6a9e0b1005
feat(api): Introduce WorkflowDraftVariable Model ( #19737 )
...
- Introduce `WorkflowDraftVariable` model and the corresponding migration.
- Implement `EnumText`, a custom column type for SQLAlchemy designed
to work seamlessly with enumeration classes based on `StrEnum`.
2025-05-19 22:59:56 +08:00
4977bb21ec
feat(workflow): domain model for workflow node execution ( #19430 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-17 00:56:16 +08:00
-LAN- and GitHub
5360180a2a
feat: add index for workflow_conversation_variables.conversation_id ( #19657 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-14 14:16:15 +08:00
c76d763639
add endpoint of get feedbacks ( #18697 )
...
Co-authored-by: lizb <lizb@sugon.com >
2025-05-13 10:35:14 +08:00