ead985c42e
refactor(openapi): adopt resource-oriented paths and colon custom methods
...
Align the /openapi/v1 surface with the API Design Guide: replace verb path
suffixes with standard resource GETs and AIP-136 `:action` custom methods.
GET /apps/{id}/describe -> GET /apps/{id}
GET /permitted-external-apps/{id}/describe -> GET /permitted-external-apps/{id}
POST /apps/{id}/run -> POST /apps/{id}:run
POST /apps/{id}/tasks/{tid}/stop -> POST /apps/{id}/tasks/{tid}:stop
POST /apps/{id}/files/upload -> POST /apps/{id}/files
GET /apps/{id}/export -> GET /apps/{id}/dsl
GET /apps/{id}/check-dependencies -> GET /apps/{id}/dependencies
POST /workspaces/{ws}/apps/imports/{iid}/confirm -> POST /workspaces/{ws}/apps/imports/{iid}:confirm
POST /workspaces/{ws}/switch -> POST /workspaces/{ws}:switch
GET|POST /apps/{id}/form/human_input/{tok} -> /apps/{id}/human-input-forms/{tok} (+ :submit for POST)
PUT /workspaces/{ws}/members/{mid}/role -> PATCH /workspaces/{ws}/members/{mid}
difyctl is the sole consumer and ships in lockstep, so this is a hard cutover
(no /v2, no dual-mount). RFC 8628 device-flow routes and the `limit` pagination
param are intentionally left unchanged.
2026-07-07 12:06:57 +08:00
5a342f9258
feat(mcp): support MCP protocol 2025-06-18 for workflow-as-MCP server (version negotiation + structured output) ( #37892 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-07-07 03:26:50 +00:00
0a3426ea38
refactor(api): clarify DSL import and plugin migration boundaries ( #38483 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-07 02:06:49 +00:00
fc01d112a0
refactor(api): Stop masking refresh-token service errors as 401 ( #38463 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-06 18:14:54 +00:00
d0ea5a5e0d
chore(agent-v2): sync changes ( #38442 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: zyssyz123 <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com >
Co-authored-by: 盐粒 Yanli <mail@yanli.one >
2026-07-06 13:51:33 +00:00
64d72c6fb9
feat(api): pass app_id to model plugins for provider-side cost attribution ( #35859 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-06 08:54:16 +00:00
78ca1a8a76
fix(api): resolve plugin external user ids in backwards invocation ( #38098 )
...
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
Co-authored-by: Harsh Kashyap <harshkashyap@Harshs-MacBook-Pro.local >
2026-07-06 08:25:26 +00:00
5aae5c15b3
refactor(api): migrate web auth endpoints to BaseModel ( #37961 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-07-06 07:53:21 +00:00
b1724073fc
test: example use sqlite3 as unittest backend ( #38159 )
2026-07-06 07:31:51 +00:00
904fadde20
refactor(api): remove member field compatibility ( #37966 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-07-06 07:00:43 +00:00
77ae583b44
refactor(api): migrate dataset rag pipeline endpoints to BaseModel ( #37958 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-07-06 07:00:04 +00:00
c3b1508712
refactor(api): migrate workspace account endpoints to BaseModel ( #37954 )
2026-07-06 06:57:40 +00:00
d9c99daf29
fix(api): isolate side-effect session writes in multimodal and RAG handlers ( #38210 )
...
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com >
2026-07-06 05:17:12 +00:00
94c0967e30
refactor(api): migrate console explore endpoints to BaseModel ( #37953 )
2026-07-06 02:51:10 +00:00
ff5c5f3ca6
fix(api/tasks): use f-string for raise messages in resume_workflow_ex… ( #37607 )
...
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Harsh Kashyap <harshkashyap@Harshs-MacBook-Pro.local >
2026-07-06 02:36:14 +00:00
1b3e8e9943
chore(agent-v2): sync daily changes ( #38298 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: 盐粒 Yanli <mail@yanli.one >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: zyssyz123 <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai >
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com >
2026-07-05 08:09:38 +00:00
2e1ab194b7
refactor: replace db.paginate with plain SQLAlchemy pagination ( #38280 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-04 04:50:01 +00:00
070aed81d9
refactor: make session boundaries explicit for migration flows ( #38379 )
2026-07-04 04:43:01 +00:00
5e17af4530
feat(api): add sandbox info endpoint for Agent App conversations ( #38390 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-03 09:43:57 +00:00
91cc50371b
chore: use zstd for plugin model provider cache ( #38382 )
2026-07-03 08:58:30 +00:00
5cb76f5eff
refactor: manage rag pipeline sessions explicitly ( #38274 )
2026-07-03 08:15:37 +00:00
059a1fe090
chore: compress large plugin_model obj in redis ( #38374 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-03 07:32:07 +00:00
5622e8f7ea
feat(api): abort active workflow runs during Celery warm shutdown ( #38220 )
2026-07-03 04:51:53 +00:00
1bc279e7d4
fix: handle Xinference model credential context ( #38348 )
2026-07-03 04:12:00 +00:00
f4ec608ef4
chore(api): upgrade graphon to v0.6.0, migrate HITL logic back to Dify ( #38247 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-03 03:45:21 +00:00
374bdb7cdd
feat(device-flow): redirect SSO-complete failures to a dedicated device error view ( #38185 )
2026-07-03 02:11:54 +00:00
cf0f42a8da
perf(memory): batch-load message files in TokenBufferMemory to remove N+1 queries ( #38002 )
...
Co-authored-by: xiaweiwei67-stack <293320877+xiaweiwei67-stack@users.noreply.github.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-03 01:59:48 +00:00
2f0c6c10bd
refactor: thread explicit sessions through app retrieval paths ( #38309 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 17:00:47 +00:00
dcc06dee20
test: migrate tag service tests to testcontainers ( #38313 )
2026-07-02 11:58:56 +00:00
3f92e38616
fix: normalize query array params for oRPC ( #38322 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 11:07:10 +00:00
e13271ba29
fix: support multi-worker workflow collaboration ( #38242 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Blackoutta <hyytez@gmail.com >
Co-authored-by: Blackoutta <37723456+Blackoutta@users.noreply.github.com >
2026-07-02 08:16:03 +00:00
826b259d9f
fix: Working outside of application context. ( #38300 )
2026-07-02 06:47:35 +00:00
2ee7db27be
chore(api): disallow builtins getattr variants in new code ( #38250 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 06:32:46 +00:00
31bb8abbf1
fix(api): stop swallowing document indexing errors in create handler ( #38192 )
...
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Harsh Kashyap <harshkashyap@Harshs-MacBook-Pro.local >
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-07-02 06:29:56 +00:00
6c08a43af1
fix(templates): make End output variable names unique in built-in templates ( #38293 )
2026-07-02 06:06:07 +00:00
41fb484491
fix(api): tolerate legacy service_api end-user type on load ( #38271 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-02 05:34:36 +00:00
7fb797c121
fix(api): keep provider refresh waiters single-flight ( #38226 )
2026-07-02 04:46:10 +00:00
5d0576de0a
refactor(api): migrate console app chat endpoints to BaseModel ( #37952 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 04:43:58 +00:00
61650d34ce
refactor(web): remove custom console contract loaders ( #38284 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 03:32:02 +00:00
8540ca9242
refactor(web): migrate snippet console contracts ( #38258 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-01 16:31:39 +00:00
37bcb60c26
refactor(web): migrate plugin console contracts ( #38252 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-01 15:34:52 +00:00
ee1d33eaa6
refactor(web): migrate rbac access console contracts ( #38256 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-01 14:45:34 +00:00
005bc54c38
refactor: use Pydantic for sensitive word avoidance config (Fixes #37… ( #37660 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-07-01 06:46:48 +00:00
3390be3978
refactor: pass db.session explicitly in DatasetIndexToolCallbackHandler ( #38082 )
2026-07-01 06:16:13 +00:00
93981cf75f
refactor(web): migrate console contracts to generated routes ( #38233 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-07-01 05:41:37 +00:00
0923ebaf88
chore(agent-v2): sync daily changes ( #38162 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <wylswz@163.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yanli 盐粒 <yanli@dify.ai >
Co-authored-by: 盐粒 Yanli <beautyyuyanli@gmail.com >
Co-authored-by: zyssyz123 <916125788@qq.com >
Co-authored-by: 盐粒 Yanli <mail@yanli.one >
2026-07-01 05:07:23 +00:00
8809cc036d
feat(workflow-generator): enhance the AI auto-creation flow end-to-end ( #38175 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-07-01 02:28:58 +00:00
200f8b800f
fix(api): prevent plugin provider cache stampedes ( #37388 )
...
Co-authored-by: VeraPyuyi <204892921+VeraPyuyi@users.noreply.github.com >
2026-06-30 10:09:05 +00:00
44e85c0023
fix(api): Fixing API contract generation infrastructure ( #38042 )
2026-06-30 08:51:32 +00:00
62cb5b5865
fix(api): scope nested resource lookups by owner refs ( #38177 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-30 08:19:58 +00:00