3e48b62e75
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 18:39:15 +08:00
800c9f4fca
test(e2e): stabilize Agent v2 external runtime checks ( #38493 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-07 04:48:12 +00: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
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
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
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
94c0967e30
refactor(api): migrate console explore endpoints to BaseModel ( #37953 )
2026-07-06 02:51:10 +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
5cb76f5eff
refactor: manage rag pipeline sessions explicitly ( #38274 )
2026-07-03 08:15:37 +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
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
ff56fb7e23
fix(workspace): expose last opened in contract ( #38323 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 11:14:35 +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
1ae2f95f7c
test(e2e): add agent v2 core coverage ( #38209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-02 06:18:38 +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
4fc8f0ddd1
refactor(api): migrate console app common endpoints to BaseModel ( #37951 )
...
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 03:24:38 +00:00
ca8b680322
refactor(web): migrate trial app console contracts ( #38254 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-01 16:31:49 +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
6eb9928df7
refactor(web): migrate trigger console contracts ( #38255 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-01 14:46:30 +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
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
102e1ede6e
chore: inject more db.session ( #38045 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-30 06:55:54 +00:00
528bf95d1b
feat: support dataset permission migrate to rbac ( #38166 )
2026-06-30 06:43:46 +00:00
d8f3be4bcd
fix(api): isolate side-effect database writes ( #37895 )
...
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com >
2026-06-29 06:20:34 +00:00
ca2755e0c1
feat: refine snippet siderbar and support RBAC. ( #38134 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-29 06:03:40 +00:00
8d09b32cd5
chore: inject session ( #37941 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-06-26 13:42:47 +00:00
52c106b532
feat(agent-v2): sync nightly updates to main (2026-06-25) ( #37915 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: Yansong Zhang <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 13:13:35 +00:00
051f4b32e3
feat(web): add customizable input placeholder for Agent/Chatflow/Chatbot web app ( #37790 )
...
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 09:57:31 +00:00
3f2ef24755
refactor: pass db session into service calls ( #37403 ) ( #38016 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 07:53:27 +00:00
fa6f4b0ea5
refactor(api): enforce enums over string literals on openapi surface ( #38009 )
2026-06-26 05:48:21 +00:00
1c5e1280cb
feat(webapp): display app description on chat and text-generation app screens ( #37345 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 02:03:16 +00:00
0035d90e36
fix(api): require edit access for trace config changes ( #37973 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 00:51:39 +00:00
2e9c0a3c7a
refactor(api): migrate response contract tooling to BaseModel ( #37950 )
2026-06-26 00:11:04 +00:00
40119fef44
feat: update monitor permission key and plugin permission key ( #37937 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-25 09:41:38 +00:00
31a50a3b20
fix: eagerly validate conversation before generator to prevent hanging ( #37224 )
...
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
2026-06-25 02:57:33 +00:00
d87764b0f8
feat: filter dataset operator and add miss permission key ( #37867 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 09:56:28 +00:00
2112115962
chore: make AccountService.load_user use passed session ( #37764 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 07:29:12 +00:00
67a5eacf2d
refactor: pass session as parameter in knowledge_retrieval_inner_service and agent_app_feature_service ( #37639 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-06-24 05:34:41 +00:00
2cde7e4a94
fix: resolve DetachedInstanceError via session management refactoring ( #37847 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 05:33:12 +00:00