Skip to content

Releases: MyEnergyFiled/GitSync.md

HugoInk 2.5.5

Choose a tag to compare

@github-actions github-actions released this 22 Aug 14:52
bd71ac4

HugoInk 2.5.5

本版本集中强化仓库边界、Git 操作并发、数据持久化与构建供应链,并完成 Swift 6 严格并发迁移。

主要更新

仓库与 Git 安全

  • 文件、文章、图片、Hugo 配置、预览资源、Git index、LFS 与冲突解决操作均验证目标仍在仓库内,阻止目录穿越。
  • 同一仓库的 Git 操作统一串行执行,App、快捷指令与 x-callback 共用协调入口。
  • 异步操作完成后按仓库 UUID 重新定位数据;Git 操作期间禁止移动或删除仓库。
  • GitHub 远程地址使用严格主机名匹配,并移除未使用的旧 REST Git 实现。

数据可靠性

  • 仓库配置、Keychain 与本地删除错误不再静默忽略;只有本地文件删除成功后才移除仓库记录。
  • 编辑器草稿改为 actor 串行持久化和独立文件存储,避免并发覆盖与整库 JSON 重写。
  • 状态刷新任务可被明确等待,消除依赖固定延迟的测试竞态。

构建与维护

  • 应用与测试迁移到 Swift 6,并启用 Complete Strict Concurrency。
  • 拆分大型 AppState、LocalGitService 与测试支持代码,明确 UI、持久化和 Git 边界。
  • libgit2、libssh2、OpenSSL 下载在解压前校验 SHA-256;GitHub Actions 固定到完整提交 SHA。

安装

  1. 下载 HugoInk-2.5.5-SideStore.ipa。
  2. 可使用同页的 .sha256 文件校验下载内容。
  3. 使用 SideStore 打开 IPA;SideStore 会在设备端使用你的 Apple ID 完成签名。

IPA 未使用 Apple 分发证书签名,GitHub 中不保存 Apple 证书或登录凭据。

系统与验证

  • 需要 iOS 或 iPadOS 17.0 及以上版本。
  • XCTest 与未签名 SideStore IPA 构建均通过 GitHub Actions 验证。

English summary

HugoInk 2.5.5 hardens repository path boundaries, serializes Git operations,
improves persistence and draft reliability, unifies callback Git execution,
and migrates the app and tests to Swift 6 strict concurrency. Native dependency
downloads are SHA-256 verified and GitHub Actions are pinned to immutable commits.

HugoInk 2.5.4

Choose a tag to compare

@github-actions github-actions released this 16 Aug 13:47

HugoInk 2.5.4

本版本暂时移除效果尚不稳定的 Hugo 主题预览入口,让文章预览统一使用可靠的原生 Markdown 渲染。

主要更新

文章预览

  • 移除预览页中的“原生 / 主题”样式切换。
  • 预览与分屏模式现在直接显示原生 Markdown 预览。
  • 保留未保存内容提示、封面图片和文章元数据预览能力。

安装

  1. 下载 HugoInk-2.5.4-SideStore.ipa。
  2. 可使用同页的 .sha256 文件校验下载内容。
  3. 使用 SideStore 打开 IPA;SideStore 会在设备端使用你的 Apple ID 完成签名。

IPA 未使用 Apple 分发证书签名,GitHub 中不保存 Apple 证书或登录凭据。

系统与验证

  • 需要 iOS 或 iPadOS 17.0 及以上版本。
  • XCTest 与未签名 SideStore IPA 构建均通过 GitHub Actions 验证。

English summary

HugoInk 2.5.4 temporarily removes the unstable Hugo theme preview selector.
Preview and split modes now open the native Markdown preview directly, while
preserving unsaved-change indicators, cover images, and article metadata.

HugoInk 2.5.3

Choose a tag to compare

@github-actions github-actions released this 16 Aug 13:18

HugoInk 2.5.3

本版本长期修复 GitHub 设备授权会话到期后无法推送的问题,并改善推送失败时的错误显示。

主要更新

GitHub 会话自动续期

  • 设备授权登录现在会把访问令牌、刷新令牌及到期时间安全保存到 Keychain。
  • 每次访问 GitHub 或执行 Git 操作前,会在访问令牌到期前自动刷新。
  • GitHub 返回轮换后的刷新令牌时会立即更新 Keychain,不需要每隔数小时退出并重新登录。
  • 手动填写的 Personal Access Token 仍按长期令牌方式使用,不会被错误地刷新。

从 2.5.2 或更早版本升级后,请退出 GitHub 账号并重新登录一次。旧版本没有保存刷新令牌,完成这一次迁移登录后,后续续期会自动进行。

推送失败显示

  • 移除多层视图对同一全局错误的重复弹窗监听,避免错误弹窗一闪而过。
  • 重试若只返回“未知 Git 错误”,会保留之前更明确的认证失败信息。
  • 推送失败后的文章内容、暂存状态和重试入口仍保留在本地。

安装

  1. 下载 HugoInk-2.5.3-SideStore.ipa。
  2. 可使用同页的 .sha256 文件校验下载内容。
  3. 使用 SideStore 打开 IPA;SideStore 会在设备端使用你的 Apple ID 完成签名。

IPA 未使用 Apple 分发证书签名,GitHub 中不保存 Apple 证书或登录凭据。

系统与验证

  • 需要 iOS 或 iPadOS 17.0 及以上版本。
  • XCTest 与未签名 SideStore IPA 构建均通过 GitHub Actions 验证。

