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 |
|
Yongtao Huang
|
8193ee2a9b
|
Migrate SQLAlchemy from 1.x to 2.0 with automated and manual adjustments (#23224)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-09-02 10:30:19 +08:00 |
|
Frederick2313072
|
b5f8e55049
|
fix:hard-coded top-k fallback issue. (#24879)
|
2025-09-01 15:46:37 +08:00 |
|
willzhao
|
2a5d167b40
|
[CHORE]: remove redundant-cast (#24807)
|
2025-09-01 14:05:32 +08:00 |
|
Yongtao Huang
|
c98c868426
|
Remove redundant from_variable_selector null-check (#24842)
|
2025-08-31 17:00:13 +08:00 |
|
Will
|
4b14c6d771
|
chore: use DataFrame.map instead of deprecated DataFrame.applymap (#24726)
|
2025-08-28 21:13:47 +08:00 |
|
QuantumGhost
|
2eaa6a3639
|
fix(api): fix incorrectly handling of array[boolean] constant in loop node (#24619)
|
2025-08-27 15:07:01 +08:00 |
|
Guangdong Liu
|
52240a89ad
|
refactor(http-request): Remove the reflective calls to ssrf_proxy and replace them with explicitly defined dictionary retrievals. (#24596)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-27 13:23:34 +08:00 |
|
-LAN-
|
95366af5ac
|
fix: handle non-array segment types in Loop node (#24590)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
|
2025-08-27 11:21:42 +08:00 |
|
Joel
|
ac11418c0e
|
feat: support bool type variable frontend (#24437)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
|
2025-08-26 18:16:05 +08:00 |
|
jiangbo721
|
21447cf9f5
|
feat: If combining text and files, place the text prompt after the fi… (#24472)
|
2025-08-25 17:51:46 +08:00 |
|
Qiang Lee
|
73aa22107e
|
fix: #24292 HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call (#24293)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-24 00:32:42 +08:00 |
|
-LAN-
|
dddaeef745
|
fix: correct agent node token counting to properly separate prompt and completion tokens (#24368)
|
2025-08-23 11:00:14 +08:00 |
|
Davide Delbianco
|
52c96d5b75
|
Expose agent node usage (#24355)
|
2025-08-23 10:57:58 +08:00 |
|
-LAN-
|
c4c4e761b6
|
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations (#24352)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-08-22 23:53:05 +08:00 |
|
AuditAIH
|
5b469569f7
|
Update knowledge_retrieval_node.py (#24111)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-22 16:43:59 +08:00 |
|
Asuka Minato
|
de1bc8b50a
|
an example of sessionmaker (#24246)
|
2025-08-22 10:17:50 +08:00 |
|
Yongtao Huang
|
98c972ae1a
|
Fix: safe defaults for BaseModel dict fields (#24098)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-21 21:38:55 +08:00 |
|
Guangdong Liu
|
6fae74d8e6
|
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling (#24284)
|
2025-08-21 18:18:49 +08:00 |
|
Amy
|
1e0aa3c511
|
fix(api):Fix the issue of empty and not empty operations failing in k… (#24276)
Co-authored-by: liumin <min.liu@tongdun.net>
|
2025-08-21 14:43:08 +08:00 |
|
baonudesifeizhai
|
37ce6038e6
|
fix: loop exit condition accepts variables from nodes inside the loop #24183: (#24257)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-21 10:19:22 +08:00 |
|
kurokobo
|
4f54bda1ec
|
Revert "Fix: Correct file variable handling for custom tools in workflow (#24061)
|
2025-08-17 23:14:37 +08:00 |
|
crazywoola
|
1b4fe16fcf
|
Revert "feat: support to upload files for visual model call when running LLM node for debugging in a single step" (#23922)
|
2025-08-14 15:52:19 +08:00 |
|
Guangdong Liu
|
e62d4951bb
|
fix: ensure custom headers are ignored when using bearer or basic authorization (#23584)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-14 10:18:12 +08:00 |
|
Guangdong Liu
|
1081159abc
|
Fix multipart/form-data boundary issue in HTTP Call node (#23903)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-08-14 10:01:27 +08:00 |
|
goofy
|
196030cd99
|
feat: support to upload files for visual model call when running LLM node for debugging in a single step (#23521)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-13 14:07:13 +08:00 |
|
-LAN-
|
70c188150f
|
refactor: simplify variable pool key structure and improve type safety (#23732)
Signed-off-by: -LAN- <laipz8200@outlook.com>
|
2025-08-11 18:10:04 +08:00 |
|
Guangdong Liu
|
65498dfdd1
|
fix: support custom file types in workflow Start node (#23672)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-08-10 11:09:47 +08:00 |
|
ghmark675
|
e049a9c695
|
fix(node): fix unexpected extra equals sign in HTTP params (#23474)
|
2025-08-07 09:04:09 +08:00 |
|
liujin-patsnap
|
7015b6df23
|
Fix: Correct file variable handling for custom tools in workflow (#18427)
|
2025-08-02 03:36:04 +08:00 |
|
baonudesifeizhai
|
6c5e533a64
|
fix: resolve multipart/form-data boundary issue in HTTP Request compo nent #22880 (#23008)
Co-authored-by: crazywoola <427733928@qq.com>
|
2025-08-01 10:26:50 +08:00 |
|
Yongtao Huang
|
0606ec291b
|
Chroe: some misc cleanup (#23203)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
2025-07-31 15:33:39 +08:00 |
|
kenwoodjw
|
b3a3eb5fe0
|
feat: support metadata condition filter string array (#23111)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
|
2025-07-30 16:13:45 +08:00 |
|
znn
|
e8008e3b11
|
request fail when no api key (#23135)
|
2025-07-30 10:36:03 +08:00 |
|
NeatGuyCoding
|
0c495c070f
|
minor fix: fix error messages (#23081)
|
2025-07-29 10:59:43 +08:00 |
|
呆萌闷油瓶
|
44a651b1d1
|
feat: Support selecting variables in conditional filtering in list operations. (#23029)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
|
2025-07-28 13:59:34 +08:00 |
|
Yongtao Huang
|
3c6107eda7
|
Fix: correct misplaced ensure_ascii=False (#22997)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
|
2025-07-26 18:29:03 +08:00 |
|
Yongtao Huang
|
89ce46d4cb
|
Remove redundant condition check (#22983)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
|
2025-07-25 23:38:16 +08:00 |
|
Yongtao Huang
|
cf28f293ba
|
Fix incorrect assert type in the AgentNode class (#22964)
|
2025-07-25 16:31:21 +08:00 |
|
little_huang
|
cec47de5be
|
fix: correct typo in function name paser_docx_part -> parser_docx_part (#22936)
|
2025-07-25 10:33:55 +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 |
|
Yeuoly
|
cec9ecd65a
|
chore: enhance error message when handling PluginInvokeError (#22908)
|
2025-07-24 21:58:39 +08:00 |
|
Yeuoly
|
eb354b0f81
|
fix: refine handling of constant and mixed input types in ToolManager and ToolNodeData (#22903)
|
2025-07-24 16:14:08 +08:00 |
|
呆萌闷油瓶
|
271f626cda
|
fix: type error in list-operator (#22803)
|
2025-07-24 12:21:20 +08:00 |
|
jiangbo721
|
baceaf952d
|
chore: code format model-selector use enum (#22787)
Co-authored-by: 刘江波 <jiangbo721@163.com>
|
2025-07-24 10:11:24 +08:00 |
|
Asuka Minato
|
8b2d7fc78e
|
orm filter -> where (#22801)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
|
2025-07-24 00:57:45 +08:00 |
|
crazywoola
|
27390adca6
|
Added a check to ensure the input text is a string before proceeding with parsing (#22809)
Co-authored-by: -LAN- <laipz8200@outlook.com>
|
2025-07-23 13:53:27 +08:00 |
|