npc0-hue
17832f2424
fix: Dify 1.8.1问题修复
...
本次提交整合了多个功能改进和问题修复:
主要功能:
- 批量工作流处理功能完善,支持 Excel 上传和进度跟踪
- 管理中心反向代理和转发配置优化
- 用户同步添加互斥锁,防止并发问题
- 计费系统和额度显示优化
- AI 绘图功能扩展
前端改进:
- 文本生成应用显示修复
- 批量任务进度展示优化
- 按钮样式和 CSS 优化,禁止换行
- 多语言支持完善(新增印尼语等)
- 构建镜像逻辑优化
- 批量处理进度管理器实现
后端改进:
- Docker Compose 配置升级
- 队列任务和 Worker Pool 优化
- Admin API 初始化和验证逻辑改进
- 数据库迁移和初始化完善
- 静态变量处理优化
- URL 签名助手实现
- Celery 扩展优化
- 代码和导入包问题修复(idea 自动调整代码位置)
技术改进:
- 兼容性修复 (flask-restx, jschardet)
- 钉钉 Web API 版本更新
- 代码格式化和导入包问题修复
- 日志处理优化
- 工作流循环管理优化
Docker 相关:
- Nginx 配置更新
- 容器启动脚本优化
- 镜像构建流程改进
- docker-compose.dify-plus.yaml 大幅更新
管理后台:
- 工作流批量处理 API 实现
- 工作池初始化
- 批量工作流服务实现
- 转发扩展配置
- 用户服务扩展
2025-10-17 23:04:25 +08:00
npc0-hue
f26fe2f4d2
Merge tag '1.8.1' into merge-tag-1.8.1
...
# Conflicts:
# .gitignore
# README.md
# api/.env.example
# api/Dockerfile
# api/commands.py
# api/configs/app_config.py
# api/controllers/console/__init__.py
# api/controllers/console/apikey.py
# api/controllers/console/app/statistic.py
# api/controllers/service_api/app/app.py
# api/controllers/service_api/app/audio.py
# api/controllers/service_api/app/completion.py
# api/controllers/service_api/app/conversation.py
# api/controllers/service_api/app/file.py
# api/controllers/service_api/app/message.py
# api/controllers/service_api/app/workflow.py
# api/controllers/service_api/wraps.py
# api/controllers/web/completion.py
# api/core/app/apps/advanced_chat/app_generator.py
# api/core/app/apps/advanced_chat/generate_task_pipeline.py
# api/core/app/apps/agent_chat/app_generator.py
# api/core/app/apps/workflow/app_generator.py
# api/core/app/apps/workflow/generate_task_pipeline.py
# api/core/app/task_pipeline/workflow_cycle_manage.py
# api/core/helper/code_executor/code_executor.py
# api/core/tools/builtin_tool/providers/code/tools/simple_code.py
# api/core/workflow/nodes/code/code_node.py
# api/docker/entrypoint.sh
# api/events/event_handlers/__init__.py
# api/extensions/ext_celery.py
# api/extensions/ext_commands.py
# api/models/model.py
# api/models/workflow.py
# api/poetry.lock
# api/pyproject.toml
# api/services/app_service.py
# api/services/feature_service.py
# api/services/workspace_service.py
# web/.env.example
# web/Dockerfile
# web/app/(commonLayout)/apps/Apps.tsx
# web/app/components/apps/app-card.tsx
# web/app/components/base/chat/embedded-chatbot/index.tsx
# web/app/components/base/mermaid/index.tsx
# web/app/components/develop/index.tsx
# web/app/components/develop/secret-key/secret-key-modal.tsx
# web/app/components/develop/secret-key/style.module.css
# web/app/components/develop/template/template.zh.mdx
# web/app/components/explore/app-list/index.tsx
# web/app/components/explore/category.tsx
# web/app/components/explore/sidebar/index.tsx
# web/app/components/header/account-dropdown/index.tsx
# web/app/components/header/index.tsx
# web/app/components/share/utils.ts
# web/app/layout.tsx
# web/app/signin/components/mail-and-password-auth.tsx
# web/app/signin/normal-form.tsx
# web/app/signin/page.module.css
# web/context/app-context.tsx
# web/i18n/i18next-config.ts
# web/i18n/ja-JP/login.ts
# web/i18n/ko-KR/login.ts
#
if dify_config.WORKFLOW_LOG_CLEANUP_ENABLED:
# 2:00 AM every day
imports.append("schedule.clean_workflow_runlogs_precise")
beat_schedule["clean_workflow_runlogs_precise"] = {
"task": "schedule.clean_workflow_runlogs_precise.clean_workflow_runlogs_precise",
"schedule": crontab(minute="0", hour="2"),
} web/package.json
# web/pnpm-lock.yaml
# web/types/feature.ts
2025-09-25 15:55:13 +08:00
-LAN-
b17527c32a
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-03 11:52:26 +08:00
Bowen Liang
eafe26f2a5
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
Amy
ec20166296
fix(api):safe reset in db pool, avoid rollback in gevent callback ( #24556 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 18:14:06 +08:00
Bowen Liang
23740c131f
api: support to config disabling Swagger UI in api service ( #24440 )
2025-08-26 15:48:04 +08:00
9527MrLi
acc8287573
feat: Implements periodic deletion of workflow run logs that exceed t… ( #23881 )
...
Co-authored-by: shiyun.li973792 <shiyun.li@seres.cn >
Co-authored-by: 1wangshu <suewangswu@gmail.com >
Co-authored-by: Blackoutta <hyytez@gmail.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-19 09:47:34 +08:00
crazywoola
74d7cb8d45
Revert "fix pg_vector extension requires SUPERUSER, but not availabl… ( #24108 )
2025-08-18 16:46:15 +08:00
Elvis_LEE
64d0272f54
fix pg_vector extension requires SUPERUSER, but not available on Huawei Cloud RDS ( #24093 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 16:29:36 +08:00
-LAN-
b1b7ff5988
feat: add Redis SSL/TLS certificate authentication support ( #23624 )
2025-08-18 10:59:07 +08:00
xinlmain
cf8c283cf0
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com >
2025-08-13 02:28:06 +08:00
-LAN-
bfacee531c
fix: add @property decorator to pydantic computed_field for compatibility ( #23728 )
2025-08-11 15:34:19 +08:00
Guangdong Liu
43302c072f
fix: update HTTP request timeout fields to use Field with default values ( #23694 )
2025-08-11 09:30:16 +08:00
yunqiqiliang
6e050da786
feat: Add Clickzetta Lakehouse vector database integration ( #22551 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-07 14:21:46 +08:00
wanttobeamaster
00508b3224
chore: tablestore full text search support score normalization ( #23255 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com >
2025-08-01 14:14:11 +08:00
kenwoodjw
fea48e0cd6
fix celery backend when use rabbitmq ( #23238 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
2025-08-01 09:26:05 +08:00
rhochman
af6a72300a
Fix: Support for Elasticsearch Cloud Connector ( #23017 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-30 11:12:16 +08:00
Asuka Minato
9bc8bb6e91
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
Junyan Qin (Chin)
e5644e940d
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Novice <novice12185727@gmail.com >
2025-07-23 15:33:39 +08:00
znn
d284bc6cf9
enabling vector index prefix name via configuration files ( #22661 )
2025-07-20 11:10:08 +08:00
kenwoodjw
82049ed961
fix celery config ( #22566 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
2025-07-18 09:41:09 +08:00
zyssyz123
550b1d2ba3
Feat/change user email ( #22213 )
...
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
2025-07-17 10:55:59 +08:00
heyszt
8c61b0ff6b
feat: add otel endpoint config ( #22492 )
2025-07-16 18:24:17 +08:00
Jacky Wu
b6c11e40bc
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. ( #22371 )
2025-07-15 19:46:48 +08:00
-LAN-
417e538311
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-14 14:54:38 +08:00
K
43244827d2
fix: resolve Docker file URL networking issue for plugins ( #21334 ) ( #21382 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-07-11 12:11:59 +08:00
Bowen Liang
0d6f3f1d0e
remove unused config CURRENT_VERSION ( #21832 )
...
as API module's version code refactored into pyproject.toml file in refactor: define the Dify project version in pyproject.toml #20910 , the deprecated CURRENT_VERSION is no longger used and should be removed.
2025-07-02 17:22:22 +08:00
-LAN-
fe9a21267a
chore(version): bump to 1.5.1 ( #21808 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-07-02 16:17:40 +08:00
Bowen Liang
83b64f98ad
refactor: define the Dify project version in pyproject.toml ( #20910 )
2025-07-01 12:07:24 +08:00
湛露先生
9596ffac7a
Add Env 'CELERY_SENTINEL_PASSWORD' for celery connect redis sentinel. ( #21198 )
2025-06-27 17:37:11 +08:00
-LAN-
281546eb0e
chore(version): Bump to 1.5.0 ( #21415 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-25 16:54:44 +08:00
André de Matteo
080a14968c
Feat/support sendgrid ( #21011 )
...
Co-authored-by: André de Matteo <andre.matteo@accenture.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-06-19 10:27:38 +08:00
LiuBo
518608bd2b
feat: add support for Matrixone database ( #20714 )
2025-06-19 10:20:12 +08:00
-LAN-
6df9676dcc
chore: bump version to 1.4.3 ( #21045 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-16 15:29:53 +08:00
-LAN-
5b08e591b7
chore(package): Bump version to 1.4.2 ( #20897 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-11 16:28:36 +08:00
Dongyu Li
5b42e0aebb
Feat/queue monitor ( #20647 )
2025-06-04 19:56:34 +08:00
湛露先生
848ab7e9c8
nacos config init , and force add ts parms. ( #20526 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2025-06-01 10:17:40 +08:00
-LAN-
dd3e39c35d
chore(*): Bump version to 1.4.1 ( #20275 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-27 15:32:59 +08:00
rouxiaomin
a0ecb066bf
feat(qdrant):add replication_factor when create collection in qdrant ( #20133 )
...
Co-authored-by: 刘敏 <min.liu@tongdun.net >
2025-05-27 14:46:04 +08:00
Boris Feld
c9e11156b3
chore: Update S3StorageConfig to match boto3 type hints ( #20072 )
2025-05-22 14:10:14 +08:00
He Huang
5d8a89aca3
Refactor OpenSearch config to separate use_ssl and verify_certs flags ( #20075 )
...
Co-authored-by: he.huang <he.huang1@outlook.com >
Co-authored-by: crazywoola <427733928@qq.com >
2025-05-22 10:14:38 +08:00
Hashcon
5a0359336f
feat: add debug log for request and response ( #19781 ) ( #19783 )
...
Co-authored-by: hashjang <hash@geek.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-05-17 17:31:09 +08:00
-LAN-
dc5542c7d5
chore: Updates version numbers to 1.4.0 and related services ( #19731 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-15 16:03:16 +08:00
XlKsyt
4887ac9e1b
feat(extension): support otel grpc exporter ( #19686 )
2025-05-14 22:37:27 +08:00
-LAN-
3557967e09
fix(config): Allow DB_EXTRAS to set search_path via options ( #19560 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-13 10:10:18 +08:00
Bowen Liang
0e21ed0194
chore: disable redis client-side caching by default ( #19524 )
2025-05-12 21:42:07 +08:00
Bowen Liang
0ac889ee63
feat: enable Redis client-side caching ( #19493 )
2025-05-12 09:34:25 +08:00
Bowen Liang
d4b89bdde2
chore: bump pydantic to 2.11 and pydantic-settings to 2.9 ( #15049 )
2025-05-08 17:39:51 +08:00
FamousMai
d53133ba65
feat:用户初始化总额度,放到配置里
2025-05-08 15:22:16 +08:00
Yeuoly
1a05f3bf53
fix(api): add missing INNER_API_KEY to InnerAPIConfig ( #19166 )
2025-05-06 10:02:14 +08:00