afdd5b6c86
feat(api): implement heartbeat mechanism for database migration lock
...
- Added a heartbeat function to renew the Redis lock during database migrations, preventing long blockages from crashed processes.
- Updated the upgrade_db command to utilize the new locking mechanism with a configurable TTL.
- Removed the deprecated MIGRATION_LOCK_TTL from DeploymentConfig and related files.
- Enhanced unit tests to cover the new lock renewal behavior and error handling during migrations.
(cherry picked from commit a3331c622435f9f215b95f6b0261f43ae56a9d9c)
2026-02-14 16:28:38 +08:00
9acdfbde2f
feat(api): enhance database migration locking mechanism and configuration
...
- Introduced a configurable Redis lock TTL for database migrations in DeploymentConfig.
- Updated the upgrade_db command to handle lock release errors gracefully.
- Added documentation for the new MIGRATION_LOCK_TTL environment variable in the .env.example file and docker-compose.yaml.
(cherry picked from commit 4a05fb120622908bc109a3715686706aab3d3b59)
2026-02-14 16:28:38 +08:00
90fe9abab7
revert: revert human input relevant code ( #31766 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 19:18:49 +08:00
03e3acfc71
feat(api): Human Input Node (backend part) ( #31646 )
...
The backend part of the human in the loop (HITL) feature and relevant architecture / workflow engine changes.
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: 盐粒 Yanli <yanli@dify.ai >
Co-authored-by: CrabSAMA <40541269+CrabSAMA@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: yihong <zouzou0208@gmail.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
2026-01-30 10:18:49 +08:00
2626e773d9
chore: Set plugin schema cache TTL to 1h ( #31708 )
2026-01-29 16:41:09 +08:00
c30af58ac4
chore: remove non-ASCII characters in .env.example ( #31638 )
2026-01-29 11:27:58 +08:00
e80d76af15
feat: add lock for retention jobs ( #31320 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-21 14:06:35 +08:00
0ec2b12e65
feat: allow pass hostname in docker env ( #30975 )
2026-01-14 19:30:37 +08:00
138c56bd6e
fix(logstore): prevent SQL injection, fix serialization issues, and optimize initialization ( #30697 )
2026-01-14 10:21:26 +08:00
51ea87ab85
feat: clear free plan workflow run logs ( #29494 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-01-12 15:57:40 +08:00
2cc89d30db
feat: use more universal C.UTF-8 instead of en_US.UTF-8 ( #30621 )
2026-01-06 16:39:04 +08:00
591ca05c84
feat(logstore): make graph field optional via env variable LOGSTORE… ( #30554 )
...
Co-authored-by: 阿永 <ayong.dy@alibaba-inc.com >
2026-01-05 16:12:41 +08:00
c58a093fd1
docs: update comments in docker/.env.example ( #30516 )
2026-01-04 21:52:03 +08:00
5362f69083
feat(refactoring): Support Structured Logging (JSON) ( #30170 )
2026-01-04 11:46:46 +08:00
3015e9be73
feat: add archive storage client and env config ( #30422 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-31 16:14:46 +08:00
2c919efa69
feat: support tencent cos custom domain ( #30193 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 15:41:02 +08:00
fd64156f9d
feat: allow config NEXT_PUBLIC_BATCH_CONCURRENCY ( #30086 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-26 10:49:10 +08:00
3322e7a7e3
feat: Add OSS-specific parameters for HW and ALI private deployment ( #29705 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-12-22 21:59:32 +08:00
eb5a444d3d
fix: plugin execution timeout not respecting PLUGIN_MAX_EXECUTION_TIMEOUT ( #29785 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-12-18 15:11:01 +08:00
46c9a59a31
feat: sandbox retention basic settings ( #29842 )
2025-12-18 14:16:23 +08:00
44f8915e30
feat: Add Aliyun SLS (Simple Log Service) integration for workflow execution logging ( #28986 )
...
Co-authored-by: hieheihei <270985384@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-12-17 13:43:54 +08:00
b7649f61f8
fix: Login secret text transmission ( #29659 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-12-16 16:55:51 +08:00
37d4dbeb96
feat: Remove TLS 1.1 from default NGINX protocols ( #29728 )
2025-12-16 15:39:42 +08:00
e5cf0d0bf6
chore: Disable Swagger UI by default in docker samples ( #29723 )
2025-12-16 15:01:51 +08:00
724cd57dbf
fix: dos in annotation import ( #29470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 15:22:04 +08:00
569c593240
feat: Add InterSystems IRIS vector database support ( #29480 )
...
Co-authored-by: Tomo Okuyama <tomo.okuyama@intersystems.com >
2025-12-15 10:20:43 +08:00
f20a2d1586
chore: add placeholder for Amplitude API key in .env.example ( #29489 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2025-12-11 15:21:52 +08:00
efa1b452da
feat: Add startup parameters for language-specific Weaviate tokenizer ( #29347 )
...
Co-authored-by: Jing <jingguo92@gmail.com >
2025-12-09 21:00:19 +08:00
9affc546c6
Feat/support multimodal embedding ( #29115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
bbbfffb62f
feat: add new WEAVIATE_DISABLE_TELEMETRY env to disable telemetry collection for weaviate ( #29212 )
2025-12-07 11:36:24 +08:00
61d79a1502
feat: Unify environment variables for database connection and authentication ( #29092 )
2025-12-04 14:16:11 +08:00
2551f6f279
feat: add APP_DEFAULT_ACTIVE_REQUESTS as the default value for APP_AC… ( #26930 )
2025-11-27 10:51:48 +08:00
f76a3f545c
Feat/add weaviate tokenization configurable ( #28159 )
...
Co-authored-by: lijiezhao <lijiezhao@perfect99.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-25 20:07:45 +08:00
c0b7ffd5d0
feat:mysql adaptation for metadb ( #28188 )
2025-11-20 09:44:39 +08:00
e83c7438cb
doc: add doc for env config when site and backend are in different domains ( #28318 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-18 17:29:54 +08:00
b76e17b25d
feat: introduce trigger functionality ( #27644 )
...
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: Stream <Stream_2@qq.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zhsama <torvalds@linux.do >
Co-authored-by: Harry <xh001x@hotmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: yessenia <yessenia.contact@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-12 17:59:37 +08:00
37903722fe
refactor: implement tenant self queue for rag tasks ( #27559 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-11-06 21:25:50 +08:00
68d357d7f6
Add WEAVIATE_GRPC_ENDPOINT as designed in weaviate migration guide ( #27861 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-05 17:19:08 +08:00
ef1db35f80
feat: implement file extension blacklist for upload security ( #27540 )
2025-11-04 15:45:22 +08:00
b610cf9a11
feat: add segments max number limit for SegmentApi.post ( #27745 )
2025-11-04 10:27:58 +08:00
20ad5b7ac2
docs(api): update docs about gevent setup in app.py ( #27611 )
...
Add a warning about top level importing in gunicorn.conf.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-30 15:43:08 +08:00
23b49b8304
fix issues 27388, add missing env variable: ENFORCE_LANGGENIUS_PLUGIN… ( #27545 )
2025-10-29 10:40:59 +08:00
ff32dff163
Enabled cross-subdomain console sessions by making the cookie domain configurable and aligning the frontend so it reads the shared CSRF cookie. ( #27190 )
2025-10-28 10:04:24 +08:00
ce5fe86430
feat: add env NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEX ( #27070 )
2025-10-27 10:36:03 +08:00
62753cdf13
Fix typo in docker/.env.example: 'defualt' -> 'default' ( #27400 )
2025-10-24 15:28:59 +08:00
dc7ce125ad
chore: disable postgres timeouts for docker workflows ( #27397 )
2025-10-24 13:46:36 +08:00
759a932bb7
Fix: release WorkflowTool database sessions promptly ( #26893 )
2025-10-21 15:17:17 +08:00
cbf2ba6cec
Feature integrate alibabacloud mysql vector ( #25994 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-11 10:47:28 +08:00
885dff82e3
feat: update HTTP timeout configurations and enhance timeout input handling in UI ( #26685 )
2025-10-10 09:00:06 +08:00
4a475bf1cd
chore: Raise default string length limits ( #26592 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn >
2025-10-06 10:40:13 +08:00