Skip to content

Releases: AaronConlon/upy

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 19:43

Release v0.3.1

🌟 新增功能与体验优化

  1. Bundle 历史压缩包保留策略 (bundles.keep):

    • 支持在 deploy.yaml 中通过 bundles.keep(或 bundle.keep、bundles: N)控制服务器端保留的历史 Bundle 压缩包数量。
    • 默认保留最多 3 个,可配置范围为严格校验的 0 ~ 100。
    • 每次成功部署后,自动依据文件修改时间进行智能轮转,清理超出限制的历史压缩包,彻底避免历史压缩包累积撑爆磁盘。
  2. 自更新全自动同步 Shell 命令补全 (upy update):

    • 执行 upy update 升级或切换版本时,自动跨 Shell 探测当前主机环境(支持 zsh、bash 与 fish)。
    • 一键就地同步更新命令补全规则,确保新引入的命令(如 analysis)在终端中立即可用。
    • 完善异常降级与容错,避免跨版本更新后终端补全失效。
  3. 文档与官网同步更新:

    • 中英文 README 与官方网站(中英文)全面更新配置示例、功能保障说明及命令演示。

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 17:13

🚀 What's New in v0.3.0

1. 📊 客户端全景分析 (upy analysis)

  • 盘点宿主机纳管的所有项目与磁盘实际占用,以占用最大的项目为 100% 基准绘制等宽相对条形图。
  • 顶栏 Spotlight 置顶聚焦最近一次部署动态(项目、版本、部署类型、相对时间与健康状态)。
  • 杜绝软链双重计数,支持 --detail 展开各子目录明细与 --json 标准输出供监控审计。

2. 🛡️ 约定式数据备份 (upy backup)

  • 约定优于配置,自动探测项目中的 backup.sh 脚本并注入上下文环境变量。
  • 部署期间获取跨进程排他互斥锁(.deploy.lock),严防并发写入与脏数据生成。
  • 支持保留份数轮转防爆盘(--prune)与一键全机批量备份(--all)。

3. 🔔 项目专属 Webhook 与多接收人 Bark 告警

  • 项目专属 Webhook:在项目的 deploy.yaml 中独立配置,支持多端点与 HMAC-SHA256 防伪签名 (X-Upy-Signature)。
  • 多接收人 Bark:统一通用属性与多用户定义,支持按 - name 区分用户级属性覆盖(独立音效、私有 serverUrl)。
  • 智能跨量级耗时换算:秒数 (<60s) -> 分钟 (<60m) -> 小时 (>=60m),告别机械全秒输出。

4. 📦 部署包清单契约优化

  • bundle.zip 内部配置文件首选规范命名为 upy.yaml(完全兼容旧版 deploy.yaml),与服务器根目录宿主配置彻底解耦。

5. 🌐 官网体验全新重构

  • 核心功能区减少边框与背景色多层嵌套,页面层级更加清爽通透。
  • 终端展示窗口独占一行(100% 宽度),彻底杜绝横向滚动条。
  • 接入 Slokit 统计脚本。

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 04:06

Full Changelog: v0.1.12...v0.2.0

v0.1.12

Choose a tag to compare

@github-actions github-actions released this 19 Oct 01:36

Full Changelog: v0.1.11...v0.1.12

v0.1.11

Choose a tag to compare

@github-actions github-actions released this 15 Oct 19:44

Full Changelog: v0.1.10...v0.1.11

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 15 Oct 19:16

Full Changelog: v0.1.9...v0.1.10

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 15 Oct 14:05

Full Changelog: v0.1.8...v0.1.9

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:26

Full Changelog: v0.1.7...v0.1.8

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 04 Sep 21:34

Full Changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 04 Sep 21:25

Full Changelog: v0.1.5...v0.1.6