English summary

HugoInk 2.5.3 persists GitHub App refresh credentials in Keychain and renews
expiring device-flow access tokens before Git operations. It also removes
competing global error alerts and preserves specific authentication failures
when a retry only reports an unknown Git error. Users upgrading from 2.5.2 or
earlier need to sign out and complete device-flow sign-in once so the app can
store the refresh credential.

HugoInk 2.5.2

Choose a tag to compare

@github-actions github-actions released this 16 Aug 12:25

HugoInk 2.5.2

本版本改进文章编辑器的中文输入体验,并让本地恢复草稿的自动保存间隔可以配置。

主要更新

中文输入法保护

  • 编辑器现在识别 iOS 输入法的组合文本状态。
  • 拼音、注音、假名等候选词尚未确认时,不再同步临时文本或保存恢复草稿。
  • 输入法组合期间暂停语法高亮,避免富文本刷新提前提交或打断候选词。
  • 候选词确认后才更新正文、预览和本地恢复草稿。

草稿自动保存设置

  • 默认自动保存间隔由 700 毫秒调整为 2 秒。
  • 可在 App Settings → Editor → Draft Autosave 中选择 1、2、3 或 5 秒。
  • 应用进入后台或编辑页面关闭时,仍会立即保存已经确认的正文。
  • 新增简体中文和繁体中文界面翻译。

安装

  1. 下载 HugoInk-2.5.2-SideStore.ipa。
  2. 可使用同页的 .sha256 文件校验下载内容。
  3. 使用 SideStore 打开 IPA;SideStore 会在设备端使用你的 Apple ID 完成签名。

IPA 未使用 Apple 分发证书签名,GitHub 中不保存 Apple 证书或登录凭据。

系统与验证

  • 需要 iOS 或 iPadOS 17.0 及以上版本。
  • XCTest 与未签名 SideStore IPA 构建均通过 GitHub Actions 验证。

English summary

HugoInk 2.5.2 protects marked text used by Chinese Pinyin and other input
methods from premature synchronization, syntax highlighting, and recovery-draft
saves. Draft autosave now defaults to two seconds and can be configured to one,
two, three, or five seconds in App Settings. Confirmed text is still preserved
immediately when the app leaves the foreground.

HugoInk 2.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Aug 06:27

HugoInk 2.5.1

GitSync.md 现以 HugoInk 作为用户可见品牌。本版本将原生 Markdown
写作、Hugo 内容管理与完整 Git 工作流整合到 iPhone 和 iPad,并完成实机
覆盖安装验证。

主要更新

Hugo 写作与发布

  • 从 Hugo archetype 创建叶子包,并管理文章目录与 images/。
  • 搜索、筛选和排序文章,编辑 Front Matter、草稿状态与发布日期。
  • 保存、提交并推送时仅暂存当前文章包,并在发布前检查缺失图片、超大图片和未保存内容。
  • 推送失败时保留本地内容、草稿、暂存选择和可重试状态。

Markdown 与 Hugo 预览

  • 原生预览标题、正文、图片、链接、代码块、表格和 shortcode 占位。
  • 支持 iPad 分屏编辑,以及手机、平板和桌面宽度预览。
  • 读取 Hugo 站点配置与主题资源,在隔离的 WKWebView 中近似渲染布局。
  • 限制脚本、外部请求和仓库外文件访问,并提供模板兼容性提示。

Git、LFS 与自动化

  • 通过 libgit2 提供 clone、pull、rebase、分支、冲突、stash、tag、历史和安全重试。
  • 支持 Git LFS、HTTPS、SSH 主机密钥验证、GitHub OAuth 与仓库范围 PAT。
  • 提供 Pull Repository 与 Pull All Repositories 快捷指令,并遵守 iOS 数据保护限制。
  • 改进长时间 Git 操作进度、取消边界、错误分类与脱敏诊断日志。

HugoInk 品牌与兼容性

  • 使用新的 HugoInk 名称和几何 App Icon。
  • 保留 Bundle ID、URL Scheme、Keychain 服务名、Xcode Scheme 和应用容器标识。
  • 实机覆盖安装确认原有登录凭据、仓库、文章和快捷指令可继续使用。

安装

  1. 下载 HugoInk-2.5.1-SideStore.ipa。
  2. 可使用同页的 .sha256 文件校验下载内容。
  3. 使用 SideStore 打开 IPA;SideStore 会在设备端使用你的 Apple ID 完成签名。

IPA 未使用 Apple 分发证书签名,GitHub 中不保存 Apple 证书或登录凭据。

系统与验证

  • 需要 iOS 或 iPadOS 17.0 及以上版本。
  • 158 项 XCTest 通过。
  • SideStore IPA 构建、覆盖安装、HugoInk 图标与名称、登录凭据和现有仓库均已实机验证。

已知限制

  • 主题预览是安全的原生近似实现,并非完整 Hugo 运行时;应用不会内嵌或执行 Hugo CLI。
  • iOS 不保证长时间后台 Git 传输,自动化可能需要解锁设备后重新运行。

English summary

HugoInk 2.5.1 introduces the new Hugo-focused brand and app icon, a complete
Hugo article workflow, native Markdown and isolated theme previews, safer
article-scoped publishing, advanced libgit2 operations, Git LFS, SSH, GitHub
authentication, Shortcuts, and redacted diagnostics. The unsigned IPA is built
for SideStore and preserves the legacy compatibility identifiers required to
keep existing credentials and repositories during an upgrade.