Skip to content

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 21 Oct 08:39
· 55 commits to main since this release

Highlights / 亮点

Online upgrade / 在线升级 (#6)

  • Linux binary installs (systemd, PVE LXC containers, manual OpenWrt installs) can upgrade from About → Check for Updates → Upgrade now: Gately downloads the package for this platform from GitHub, verifies its SHA-256 against checksums.txt, test-runs the new binary, then replaces it and restarts in place, keeping the previous version as gately.old. / Linux 二进制部署(systemd、PVE LXC 容器、手动部署的 OpenWrt)可在「关于 → 检查更新 → 立即升级」在线升级:从 GitHub 下载本机平台的发布包,对照 checksums.txt 校验 SHA-256,试运行新程序后原地替换并重启,旧版本保留为 gately.old。
  • PVE LXC containers no longer need to be recreated / PVE LXC 容器不用再删除重建 — containers created from the OCI image upgrade online too. / 用 OCI 镜像创建的 LXC 容器同样可以在线升级。
  • The update dialog shows the release notes, the current step, download progress and speed, and can cancel until the binary is replaced; a reload resumes a running upgrade, and failures show the reason with a retry button. / 更新弹窗展示更新内容、当前步骤、下载进度与速度,替换程序前可随时取消;刷新页面后继续显示进行中的升级,失败时给出原因并可重试。
  • Update proxy / 更新代理 (http, https or socks5) under About or Settings → Network & Runtime, used for both the check and the download. / 可在「关于」或「设置 → 网络与运行」设置 http、https、socks5 代理,检查更新与下载都经过它。
  • Upload upgrade package / 上传升级包 accepts a release tar.gz or bare binary of any version for offline upgrades and rollbacks. / 支持上传发布页的 tar.gz 或程序本身,不限版本高低,可离线升级或回退。
  • Upgrades only run when an administrator starts them. Docker, fnOS and OpenWrt package installs point to their own upgrade path. / 只由管理员手动触发;Docker、飞牛与 OpenWrt 安装包会提示各自的升级方式。

OpenWrt packages / OpenWrt 安装包 (#7)

  • gately_v0.5.4_openwrt_<arch>.ipk for OpenWrt 24.10 and earlier (including iStoreOS): opkg install; .apk for OpenWrt 25.12: apk add --allow-untrusted. Architectures: amd64, arm64, arm (ARMv7 with FPU), mipsle, mips, riscv64. / .ipk 用于 OpenWrt 24.10 及以前(含 iStoreOS),执行 opkg install;.apk 用于 OpenWrt 25.12,执行 apk add --allow-untrusted。架构:amd64、arm64、arm(ARMv7 带浮点)、mipsle、mips、riscv64。
  • The service is enabled and started on install; config in /etc/gately is kept across upgrades, uninstalls and sysupgrade; the package checks DISTRIB_ARCH before installing. The binary is about 35 MB. / 安装后自动启用并启动;/etc/gately 在升级、卸载与刷写固件时保留;安装前核对 DISTRIB_ARCH。程序约 35 MB。

Fixes / 修复

  • Saving port forwarding or Web Services settings no longer restarts every listener, and editing a forwarding rule keeps existing connections when ports, protocols, mode and limits are unchanged, so an admin UI reached through Gately itself stays connected. / 保存端口转发或 Web 服务设置不再重启全部监听,编辑转发规则时端口、协议、模式与限制不变则保留现有连接,经 Gately 自身转发访问的管理界面不再断开。
  • The WAF no longer flags JSON field names such as credentials or forwardAuth (CRS 930120), which returned 403 when saving DDNS tasks or adding Web Services listeners. / WAF 不再误判 credentials、forwardAuth 等字段名,保存 DDNS 任务或添加 Web 服务监听不再返回 403。
  • List inputs no longer swallow Enter, commas and spaces as you type. / 列表输入框不再吞掉回车、逗号与空格。
  • mips / mipsle binaries use soft float and run on routers without an FPU. / mips / mipsle 程序改为软浮点,可在无浮点单元的路由器上运行。
  • Version comparison follows semver, so newer builds are no longer offered a downgrade. / 版本比较改为语义化版本,较新的构建不再被提示降级。

Upgrading / 升级

  • Online upgrade starts with this version, so upgrading from v0.5.3 is still manual: replace the binary and restart, pull the new Docker image and recreate the container, or install the new .fpk on fnOS. Later versions can be upgraded from the About page. / 在线升级从本版开始提供,从 v0.5.3 升级仍需手动:替换程序后重启、Docker 拉取新镜像后重建容器、飞牛安装新版 .fpk。之后的版本可在「关于」页直接升级。
  • Manual OpenWrt installs can install the .ipk / .apk over the existing setup; /etc/gately keeps working. / OpenWrt 手动部署可直接安装 .ipk / .apk 覆盖,/etc/gately 配置继续使用。

Release notes: https://gately.cn/en/news/v0.5.4 · 更新说明:https://gately.cn/news/v0.5.4