Harry
666868fa35
feat: remove unused import for CredentialsValidateFailedError in datasource provider service
2025-07-21 18:53:36 +08:00
Harry
ba7f0b3004
feat: enhance datasource authentication by improving credential handling and updating API parameters
2025-07-21 18:51:55 +08:00
zxhlyh
4d36e784b7
merge main
2025-07-21 17:45:26 +08:00
Harry
039a053027
feat: standardize credential type string for API key in datasource provider service
2025-07-21 17:40:50 +08:00
-LAN-
62b29b3d76
feat: update file manager and file factory implementations ( #22704 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-21 17:37:08 +08:00
Harry
7141181732
feat: remove unnecessary blank line in datasource authentication setup
2025-07-21 17:00:10 +08:00
Harry
17da96bdd8
feat: refactor datasource authentication APIs for improved credential management
2025-07-21 16:43:50 +08:00
uply23333
ab012fe1a2
fix: improve document filtering in full text search(elasticsearch) ( #22683 )
2025-07-21 15:59:37 +08:00
Jason Young
c7382150b5
test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers ( #22705 )
2025-07-21 15:58:36 +08:00
Harry
57b48f51b5
feat: convert credential form schemas to lists for consistency
2025-07-21 15:51:24 +08:00
Harry
af94602d37
feat: add APIs for setting default datasource provider and updating provider name
2025-07-21 15:49:39 +08:00
8bitpd
9251a66a10
fix: update analyticdb vector to do filter by metadata ( #22698 )
...
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2025-07-21 15:03:37 +08:00
jyong
9c96f1db6c
r2 transform
2025-07-21 14:51:40 +08:00
Harry
51d7a9b6be
feat: mask hidden values in tenant OAuth client retrieval
2025-07-21 14:35:46 +08:00
Harry
529eca70bc
feat: enhance datasource credential and OAuth schema serialization
2025-07-21 14:31:26 +08:00
Harry
ef8d941633
feat: simplify OAuth encrypter retrieval and remove unnecessary validation
2025-07-21 13:48:05 +08:00
Xin Zhang
bddeebd4c9
refactor: remove unused dissolve_tenant static method ( #22690 )
2025-07-21 12:40:47 +08:00
Harry
e97f03c130
feat: add custom OAuth client setup and enhance datasource provider model with avatar_url
2025-07-21 12:36:02 +08:00
quicksand
d45e48eed7
fix: knowledge retrieval validation error ( #22682 )
2025-07-21 11:22:32 +08:00
NeatGuyCoding
cbc3474bbb
minor fix: fix dissolve tenant check permission always failed ( #22292 )
2025-07-21 11:20:05 +08:00
Kushagra Singhal
383a79772c
Increased the character limitation ( #22679 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-21 09:58:10 +08:00
Bowen Liang
74940ad3f2
chore: code improvement for mcp_client and mcp_tools_manage_service ( #22645 )
2025-07-21 09:52:55 +08:00
Novice
17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version ( #22462 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com>
2025-07-21 09:28:47 +08:00
znn
19c09d6111
enabling vector index prefix name via configuration files ( #22661 )
2025-07-20 11:10:08 +08:00
Jason Young
6248658c04
fix: resolve Redis mock import error in test configuration ( #22663 )
2025-07-20 11:06:38 +08:00
Jason Young
274142c4c2
test: add comprehensive unit tests for auth service module ( #22662 )
2025-07-20 11:06:32 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
Harry
7364d051d2
feat: refactor provider name generation to use incremental naming & enforce unique constraints
2025-07-18 21:34:59 +08:00
Harry
23a5ff410e
feat: add avatar_url to datasource providers and update OAuth handling
2025-07-18 19:47:59 +08:00
jyong
34a6ed74b6
r2 transform
2025-07-18 19:22:31 +08:00
jyong
dc359c6442
r2 transform
2025-07-18 19:04:46 +08:00
Harry
dd59cea085
migrations
2025-07-18 14:58:10 +08:00
Harry
ab775bce26
feat: remove BuiltinDatasourceProvider class and related credential handling
2025-07-18 14:47:08 +08:00
Harry
82b531e949
feat: remove tenant_plugin_auto_upgrade_strategies table and adjust datasource_oauth_params
2025-07-18 14:44:01 +08:00
Harry
f325662141
feat: refactor DatasourceNode and KnowledgeIndexNode to use _node_data attribute
2025-07-18 14:25:11 +08:00
Harry
6ca5bc1063
feat: add datasource OAuth client setup command and refactor related models
2025-07-18 14:11:15 +08:00
twwu
5b2c99e183
Merge branch 'main' into feat/rag-2
2025-07-18 14:03:48 +08:00
birkhoff
71d96b671b
feat: update VECTOR_STORE supported types in api/.env.example ( #22617 )
...
Co-authored-by: nicksarno <nicksarno@ztm-tech.com>
2025-07-18 13:54:48 +08:00
kurokobo
a93db6d797
fix: correct tracing for workflows and chatflows for phoenix ( #22547 )
2025-07-18 13:54:18 +08:00
Jason Young
f2389771cf
test: add comprehensive API key authentication service tests ( #22572 )
2025-07-18 13:52:22 +08:00
znn
ed263aed9f
fix text splitter ( #22596 )
2025-07-18 13:51:58 +08:00
Harry
633bfc25e0
feat: update provider parameter naming and refactor related logic in datasource_auth.py
2025-07-18 13:13:20 +08:00
Harry
0ac5c0bf3e
feat: refactor OAuth provider handling and improve provider name generation
2025-07-18 12:47:32 +08:00
-LAN-
1f9cd99bc2
refactor: elegant event dispatch patterns (92% complexity reduction) ( #22600 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-18 10:34:47 +08:00
jiangbo721
ffee6f3288
fix: admin feedback uses the same method create_feedback ( #22580 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-18 10:10:31 +08:00
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-18 10:08:51 +08:00
kenwoodjw
61a5741c05
fix celery config ( #22566 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-18 09:41:09 +08:00
-LAN-
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:29 +08:00
-LAN-
b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching ( #22597 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:05 +08:00
hato_code
62586719b3
fix: remove redundant partial member list retrieval in dataset API ( #15492 )
2025-07-17 22:56:18 +08:00
helojo
e7d80bf7bf
Fix: the pict type picture was not processed in the docx ( #19305 )
...
Co-authored-by: zqgame <zqgame@zqgame.local>
2025-07-17 22:53:35 +08:00
Kalo Chin
7a69b57823
Fix jinja2 variable naming inconsistencies ( #22578 )
2025-07-17 22:16:47 +08:00
Harry
3388e83920
Merge remote-tracking branch 'origin/main' into feat/rag-2
...
# Conflicts:
# .github/workflows/build-push.yml
# web/app/components/workflow/nodes/_base/components/workflow-panel/index.tsx
2025-07-17 17:56:56 +08:00
Maries
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
zxhlyh
e0e0a7661d
merge main
2025-07-17 16:49:59 +08:00
zxhlyh
de47b56ca4
merge main
2025-07-17 16:49:22 +08:00
zxhlyh
01566035e3
merge main
2025-07-17 16:48:43 +08:00
jyong
cc96b7f507
r2 transform
2025-07-17 16:45:30 +08:00
jyong
ad7650e724
r2 transform
2025-07-17 16:36:40 +08:00
jyong
d0c78d079b
r2 transform
2025-07-17 15:32:58 +08:00
jyong
761ea0eedb
r2 transform
2025-07-17 15:22:39 +08:00
Jason Young
74caebac32
test: add comprehensive OAuth authentication unit tests ( #22528 )
2025-07-17 14:20:59 +08:00
Stream
4b2baeea65
fix: use model provided by user in prompt generator ( #22541 ) ( #22542 )
...
Co-authored-by: stream <stream@dify.ai>
2025-07-17 14:19:52 +08:00
NeatGuyCoding
93c27b134d
minor typo fix: remove debug code and fix typo ( #22539 )
2025-07-17 13:52:15 +08:00
NeatGuyCoding
853c97a910
minor bug fix: wrong default metrics endpoint ( #22535 )
2025-07-17 13:49:41 +08:00
quicksand
10e6b11ff6
fix: code node check decimal precision ( #22522 )
2025-07-17 13:21:17 +08:00
NeatGuyCoding
c3037c5491
minor code fix: remove duplicate type check branch ( #22536 )
2025-07-17 13:20:31 +08:00
quicksand
e4ae1e2b94
fix (ci) : remove test_url_signer ( #22525 )
2025-07-17 11:12:14 +08:00
zyssyz123
a4f421028c
Feat/change user email ( #22213 )
...
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2025-07-17 10:55:59 +08:00
jiangbo721
fb5c6dd644
chore: remove unused code ( #22501 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-17 09:33:31 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
kenwoodjw
3587bd4040
fix mcp error not input ( #22505 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-17 09:32:42 +08:00
jyong
a39d7e1f85
r2 transform
2025-07-16 19:26:33 +08:00
heyszt
f082452c9b
feat: add otel endpoint config ( #22492 )
2025-07-16 18:24:17 +08:00
jyong
aaa5b0e295
r2 transform
2025-07-16 18:05:40 +08:00
Chieh Wang
30aa052a57
feat: Add Citations and Attributions to Agent Node ( #18558 )
...
Co-authored-by: oneness0 <2902216407@qq.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-16 15:46:15 +08:00
qfl
bdb9f29948
feat(app): support custom max_active_requests per app ( #22073 )
2025-07-16 15:31:19 +08:00
baonudesifeizhai
d52fb18457
feat: auto-fill MCP server description with app description #22443 ( #22477 )
2025-07-16 15:03:33 +08:00
jyong
c660c98b04
r2 transform
2025-07-16 14:25:16 +08:00
heyszt
2c9ee54a16
fix aliyun trace session_id ( #22468 )
2025-07-16 13:56:44 +08:00
QuantumGhost
ddfd8c8525
feat(api): add UUIDv7 implementation in SQL and Python ( #22058 )
...
This PR introduces UUIDv7 implementations in both Python and SQL to establish the foundation for migrating from UUIDv4 to UUIDv7 as proposed in #19754 .
ID generation algorithm of existing models are not changed, and new models should use UUIDv7 for ID generation.
Close #19754 .
2025-07-16 13:07:08 +08:00
QuantumGhost
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
jyong
675ff9bd7d
r2 transform
2025-07-16 12:00:26 +08:00
jyong
6363ecef97
r2 transform
2025-07-16 11:49:59 +08:00
NeatGuyCoding
bf542233a9
minor fix: using Pydantic model_validate instead of deprecated parse_obj ( #22239 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-16 10:57:08 +08:00
Jason Young
38106074b4
test: add comprehensive unit tests for console authentication and authorization decorators ( #22439 )
2025-07-16 10:07:01 +08:00
jyong
384073f025
r2 transform
2025-07-16 02:02:08 +08:00
jyong
2012ea3213
r2 transform
2025-07-16 01:50:37 +08:00
NeatGuyCoding
7bf3d2c8bf
fix(api): Fix potential thread leak in MCP `BaseSession` ( #22169 )
...
The `BaseSession` class in the `core/mcp/session` package uses `ThreadPoolExecutor`
to run the receive loop but fails to properly clean up the executor and receiver
future, leading to potential thread leaks.
This PR addresses this issue by:
- Initializing `_executor` and `_receiver_future` attributes to `None` for proper cleanup checks
- Adding graceful shutdown with a 5-second timeout in the `__exit__` method
- Ensuring the ThreadPoolExecutor is properly shut down to prevent resource leaks
This fix prevents memory leaks and hanging threads in long-running scenarios where
multiple MCP sessions are created and destroyed.
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-16 00:01:44 +08:00
Jacky Wu
da53bf511f
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. ( #22371 )
2025-07-15 19:46:48 +08:00
jyong
1ad73ccdc8
r2
2025-07-15 17:54:53 +08:00
jyong
96484731a2
r2
2025-07-15 16:13:45 +08:00
quicksand
14f79ee652
fix: create api workflow run repository error ( #22422 )
2025-07-15 16:12:02 +08:00
-LAN-
df89629e04
fix: conversatino statistic including data from debugger ( #22412 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-15 15:45:45 +08:00
jyong
537e535d9a
r2
2025-07-15 15:33:40 +08:00
jyong
3a3b60bab5
r2
2025-07-15 15:00:38 +08:00
Hao Cheng
32c541a9ed
fix: generate deterministic operationId for root endpoints without one ( #19888 )
2025-07-15 14:19:55 +08:00
quicksand
5247c19498
fix: code result included "error" field ( #22392 )
2025-07-15 13:55:00 +08:00
湛露先生
9823edd3a2
fix workflow node iterator . ( #21008 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 10:55:49 +08:00
homejim
8e910d8c59
fix(plugin): introduce response_type parameter in plugin list API to enable paginated response support ( #22251 )
2025-07-15 10:10:37 +08:00