npc0-hue
7947b7976b
feat: 1.12.1初步合并
...
Merge upstream release cd03e0a (hotfix/1.12.1-fix.0) into main
# Conflicts:
# api/.env.example
# api/controllers/service_api/app/annotation.py
# api/controllers/service_api/app/completion.py
# api/controllers/service_api/app/conversation.py
# api/controllers/service_api/app/message.py
# api/core/file/file_manager.py
# api/core/rag/datasource/retrieval_service.py
# api/extensions/ext_celery.py
# api/libs/gmpy2_pkcs10aep_cipher.py
# api/uv.lock
# web/pnpm-lock.yaml
# web/service/client.ts
2026-02-09 09:51:18 +08:00
Asuka Minato
920db69ef2
refactor: if to match ( #31799 )
2026-02-02 18:12:03 +09:00
npc0-hue
addf9c45bc
fex: 1、app_extend 找不到修复
...
2、.env默认地址配置,外网需要自行配置
3、1.11.4同步部分提交
# Conflicts:
# api/core/app/apps/advanced_chat/app_generator.py
# api/core/app/apps/base_app_runner.py
# api/core/app/apps/workflow/app_generator.py
# api/services/feature_service.py
# web/pnpm-lock.yaml
2026-01-29 14:38:39 +08:00
moonpanda
78198c6452
fix: vdb-migrate command did not use for parent-child segment migration ( #31605 )
...
Co-authored-by: warlocgao <warlocgao@tencent.com >
2026-01-28 14:54:50 +08:00
npc0-hue
b2f5707676
Merge 升级到1.11.4
...
# Conflicts:
# .github/workflows/tool-test-sdks.yaml
# api/.env.example
# api/README.md
# api/commands.py
# api/controllers/console/explore/wraps.py
# api/controllers/web/workflow.py
# api/extensions/ext_commands.py
# api/models/model.py
# api/pyproject.toml
# api/services/feature_service.py
# web/README.md
# web/app/components/explore/app-card/index.tsx
# web/app/components/explore/app-list/index.tsx
# web/app/components/explore/sidebar/index.tsx
# web/app/signin/components/mail-and-password-auth.tsx
# web/i18n/uk-UA/app-overview.json
# web/i18n/uk-UA/app.json
# web/i18n/uk-UA/billing.json
# web/i18n/uk-UA/common.json
# web/i18n/uk-UA/dataset-creation.json
# web/i18n/uk-UA/dataset-documents.json
# web/i18n/uk-UA/dataset-hit-testing.json
# web/i18n/uk-UA/dataset-settings.json
# web/i18n/uk-UA/dataset.json
# web/i18n/uk-UA/explore.json
# web/i18n/uk-UA/plugin.json
# web/i18n/uk-UA/tools.json
# web/next.config.js
# web/package.json
# web/pnpm-lock.yaml
# web/service/common.ts
# web/service/explore.ts
# web/service/fetch.ts
# web/service/use-explore.ts
# web/types/feature.ts
2026-01-26 07:08:40 +08:00
非法操作
fa92548cf6
feat: archive workflow run logs backend ( #31310 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-23 13:11:56 +08:00
npc0-hue
9ed0d7c891
fix: 上下文,聊天计费,额度
2026-01-21 18:10:18 +08:00
非法操作
b0545635b8
chore: improve clear workflow_run task ( #31124 )
...
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: hj24 <mambahj24@gmail.com >
2026-01-19 10:58:57 +08:00
npc0-hue
84d6d2840b
feat: 合并更新到1.11.2
2026-01-15 18:02:46 +08:00
hj24
52af829f1f
refactor: enhance clean messages task ( #29638 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-15 14:03:17 +08:00
非法操作
491e1fd6a4
chore: case insensitive email ( #29978 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-01-13 15:42:44 +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
-LAN-
a99ac3fe0d
refactor(models): Add mapped type hints to MessageAnnotation ( #27751 )
2026-01-05 15:50:03 +08:00
wangxiaolei
d0564ac63c
feat: add flask command file-usage ( #30500 )
2026-01-05 10:52:21 +08:00
kurokobo
d66dceae16
fix: make remove-orphaned-files-on-storage management command work and safer ( #29247 )
2025-12-08 09:48:05 +08:00
Yeuoly
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
Jyong
ca7794305b
add transform-datasource-credentials command online check ( #28124 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
2025-11-12 17:13:44 +08:00
Jyong
f627348b11
fix jina reader creadential migration command ( #27883 )
2025-11-05 18:42:07 +08:00
zhaobingshuang
e60a7c7143
fix(command): The vdb migrate command cannot be stopped ( #27536 )
2025-10-28 11:56:06 +08:00
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
Asuka Minato
0a56d65581
Issue 23579 ( #26777 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-13 10:16:12 +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
Asuka Minato
25c69ac540
one example of Session ( #24135 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-24 03:32:48 +08:00
Jyong
cd40cde790
fix tenant not exist ( #26066 )
2025-09-22 20:50:30 +08:00
-LAN-
a173546c8d
Fix: replace stdout prints with debug logging ( #25931 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-18 21:03:20 +08:00
-LAN-
4ba1292455
refactor: replace print statements with proper logging ( #25773 )
2025-09-18 20:35:47 +08:00
quicksand
87aa070486
feat(api/commands): add migrate-oss to migrate from Local/OpenDAL to … ( #25828 )
2025-09-18 14:09:00 +08:00
-LAN-
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: jyong <718720800@qq.com >
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: quicksand <quicksandzn@gmail.com >
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com >
2025-09-18 12:49:10 +08:00
Asuka Minato
bdd85b36a4
ruff check preview ( #25653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 12:58:12 +08:00
-LAN-
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
Krito.
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
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-09-12 21:14:26 +08:00
Asuka Minato
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-10 13:00:17 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +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
-LAN-
9d5956cef8
[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
Yongtao Huang
76ce0afec0
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
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>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
Yongtao Huang
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
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>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
QuantumGhost
5d5a50a701
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +08:00
QuantumGhost
e600070a61
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +08:00
Yongtao Huang
162a233c3e
Fix incorrect exception handling in db query ( #23582 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
2025-08-08 09:07:59 +08:00
Yongtao Huang
c8c591d73c
Fix incorrect exception handling in db query ( #23582 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
2025-08-08 09:07:59 +08:00
Asuka Minato
9c26e19572
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Asuka Minato
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +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
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +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
Asuka Minato
ef51678c73
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
Maries
ed2a4c40e2
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-07-17 17:18:44 +08:00
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-07-17 17:18:44 +08:00
LiuBo
518608bd2b
feat: add support for Matrixone database ( #20714 )
2025-06-19 10:20:12 +08:00