github donknap/dpanel v1.11.2

2 hours ago

feat: choose between saving Compose changes only and saving then deploying, with execution logs available during deployment
feat: configure App Store applications in the Compose editor before installation, including task names, YAML, and environment variables, with Save Only and Save and Deploy options
feat: restore the previous YAML files, .env, and task settings if directory synchronization or deployment fails during Save and Deploy while its matching backup is available
feat: bring external Compose tasks with inaccessible YAML files under panel management by supplying their YAML and environment variables, without changing the original working directory or migrating existing data
feat: identify Compose tasks whose main YAML file is missing or empty and provide an entry to complete their configuration
feat: show the host-side Compose task directory when creating tasks and clarify when mounted-directory creation is unavailable
feat: update images directly from the image list or details, choose the upstream source when multiple sources exist, migrate ordinary tags to the new image, and attempt to remove the old image
feat: attempt to remove the previous image after a manual container upgrade when it is no longer in use
feat: record image digests during manual and automatic container upgrades as a baseline for later update checks if the local image loses its repository digest
feat: choose whether saving panel proxy settings also checks connectivity to Docker Hub and Alibaba Cloud Container Registry

fix: keep Compose tasks editable and allow saving when YAML, .env, or dependent files contain errors, while retaining validation for synchronization and execution
fix: synchronize Compose environment-variable edits to .env and preserve literal dollar signs and quoted values when saving
fix: preserve user-saved YAML and override files when synchronizing App Store templates, and generate .env from the saved task variables instead of copying template configuration over them
fix: retain saved App Store tasks after synchronization failures so installation can be retried in the same editor without creating duplicate tasks
fix: check Compose name conflicts in the current Docker environment, including stopped containers belonging to existing tasks
fix: avoid unnecessary directory synchronization before stopping, pausing, resuming, restarting, destroying, or deleting Compose tasks
fix: preserve the original YAML files and resolve relative bind mounts against the actual Compose working directory instead of the panel-side configuration directory
fix: improve Compose directory alignment and synchronization for local and remote Docker environments, including Windows path conversion
fix: reject relative bind mounts when the panel's Compose directory is backed by a named volume, rather than treating resolved panel-side paths as host paths
fix: allow Compose tasks without a main YAML file to remain visible and editable, and allow removing their panel configuration when no containers remain
fix: show clear task-name requirements when an invalid Compose task identifier or directory name prevents opening details, synchronizing directories, or deploying
fix: remove stale panel-managed Compose configuration records during synchronization when their task directories have been deleted, while keeping tasks whose directories still exist but whose main YAML files are missing
fix: reload the built-in agent image when it has been removed instead of relying on an outdated cache, preventing failures in file operations and Compose directory synchronization
fix: preserve enabled host-monitoring containers and their shared agent image when switching Docker environments, and limit cleanup to the panel's file-management and disabled monitoring components
fix: correct memory and swap usage statistics on LXC hosts using LXCFS
fix: continue checking for container updates when the local image has no repository digest instead of reporting update checks as unavailable
fix: exclude the panel and monitoring containers from ordinary container update checks and automatic upgrade selection
fix: keep detailed image-build and Compose execution errors in the execution console and report failures consistently
fix: receive and display image-pull progress during CLI container upgrades and Compose deployments using panel-managed image pulls, and show container upgrade steps
fix: refresh dependent container security fields when security options change

refactor: separate Compose configuration saving, directory synchronization, and execution, and align CLI deployment with the same task-directory workflow
refactor: standardize Compose task terminology and destructive-operation descriptions across Chinese, English, and Japanese
refactor: unify frontend request-error handling and improve execution-log subscription cleanup

Note: Save and Deploy rollback restores configuration only; it does not restore container runtime state or undo directory synchronization that has already occurred. The in-memory backup expires after one hour while idle and is lost when the panel restarts. Direct deployment from the task list or details does not use an earlier editing backup.



