发布日期: 2026-01-22
版本号: v1.25.4

Gitea 发布了包含安全修复、功能增强和错误修复的更新。安全修复涉及仓库附件归属检查、组织项目操作权限验证、仓库设为私有时的关注清理、停止计时器读取检查、OpenID设置检查、取消自动合并缺陷、附件删除检查、LFS锁归属检查以及通知已读问题。功能增强包括为“昂贵”路由添加更多条目,以及使“提交状态”API支持“ref”参数中包含斜杠。错误修复涵盖Markdown在IME输入时的换行处理、迁移发布附件时缺失的仓库ID、拉取请求比较缺陷、文本内容检测不准确、仓库API中缺失的has_code字段、通知分页查询参数问题、若干小问题修复、GitLab发布链接过多时的防崩溃处理、同步发布时的统计错误、合并后始终遵循用户对删除分支的选择、LFS链接使用请求的主机、获取编辑器配置文件时的防崩溃处理、授权主体写入时的回归问题修复以及WebAuthn错误检查修复。Gitea Cloud上的实例将在指定维护窗口期间自动升级至此版本。

更新内容 (中文)

  • 安全

    • 发布附件必须属于目标仓库 (#36347) (#36375)
    • 修复组织项目操作的权限检查 (#36318) (#36373)
    • 当仓库设为私有时清理监视,并在发送发布邮件时检查权限 (#36319) (#36370)
    • 为秒表读取或列表添加更多检查 (#36340) (#36368)
    • 修复OpenID设置检查 (#36346) (#36361)
    • 修复取消自动合并错误 (#36341) (#36356)
    • 修复删除附件检查 (#36320) (#36355)
    • LFS锁必须属于目标仓库 (#36344) (#36349)
    • 修复通知读取错误 (#36339) #36387
  • 增强

    • 向“高开销”列表添加更多路由 (#36290)
    • 使“提交状态”API接受“ref”中的斜杠 (#36264) (#36275)
  • 错误修复

    • 修复IME输入期间的Markdown换行处理 (#36421) #36424
    • 修复迁移发布附件时缺少仓库ID的问题 (#36389)
    • 修复拉取请求中比较的错误 (#36363) (#36372)
    • 修复不正确的文本内容检测 (#36364) (#36369)
    • 在仓库API中填充缺失的has_code (#36338) (#36359)
    • 修复通知分页查询参数 (#36351) (#36358)
    • 修复一些琐碎问题 (#36336) (#36337)
    • 防止当GitLab发布链接多于源时发生恐慌 (#36295) (#36305)
    • 修复同步发布时的统计错误 (#36285) (#36294)
    • 始终尊重用户“合并后删除分支”的选择 (#36281) (#36286)
    • 为LFS链接使用请求的主机 (#36242) (#36258)
    • 修复获取编辑器配置文件时的恐慌 (#36241) (#36247)
    • 修复写入授权主体时的回归 (#36213) (#36218)
    • 修复WebAuthn错误检查 (#36219) (#36235)

Gitea Cloud 上的实例将在指定的维护窗口期间自动升级到此版本。

更新内容 (原始)

  • SECURITY

    • Release attachments must belong to the intended repo (#36347) (#36375)
    • Fix permission check on org project operations (#36318) (#36373)
    • Clean watches when make a repository private and check permission when send release emails (#36319) (#36370)
    • Add more check for stopwatch read or list (#36340) (#36368)
    • Fix openid setting check (#36346) (#36361)
    • Fix cancel auto merge bug (#36341) (#36356)
    • Fix delete attachment check (#36320) (#36355)
    • LFS locks must belong to the intended repo (#36344) (#36349)
    • Fix bug on notification read (#36339) #36387
  • ENHANCEMENTS

    • Add more routes to the “expensive” list (#36290)
    • Make “commit statuses” API accept slashes in “ref” (#36264) (#36275)
  • BUGFIXES

    • Fix markdown newline handling during IME composition (#36421) #36424
    • Fix missing repository id when migrating release attachments (#36389)
    • Fix bug when compare in the pull request (#36363) (#36372)
    • Fix incorrect text content detection (#36364) (#36369)
    • Fill missing has_code in repository api (#36338) (#36359)
    • Fix notifications pagination query parameters (#36351) (#36358)
    • Fix some trivial problems (#36336) (#36337)
    • Prevent panic when GitLab release has more links than sources (#36295) (#36305)
    • Fix stats bug when syncing release (#36285) (#36294)
    • Always honor user’s choice for “delete branch after merge” (#36281) (#36286)
    • Use the requested host for LFS links (#36242) (#36258)
    • Fix panic when get editor config file (#36241) (#36247)
    • Fix regression in writing authorized principals (#36213) (#36218)
    • Fix WebAuthn error checking (#36219) (#36235)

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

下载链接