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

本次更新包含以下内容:
安全方面:更新golang.org/x/crypto依赖库以增强安全性。
API改进:支持在创建用户API时忽略LDAP登录源的密码校验;新增未实现Docker认证接口的端点支持。
功能优化:增加禁用模糊Unicode字符检测的选项;重构SSH克隆URL生成逻辑;为PaleMoon浏览器兼容性添加SubmitEvent补丁。
问题修复:修复Wiki页面引用渲染异常、删除仓库时重复ID错误、工作流运行器检测逻辑仅检查在线状态、初始化孤儿仓库存储修复、空指针访问问题、前端不必要的引用错误提示等。
文档更新:完善GitHub Actions对比文档,修正自定义资源路径文档错误。
其他调整:优化数据库查询性能,改进SSH密钥生成提示,更新配置文档中文翻译,修复身份验证令牌禁用说明,增加SSH密钥验证失败后的CRLF重试机制。
Gitea Cloud实例将在维护窗口自动升级至此版本。

更新内容 (中文)

  • 安全
    • 更新 golang.org/x/crypto (#28519)
  • API
    • chore(api): 支持创建用户API时忽略LDAP登录源类型的密码 (#28491) (#28525)
    • 为未实现的Docker认证添加端点 (#28457) (#28462)
  • 功能改进
    • 增加禁用歧义Unicode字符检测的选项 (#28454) (#28499)
    • 重构SSH克隆URL生成代码 (#28421) (#28480)
    • 为PaleMoon提供SubmitEvent polyfill (#28441) (#28478)
  • 错误修复
    • 修复Wiki引用渲染问题 (#28556) (#28559)
    • 修复删除仓库时可能产生重复ID的问题 (#28520) (#28528)
    • 工作流检测匹配Runner时仅检查在线Runner (#28286) (#28512)
    • 为孤立仓库修复工具初始化存储 (#28487) (#28490)
    • 修复可能的空指针访问 (#28428) (#28440)
    • 避免在UI显示不必要的引用JS错误 (#28433) (#28437)
  • 文档
    • 更新与GitHub Actions对比的Actions文档 (#28560) (#28564)
    • 修正"custom/public/assets/“相关文档 (#28465) (#28467)
  • 其他
    • 优化从数据库检索review的低效查询 (#28552) (#28562)
    • 改进"ssh-keygen sign"提示信息 (#28509) (#28510)
    • 更新DISABLE_QUERY_AUTH_TOKEN文档 (#28485) (#28488)
    • 修复配置速查表的中文翻译[API] (#28472) (#28473)
    • 添加CRLF重试机制用于SSH密钥验证 (#28392) (#28464)

部署在**Gitea Cloud**的实例将在指定维护窗口期间自动升级至此版本

更新内容 (原始)

  • SECURITY
    • Update golang.org/x/crypto (#28519)
  • API
    • chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525)
    • Add endpoint for not implemented Docker auth (#28457) (#28462)
  • ENHANCEMENTS
    • Add option to disable ambiguous unicode characters detection (#28454) (#28499)
    • Refactor SSH clone URL generation code (#28421) (#28480)
    • Polyfill SubmitEvent for PaleMoon (#28441) (#28478)
  • BUGFIXES
    • Fix the issue ref rendering for wiki (#28556) (#28559)
    • Fix duplicate ID when deleting repo (#28520) (#28528)
    • Only check online runner when detecting matching runners in workflows (#28286) (#28512)
    • Initalize stroage for orphaned repository doctor (#28487) (#28490)
    • Fix possible nil pointer access (#28428) (#28440)
    • Don’t show unnecessary citation JS error on UI (#28433) (#28437)
  • DOCS
    • Update actions document about comparsion as Github Actions (#28560) (#28564)
    • Fix documents for “custom/public/assets/” (#28465) (#28467)
  • MISC
    • Fix inperformant query on retrifing review from database. (#28552) (#28562)
    • Improve the prompt for “ssh-keygen sign” (#28509) (#28510)
    • Update docs for DISABLE_QUERY_AUTH_TOKEN (#28485) (#28488)
    • Fix Chinese translation of config cheat sheet[API] (#28472) (#28473)
    • Retry SSH key verification with additional CRLF if it failed (#28392) (#28464)

Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

下载链接