增加 Compose 创建和编辑时可选择“仅保存”或“保存并部署”,部署过程中可查看执行日志
增加 应用商店安装前可在 Compose 编辑器中修改任务名称、YAML 和环境变量,并选择“仅保存”或“保存并部署”
增加 “保存并部署”时,若目录同步或部署失败且本次匹配的备份仍可用,恢复保存前的 YAML 文件、.env 和任务配置
增加 外部 Compose 任务的 YAML 文件不可访问时,可补交 YAML 内容和环境变量纳入面板管理,保留原工作目录,不迁移已有数据
增加 识别主 YAML 文件缺失或内容为空的 Compose 任务,并提供补齐配置的入口
增加 创建 Compose 任务时展示宿主机任务目录,并提示无法使用“挂载目录”创建任务的情况
增加 在镜像列表和详情中直接更新镜像,多个上游来源时可选择更新来源,将普通标签迁移到新镜像,并尝试清理旧镜像
增加 手动更新容器后,尝试清理已不再使用的旧镜像
增加 手动或自动更新容器时记录镜像摘要,在本地镜像丢失仓库摘要后作为后续更新检查的比对依据
增加 面板代理设置的目标地址验证开关,可选择是否检查 Docker Hub 和阿里云镜像仓库的连通性

修复 YAML、.env 或依赖文件存在错误时无法继续编辑和保存 Compose 任务,目录同步和执行仍保留必要校验
修复 Compose 编辑后的环境变量未同步写入 .env,并正确保留保存值中的美元符号和引号
修复 应用商店模板同步可能覆盖用户提交的配置或引入另一份主 YAML,保留已保存的 YAML 和覆盖文件,并使用任务环境变量生成 .env
修复 应用商店同步失败后的重试流程,保留已保存任务,在同一编辑器内重试时不重复创建任务
修复 Compose 新建时的名称冲突检查,按当前 Docker 环境识别已有任务,包括容器已停止的任务
修复 Compose 停止、暂停、恢复、重启、销毁和删除操作前触发不必要的目录同步
修复 Compose 相对挂载路径按面板配置目录而非实际工作目录解析,执行时保留原始 YAML 文件
修复 本地和远程 Docker 环境下 Compose 目录对齐及同步问题,包括 Windows 路径转换
修复 Compose 目录使用命名卷时,相对 bind 挂载被转换为面板内绝对路径而绕过校验的问题
修复 主 YAML 文件缺失的 Compose 任务无法正常展示和编辑,并允许在没有关联容器时移除面板配置
修复 Compose 任务标识或目录名不合法时的错误提示,在详情、目录同步和部署入口明确提示名称约束
修复 同步时未清理已删除任务目录对应的面板托管 Compose 配置记录,目录仍在而仅缺少主 YAML 文件的任务继续保留
修复 Agent 镜像被清理后仍依赖旧缓存,导致文件操作或 Compose 目录同步失败,缺失时自动重新加载内置镜像
修复 切换 Docker 环境时误清理仍启用的主机监控容器及其共用镜像,清理范围仅限面板文件管理组件和已停用的监控组件
修复 使用 LXCFS 的 LXC 主机内存和 Swap 占用统计不准确
修复 本地镜像缺少仓库摘要时,容器更新检查被误判为不可用
修复 面板自身及监控容器参与普通容器更新检查和自动更新筛选
修复 镜像构建和 Compose 执行失败时的错误反馈,详细原因统一保留在执行控制台中
修复 CLI 更新容器及使用面板拉取镜像的 Compose 部署未接收进度消息,显示镜像拉取进度和容器更新步骤
修复 容器安全选项变化后,关联表单字段未及时更新

优化 分离 Compose 配置保存、目录同步与执行流程,CLI 部署沿用相同的任务目录处理流程
优化 统一中文、英文和日文中的 Compose 任务术语及危险操作说明
优化 前端请求错误处理及执行日志订阅清理

说明:“保存并部署”的回退只恢复配置,不恢复容器运行状态,也不撤销已发生的目录同步。备份保存在内存中,空闲时一小时后过期,面板重启后失效;从任务列表或详情直接部署不会使用先前编辑的备份。

Don't miss a new dpanel release

NewReleases is sending notifications on new releases.