Luyu Zhang
acd6942d21
feat(storage): redirect signed file previews to S3 public base URL
...
Add an optional S3_PUBLIC_BASE_URL setting that, when configured, lets
file controllers 302-redirect signed previews to the object store / CDN
instead of streaming bytes through the Dify API. Works with any
S3-compatible backend exposing a public domain (Cloudflare R2 custom
domain, MinIO public endpoint, Aliyun OSS public domain, etc.) so that
egress and request handling for images, attachments, tool outputs, and
webapp logos no longer go through the API container.
Signature verification is preserved: the API still validates the HMAC
before issuing the redirect. When S3_PUBLIC_BASE_URL is unset the
behavior is unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 17:12:00 -07:00
FFXN
38eb04dc98
fix: hit-testing response failed because of Pydantic check. ( #35640 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-04-28 08:37:13 +00:00
Asuka Minato
d2e1da269c
chore: port one api ( #35609 )
2026-04-28 08:22:01 +00:00
L1nSn0w
0c280ef708
fix(test): register baidu_obs mock as pytest plugin ( #35618 )
2026-04-28 05:02:03 +00:00
jimmyzhuu
2d6babeeb4
test: add Baidu OBS storage unit tests ( #34330 )
2026-04-28 01:55:56 +00:00
Asuka Minato
1065a4840a
refactor: move SegmentAttachmentBinding and UploadFile to TypeBase ( #30218 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-27 14:01:50 +00:00
Benjamin
b6aa5a7d69
fix: download and upload package before invoking upgrade in auto-upgrade task ( #35599 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 10:19:56 +00:00
zyssyz123
949f930698
fix: keep cleanup tasks resilient to billing API failures ( #35600 )
2026-04-27 08:51:09 +00:00
dependabot[bot]
2677d90860
chore(deps): bump the storage group across 1 directory with 3 updates ( #35578 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 03:21:37 +00:00
dependabot[bot]
859756c4f6
chore(deps-dev): bump xinference-client from 2.5.0 to 2.7.0 in /api in the vdb group ( #35580 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 02:50:20 +00:00
dependabot[bot]
295fb6e74a
chore(deps): bump the opentelemetry group in /api with 7 updates ( #35576 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 02:46:29 +00:00
dependabot[bot]
2326fb7a83
chore(deps): bump psycopg2-binary from 2.9.11 to 2.9.12 in /api in the database group ( #35577 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 02:44:37 +00:00
dependabot[bot]
2d6eaf69f9
chore(deps-dev): bump the dev group in /api with 5 updates ( #35581 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-04-27 02:08:59 +00:00
hj24
b1b977e284
refactor: quota v3 integration ( #35436 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-27 01:49:40 +00:00
Asuka Minato
7efc887e32
refactor: port MessageAnnotation ( #31005 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-26 11:47:42 +00:00
dependabot[bot]
8b346e69d9
chore(deps): bump gitpython from 3.1.45 to 3.1.47 in /api ( #35570 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-26 04:21:27 +00:00
Asuka Minato
ef7ff3356d
refactor: port ChildChunk ( #30920 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-26 00:59:22 +00:00
99
7b5c0b5045
fix(api): declare flask dependency ( #35568 )
2026-04-25 20:07:28 +00:00
Asuka Minato
ce50c6cf1c
chore: port 2 api ( #35542 )
...
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-04-24 09:07:17 +00:00
Asuka Minato
c3aebb8403
chore: fix use select style api in orm ( #35531 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-04-24 08:35:20 +00:00
非法操作
2d09c4788d
fix: suggest questions more max_tokens ( #35533 )
2026-04-24 08:02:30 +00:00
Junyan Chin
5e336c47fd
feat: marketplace and oauth fixes ( #35509 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-04-24 07:53:14 +00:00
非法操作
be4c828214
feat: add service api of HITL ( #32826 )
...
Co-authored-by: Blackoutta <hyytez@gmail.com>
Co-authored-by: QuantumGhost <QuantumGhost@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-04-24 06:37:10 +00:00
Yunlu Wen
48e13f65dc
fix: sync 35528 ( #35539 )
2026-04-24 03:59:33 +00:00
tmimmanuel
ed8d3f3e8d
refactor(api): fix pyright errors in jieba, milvus, couchbase, oracle, and router ( #34938 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
2026-04-23 22:30:28 +00:00
非法操作
6b4736bf78
fix: improve collaboration ( #35309 )
2026-04-23 07:37:05 +00:00
Asuka Minato
61c0948136
chore: add script to generate openapi v2 json and add in README #35474 ( #35477 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-23 03:42:04 +00:00
非法操作
afec528f51
feat: improve follow-up settings ( #35442 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-22 08:55:16 +00:00
Asuka Minato
8b1533438f
chore: update 3 api ( #35481 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-22 08:53:53 +00:00
Zakir Jiwani
712e522220
fix: bump pyrefly version ( #33702 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-22 00:27:50 +00:00
dependabot[bot]
33eebe8cfc
chore(deps): bump lxml from 6.0.2 to 6.1.0 in /api ( #35470 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 00:17:12 +00:00
Asuka Minato
2e1b11bdb2
chore: port 2 api as deprecated ( #35261 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 99 <wh2099@pm.me>
2026-04-21 12:29:39 +00:00
zyssyz123
44a91e344c
fix(plugin): persist tenant plugin auto-upgrade strategy changes ( #35464 )
2026-04-21 09:28:44 +00:00
dependabot[bot]
5e5113e08e
chore(deps-dev): bump the dev group in /api with 6 updates ( #35402 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-21 08:59:59 +00:00
Mallikharjuna Mulpuri
0b60bf6ef0
refactor: replace deprecated Iterator with Generator in contextmanagers #35433 ( #35441 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 07:44:49 +00:00
非法操作
3b24d8d2d1
fix: webscaper sometime not work ( #35450 )
2026-04-21 06:04:56 +00:00
tmimmanuel
77f8f2babb
refactor(api): tighten core rag typing batch 1 ( #35210 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 04:32:43 +00:00
-LAN-
77d6c108e7
fix(workflow): cache provider configurations during graph init ( #35447 )
2026-04-21 04:29:35 +00:00
dependabot[bot]
ba8e0681d5
chore(deps): bump the storage group in /api with 3 updates ( #35398 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:22:27 +00:00
dependabot[bot]
de123a8695
chore(deps): bump google-cloud-aiplatform from 1.147.0 to 1.148.1 in /api in the google group ( #35397 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:22:22 +00:00
dependabot[bot]
21e5962f98
chore(deps-dev): bump xinference-client from 2.4.0 to 2.5.0 in /api in the vdb group ( #35399 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:22:13 +00:00
dependabot[bot]
db60e649b8
chore(deps): bump json-repair from 0.59.2 to 0.59.4 in /api in the python-packages group ( #35404 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:21:57 +00:00
zyssyz123
e561788809
fix(auth): enforce phase-bound change-email token flow (GHSA-4q3w-q5mc-45rq) ( #35425 )
2026-04-20 10:10:03 +00:00
Avasis AI
0d921cd21d
fix: handle numpy scalar types in safe_json_value ( #35389 )
...
Co-authored-by: Abhay <abhayjnayakpro@gmail.com>
2026-04-20 07:52:52 +00:00
BitCompass
8f070f2190
refactor(api): flatten nested conditionals and clean up token helpers ( #34835 )
2026-04-20 03:39:54 +00:00
dev-miro26
97bb338e7d
fix: prevent double /v1 in MCP server URL causing 404 authorization failure ( #34596 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-20 02:42:59 +00:00
hyl64
ceec00e172
fix: accept icon type in app icon updates ( #35360 )
...
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
2026-04-20 02:33:49 +00:00
Asuka Minato
059d605a6d
ci: Update pyrefly dependency version to 0.61.1 ( #35391 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-19 15:49:24 +00:00
Asuka Minato
f8a4205ac4
chore: Replace 'db' with 'sa' for SQLAlchemy compatibility ( #35373 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-19 09:56:19 +00:00
99
3e876e173a
chore(api): adapt Graphon 0.2.2 upgrade ( #35377 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-18 11:16:24 +00:00