发布日期: 2023-12-12
版本号: v1.21.2

本次更新包含安全修复、错误修复及功能优化。安全方面,使用最新Golang版本重建,补充多项缺失检查机制。错误修复涉及:界面边距调整、引用文件检测异常、SQLite3数据库路径规范、分支工作流显示问题、仓库迁移空值处理、字符编码转换、评论差异导致的崩溃、软件源HEAD支持、签名密钥生成异常、语言标签跳转保留、索引更新延迟、分支保护链接错误、Git历史追溯改进、目录大小计算容错、回调地址提示优化、搜索匹配规则强化、令牌名称校验缺失、贡献者识别错误、看板全宽显示、配置版本号更新、分支同步逻辑调整及任务崩溃恢复等。功能增强包括:命令行工具优化、模板空值检查重构、系统用户API搜索支持等。同时弃用查询字符串形式的身份验证令牌。

更新内容 (中文)

  • 安全修复
    • 使用最新发布的 Golang 版本重新构建
    • 修复缺失的检查 (#28406) (#28411)
    • 补充若干缺失的检查 (#28423) (#28432)
  • 错误修复
    • 修复服务器签名验证视图的边距问题 (#28379) (#28381)
    • 修复检查引用文件时可能出现的对象不存在错误 (#28314) (#28369)
    • 使用 filepath 替代 path 创建 SQLite3 数据库文件 (#28374) (#28378)
    • 修复当主分支无工作流但其他分支有时运行记录不显示的缺陷 (#28359) (#28365)
    • 处理迁移 v263 中 repository.size 列为 NULL 的情况 (#28336) (#28363)
    • 将 Git 提交摘要转换为有效 UTF8 编码 (#28356) (#28358)
    • 修复由于空审查评论差异导致的迁移崩溃 (#28334) (#28362)
    • 为 RPM 仓库文件添加 HEAD 支持 (#28309) (#28360)
    • 修复 RPM/Debian 签名密钥生成 (#28352) (#28353)
    • 保持点击语言时的个人资料标签页状态 (#28320) (#28331)
    • 修复更改状态时问题搜索索引未更新的问题 (#28325) (#28330)
    • 修正 protect_branch_name_pattern_desc 的错误链接 (#28313) (#28315)
    • 从 git blame 读取 previous 信息 (#28306) (#28310)
    • 忽略 getDirectorySize 计算大小时出现的「不存在」错误 (#28276) (#28285)
    • 使用 appSubUrl 作为 OAuth2 回调 URL 提示 (#28266) (#28275)
    • Meilisearch:要求匹配所有查询条件 (#28293) (#28296)
    • 修复令牌名称必填错误提示 (#28267) (#28284)
    • 修复检测「首次贡献者」时议题被误识别为拉取请求的问题 (#28237) (#28271)
    • 为项目看板使用全宽度 (#28225) (#28245)
    • 当设置值与之前相同时仍递增「版本」号 (#28243) (#28244)
    • 推送时同步数据库分支(如有必要)(#28361) (#28403)
    • 使 gogit Repository.GetBranchNames 保持一致性 (#28348) (#28386)
    • 从定时任务 panic 中恢复 (#28409) (#28425)
    • 弃用查询字符串认证令牌 (#28390) (#28430)
  • 功能改进
    • 优化 doctor 命令行工具行为 (#28422) (#28424)
    • 重构模板空值检查 (#28351) (#28354)
    • 通过 API 启用系统用户搜索 (#28013) (#28018)

更新内容 (原始)

  • SECURITY
    • Rebuild with recently released golang version
    • Fix missing check (#28406) (#28411)
    • Do some missing checks (#28423) (#28432)
  • BUGFIXES
    • Fix margin in server signed signature verification view (#28379) (#28381)
    • Fix object does not exist error when checking citation file (#28314) (#28369)
    • Use filepath instead of path to create SQLite3 database file (#28374) (#28378)
    • Fix the runs will not be displayed bug when the main branch have no workflows but other branches have (#28359) (#28365)
    • Handle repository.size column being NULL in migration v263 (#28336) (#28363)
    • Convert git commit summary to valid UTF8. (#28356) (#28358)
    • Fix migration panic due to an empty review comment diff (#28334) (#28362)
    • Add HEAD support for rpm repo files (#28309) (#28360)
    • Fix RPM/Debian signature key creation (#28352) (#28353)
    • Keep profile tab when clicking on Language (#28320) (#28331)
    • Fix missing issue search index update when changing status (#28325) (#28330)
    • Fix wrong link in protect_branch_name_pattern_desc (#28313) (#28315)
    • Read previous info from git blame (#28306) (#28310)
    • Ignore “non-existing” errors when getDirectorySize calculates the size (#28276) (#28285)
    • Use appSubUrl for OAuth2 callback URL tip (#28266) (#28275)
    • Meilisearch: require all query terms to be matched (#28293) (#28296)
    • Fix required error for token name (#28267) (#28284)
    • Fix issue will be detected as pull request when checking First-time contributor (#28237) (#28271)
    • Use full width for project boards (#28225) (#28245)
    • Increase “version” when update the setting value to a same value as before (#28243) (#28244)
    • Also sync DB branches on push if necessary (#28361) (#28403)
    • Make gogit Repository.GetBranchNames consistent (#28348) (#28386)
    • Recover from panic in cron task (#28409) (#28425)
    • Deprecate query string auth tokens (#28390) (#28430)
  • ENHANCEMENTS
    • Improve doctor cli behavior (#28422) (#28424)
    • Fix margin in server signed signature verification view (#28379) (#28381)
    • Refactor template empty checks (#28351) (#28354)
    • Read previous info from git blame (#28306) (#28310)
    • Use full width for project boards (#28225) (#28245)
    • Enable system users search via the API (#28013) (#28018)

下载链接