Byron Wang
8240798c66
Reconcile knowledge policy and error contracts with main CI
2026-11-28 15:13:30 -08:00
Byron Wang
80f814a09f
Merge main into the knowledge retrieval boundary refactor
2026-11-28 14:59:51 -08:00
yyh
5b5344e5b5
refactor(api): read workspace plans through one entry ( #46823 )
2026-11-20 06:27:41 +00:00
Byron Wang
012905e587
fix: restore knowledge boundary CI contracts and catalog focus handoff
2026-11-19 17:53:51 +08:00
Byron Wang
0c16845a68
Merge main into knowledge boundaries and preserve invitation concurrency
2026-11-19 15:57:33 +08:00
Zixuan Cheng and Claude Fable 5.2
81fd704129
fix(api): release the request session before Service API handlers run ( #46244 )
...
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-18 07:05:29 +00:00
7b19f9d65b
fix(hitl): restore form API compatibility and harden IM workflows ( #46548 )
...
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-17 13:44:16 +00:00
Jyong
582cab8491
Merge main into stack/knowledge-01-boundaries
...
Resolve conflicts with the configurable knowledge base description limit,
the blocking workflow run connection fix, read_media tool observations,
debug conversation workspace retirement, Ruff N815 and the strict pyrefly
test conversions.
2026-11-17 17:45:08 +08:00
Jyong and Claude Fable 5.2
1ea0398bcd
fix(api): restore Service API dataset, document and segment behavior
...
- List workspace datasets for Service API callers without the owner's
account visibility; only tenant and resource grant bound the result.
- Refuse deleting archived documents through the Service API (403) and
restore the error in the generated contracts.
- Gate segment writes only while the document is being indexed; the
Service API create path again requires a completed, enabled document.
- Wait 5 s instead of 600 s for the document lock in request paths and
report a busy lock as an invalid action instead of a 500.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-17 15:36:06 +08:00
cf069c1018
feat(api): make knowledge base description limit configurable ( #45075 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai >
2026-11-17 02:57:44 +00:00
Byron Wang
24cf511f12
Merge main into stack/knowledge-01-boundaries
2026-11-16 22:35:39 +08:00
MindOfqc
4dc4748569
test(api): bring the service API file tests under strict pyrefly ( #46364 )
2026-11-16 12:34:44 +00:00
Stephen Zhou
13ff05db59
fix(api): harden file previews and signed URL renewal ( #46505 )
2026-11-16 09:35:10 +00:00
Byron Wang
a62dd487e2
Merge latest main and preserve retrieval validation and persistence behavior
2026-11-16 12:47:29 +08:00
Byron Wang
9c7fd366b9
Merge main into knowledge boundaries and resolve conflicts
2026-11-16 12:36:42 +08:00
MindOfqc
965fd47f97
test(api): bring the audio API tests under strict pyrefly ( #46421 )
2026-11-14 16:28:56 +00:00
Jyong and Claude Fable 5.2
3cefb1a0ef
fix(api): return 400 for invalid knowledge pipeline run input and cap document names ( #46029 )
...
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-13 13:59:21 +00:00
4833948da6
fix(workflow): map WEB_APP invocations to a HITL surface with web form tokens ( #45753 ) ( #45827 )
...
Co-authored-by: severus0044 <288351380+severus0044@users.noreply.github.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-13 06:44:37 +00:00
MindOfqc
6249e60652
test(api): bring the service API workflow event tests under strict pyrefly ( #46191 )
2026-11-13 05:37:36 +00:00
Keith
4e1c01bd2b
refactor(models): pass session into WorkflowDraftVariable value decoding ( #43112 )
2026-11-12 03:49:22 +00:00
Byron Wang
2b8ed9a1d7
Merge main into stack/knowledge-01-boundaries
2026-11-11 13:42:13 +08:00
XiaoBa
23ea5e3562
fix: validate retrieval attachment UUIDs and tolerate invalid image history ( #45915 )
2026-11-09 11:36:53 +00:00
Byron Wang
78ff26901e
fix(api): address knowledge review regressions
...
Preserve retrieval settings at the service API boundary and allow enabling segments alongside edits. Recover healthy Notion indexes after preflight failures, invalidate recovery before cleanup, and resume cleanup safely after lease loss. Bound workflow file-reference scans and retain unresolved candidates without adding database tables.
2026-11-06 14:01:38 +08:00
Byron Wang
717cc63143
Merge main into knowledge application boundary refactor
2026-11-06 13:07:12 +08:00
Tianyu Cai
ce7ccc3754
fix(api): use the dataset doc_form when document requests omit it ( #45581 )
2026-11-05 06:55:00 +00:00
Felix Shi and shi-felix
bd1ed239e9
test(api): annotate five controller test modules for strict pyrefly ( #45458 )
...
Co-authored-by: shi-felix <204130665+shi-felix@users.noreply.github.com >
2026-11-04 15:56:14 +00:00
Byron Wang
fdc59df443
Merge main into knowledge application boundary refactor
...
Resolve conflicts while preserving knowledge application boundaries and current main behavior for model validation, converted-file downloads, token scope, strict pagination, and tracing.
2026-11-04 20:34:13 +08:00
Stephen Zhou
193fdfa6ce
test(api): cut per-test overhead and fixed waits in unit tests ( #45388 )
2026-11-03 07:00:56 +00:00
Eddy ZHANG
074e9e0b92
refactor(api): annotate KnowledgeFS Service API return types ( #45295 )
2026-11-03 06:05:40 +00:00
Guishi Wang
b5722ed557
fix(api): enforce dataset service API token scope ( #44840 )
2026-11-02 21:30:01 +00:00
Felix Shi and Felix Shi
a8631e5bfe
test(api): strictly type four controller unit tests ( #45332 )
...
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com >
2026-11-02 18:42:30 +00:00
Felix Shi and Felix Shi
33aacca661
test(api): strictly type service API message and workflow tests ( #45334 )
...
Co-authored-by: Felix Shi <204130665+shi-felix@users.noreply.github.com >
2026-11-02 15:30:56 +00:00
-LAN-
43d8c3715a
refactor(tracing): one trace pipeline behind a minimal provider interface ( #44673 )
2026-11-02 12:16:49 +08:00
64a99c5556
chore: bump restx. now deco has type ( #37391 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-11-02 03:24:33 +00:00
Jyong
1c54772c11
Merge main into knowledge application boundary refactor
...
Resolve conflicts while retaining explicit application boundaries and current main behavior. Preserve credential refresh retries, optional indexing setup, QA answer updates, billing error handling, and generated API exports.
2026-11-01 22:04:08 +08:00
Eddy ZHANG
5336037aa9
test(api): strictly type service API fixtures and conversation tests ( #45180 )
2026-10-31 17:04:53 +00:00
Peter Pan and WH-2099
5907db83b0
fix(oauth): serialize and persist provider credential refreshes ( #32195 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-10-31 12:04:00 +00:00
yyh
3ae9147417
feat(api): map billing error reasons to typed console errors ( #45170 )
2026-10-31 06:27:30 +00:00
yyh
34c9438623
refactor(api): enforce that only the billing client reaches billing and saas ( #45145 )
2026-10-30 13:27:20 +00:00
Byron Wang
25fcc73fb2
fix: resolve CI failures
2026-10-30 19:00:30 +08:00
Byron Wang
a7fbbd26ae
Merge branch 'main' of github.com:langgenius/dify into stack/knowledge-01-boundaries
2026-10-30 18:02:44 +08:00
yyh and hjlarry
d945bea129
refactor(api): read billing subscription and usage through the generated client ( #45131 )
...
Co-authored-by: hjlarry <hjlarry@163.com >
2026-10-30 09:40:06 +00:00
Byron Wang
5b510efc78
fix(api): reconcile service contracts after merging main
2026-10-30 17:22:43 +08:00
Byron Wang
24f8702174
Merge main into knowledge service boundary refactor
2026-10-30 16:48:14 +08:00
Byron Wang
87c6d94564
refactor(api): clarify knowledge service boundaries and resource lifecycles
2026-10-30 16:13:53 +08:00
8cbb6c0130
feat: HITL IM integration ( #44864 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-30 02:43:31 +00:00
非法操作
ad6ed864a1
refactor(api): share console conversation queries and deletion ( #44043 )
2026-10-30 02:35:00 +00:00
非法操作
02ca1df07d
refactor(api): remove legacy account update endpoints ( #45015 )
2026-10-29 12:40:31 +00:00
非法操作
ac0bdd24db
refactor(api): share conversation variable queries and updates ( #43997 )
2026-10-29 02:00:06 +00:00
FFXN and autofix-ci[bot]
4bd3120690
feat(api): expose logical document deletion through Service API ( #44970 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-28 15:27:56 +00:00