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
林玮 (Jade Lin)
733454eae3
feat(api): enforce moderation for Cloud AI-credit model calls ( #45987 )
2026-11-18 02:48:29 +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
Jyong and Claude Fable 5.2
f3597537e9
fix(api): make invitation completion cluster-safe and fix second-precision tokens
...
- Complete invitation acceptance with single-key Redis operations; the
four-key Lua script was rejected by Redis Cluster after the DB commit.
- Keep the invitation token valid after a login-time membership restore
so the invite-settings step can still activate it once.
- Take the global workspace quota lock only on Enterprise, where a
workspace-count limit exists.
- Write retry and summary CAS timestamps at second precision so equality
holds on MySQL DateTime columns.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-17 15:36:05 +08:00
Byron Wang
9c7fd366b9
Merge main into knowledge boundaries and resolve conflicts
2026-11-16 12:36:42 +08:00
68609e1b09
feat(evaluation): add Evaluation workspaces and execution ( #46141 )
...
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <jyong@dify.ai >
2026-11-16 02:43:34 +00:00
Jyong and Claude Fable 5.2
74bdfd1fe4
feat(file-scan): scan uploaded knowledge base files for malware ( #46090 )
...
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-13 09:46:56 +00:00
3774ea85ae
ci: bump tyck to check new err ( #45614 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-11-11 07:31:35 +00:00
Byron Wang
2b8ed9a1d7
Merge main into stack/knowledge-01-boundaries
2026-11-11 13:42:13 +08:00
583615e412
feat: support personal access token ( #45540 )
...
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: Eldar Dadashov <52511672+eldardada@users.noreply.github.com >
Co-authored-by: Byron.wang <byron@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai >
2026-11-11 03:00:24 +00:00
wangxiaolei
262cbe8dab
chore: remove unnessary rbac call ( #45857 )
2026-11-09 02:26:30 +00:00
Byron Wang
e61233eaab
fix(api): decouple knowledge file lookups from execution scopes
2026-11-08 13:38:32 +08:00
Byron Wang
115a4e05e7
fix(api): sign embedded file links in hit testing results
2026-11-08 13:15:00 +08:00
Byron Wang
17510a4b0a
Merge latest main and preserve external knowledge validation
2026-11-06 13:13:07 +08:00
Byron Wang
717cc63143
Merge main into knowledge application boundary refactor
2026-11-06 13:07:12 +08:00
Sourav Rajvi and Byron Wang
d65a57b7c7
fix(api): tighten RAGFlow external knowledge endpoint validation ( #40065 )
...
Co-authored-by: Byron Wang <byron@dify.ai >
2026-11-06 04:45:32 +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
FFXN
c3780668b8
fix(knowledge): restore downloads after converting datasets to pipelines ( #45428 )
2026-11-03 08:44:35 +00:00
Guishi Wang
b5722ed557
fix(api): enforce dataset service API token scope ( #44840 )
2026-11-02 21:30:01 +00:00
96b1b20c76
feat(api): validate models before knowledge base upgrades ( #45312 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
2026-11-02 11:13:21 +00:00
Jyong
fb01efbfd5
fix: isolate extracted image cleanup and prefixed indexing locks
...
Allocate a unique blob key per extracted upload while retaining tenant-scoped legacy image reuse. Restrict reuse to extractor-owned keys so ordinary upload names cannot impersonate images. Derive handoff markers from the physical Redis lock name to keep prefixed Lua keys in one cluster slot without changing existing lock names.
Add real repository/storage regression coverage for concurrent rollback and committed cleanup, legacy reuse, filename isolation, and Redis prefixes.
2026-11-01 22:04:45 +08: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
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
Tanishq
ae0ed2d2f1
fix(api): keep stored QA answers on partial segment updates ( #44997 )
2026-10-30 16:19:04 +00:00
4293584598
ci: bump type checker ( #44015 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-10-30 11:22:51 +00:00
Byron Wang
25fcc73fb2
fix: resolve CI failures
2026-10-30 19:00:30 +08: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
Tianyu Cai
a709c29669
perf(api): batch segment list child chunks and attachments ( #45050 )
2026-10-29 08:04:31 +00:00
wangxiaolei
a394d04443
fix: fix list dataset not include own ( #44795 )
2026-10-26 08:06:22 +00:00
Tianyu Cai and Claude Opus 5.5
06b8640c4a
fix(api): discard index entries of documents deleted during indexing ( #44364 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 05:24:08 +00:00
fd2db63184
feat: KnowledgeFS and New Knowledge ( #44165 )
...
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zhaohao1004 <zhaohao1004@gmail.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: FFXN <lizy@dify.ai >
2026-10-23 03:34:59 +00:00
7445e48323
chore: port Document to TypeBase ( #36084 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-10-23 02:56:00 +00:00
e7c2c6fad5
fix(api): write built-in document metadata in a single format ( #44218 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: Stream <Stream_2@qq.com >
2026-10-20 14:44:34 +00:00
6f434baf93
ci: enable Ruff B904 ( #44121 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: hjlarry <hjlarry@163.com >
2026-10-19 12:47:53 +00:00
7cafd65d54
refactor(web): migrate handwritten console API calls to the generated oRPC contract ( #44169 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 03:47:31 +00:00
Asuka Minato and Codex
6bdc670766
ci: enable Ruff N806 ( #44116 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-16 02:11:01 +00:00
Asuka Minato and Codex
cd8301a468
ci: enable Ruff SIM108 ( #44113 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 09:45:52 +00:00
Asuka Minato and Codex
a4e0a0c10d
ci: enable Ruff E712 ( #44114 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 07:37:57 +00:00
Asuka Minato and Codex
14f863a23f
ci: enable Ruff FURB113 ( #44109 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 05:00:19 +00:00
Asuka Minato and Codex
7b467ec651
ci: enable Ruff SIM103 ( #44110 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 05:00:16 +00:00
wangxiaolei and yunlu.wen
7a02240701
feat: support clean workspace related resource ( #43803 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-10-14 04:44:38 +00:00
XiaoBa
51a8dba933
fix(api): preserve creator RBAC access across app and RAG pipeline creation ( #43941 )
2026-10-13 16:56:49 +00:00
Byron.wang and Stream
b71c5f8671
refactor(api): consolidate app queries and clarify session ownership ( #43288 )
...
Co-authored-by: Stream <Stream_2@qq.com >
2026-10-12 07:29:44 +00:00
Jasonfish
4f1fe1127f
fix: restore vectors when segments are re-enabled via API ( #43865 )
2026-10-11 15:30:10 +00:00
Byron.wang
2f20c7d958
refactor(api): separate workspace RBAC controllers and application service ( #43323 )
2026-10-10 09:46:01 +00:00
50f66b43c8
chore(api): bump minimum supported Python to 3.13 ( #43022 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-10-09 10:47:03 +00:00