Commit Graph
473 Commits
Author SHA1 Message Date
Byron Wang 0c16845a68 Merge main into knowledge boundaries and preserve invitation concurrency 2026-11-19 15:57:33 +08:00
Zixuan ChengandClaude 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
林玮 (Jade Lin) 733454eae3 feat(api): enforce moderation for Cloud AI-credit model calls (#45987) 2026-11-18 02:48: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
JyongandClaude 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
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
JyongandClaude 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
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
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
Evan 0fe1b06d1e fix: reject malformed pagination params with 400 instead of silent fallback (#36855) 2026-11-04 07:52:27 +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
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
yyhandhjlarry 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
非法操作 ac0bdd24db refactor(api): share conversation variable queries and updates (#43997) 2026-10-29 02:00:06 +00:00
FFXNandautofix-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
FFXN e40200dcd2 fix(api): restore Service API file document writes (#44972) 2026-10-28 15:07:17 +00:00
非法操作 1f500e52cc refactor(api): share conversation list queries (#43996) 2026-10-28 03:26:06 +00:00
非法操作 55b5265424 refactor(api): share conversation deletion and pin commands (#43992) 2026-10-27 07:38:42 +00:00
非法操作 55501cf62b refactor(api): share conversation rename service and repository (#43991) 2026-10-27 06:59:24 +00:00
非法操作andautofix-ci[bot] 092526a504 refactor(api): migrate Service API annotation management (#43809)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-27 06:20:08 +00:00
非法操作 69b58b68aa refactor(api): unify message list and detail queries (#43754) 2026-10-27 02:04:44 +00:00
非法操作 51e643fff1 refactor(api): unify message feedback across app entrypoints (#43748) 2026-10-26 09:46:11 +00:00
非法操作 a0c3901d39 refactor(api): unify message suggested questions across API surfaces (#43440) 2026-10-26 08:12:51 +00:00
ee98bdd5b5 refactor(models): migrate app and conversation models to TypeBase (#40814)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-23 07:26:26 +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
2a6764edc5 feat: add reusable network access group APIs (#41025)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-10-20 05:52:18 +00:00
-LAN-andautofix-ci[bot] 823f40e71f refactor(workflow): adopt Graphon 0.8 execution orchestration (#40277)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 13:03:56 +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
96202aa544 ci: enable Ruff F841 (#44115)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:47:17 +00:00
672a627fa5 ci: enable Ruff E402 (#44123)
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:16:16 +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
33b1c57f9d feat: document API errors per code and narrow them with oRPC defined errors (#44001)
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-14 08:25:50 +00:00
Stephen ZhouandClaude Opus 5.5 8a237c6daf fix(api): return 415 for unsupported pipeline upload file types (#44012)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:06:56 +00:00
Byron.wangandStream 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
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
c0dbb26f3e feat: access token feature (#42293)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: twwu <twwu@dify.ai>
2026-10-09 05:54:28 +00:00