发布日期: 2025-12-18
版本号: v1.25.3

本次Gitea更新主要包含以下内容:安全方面,将工具链升级至go1.25.5并进行了杂项修复。功能方面,在Markdown编辑器中新增了删除线按钮,将“站点管理员”选项重新加入个人资料菜单,并改善了数学公式渲染效果。此外,本次更新修复了多项错误,包括处理用户重命名时的可见性检查、提交差异页浏览非ANSI文件、RSS图标显示、SVG尺寸计算、SSH克隆、邮件发送、用户邮箱编辑与更新、文件查看计数、容器注册表错误处理、WebAuthn错误界面、文件图标显示、Actions路径触发、邮件与Wiki服务错误处理,以及拉取请求比较与创建过程中的相关问题。运行于Gitea Cloud的实例将在维护窗口期间自动升级至此版本。

更新内容 (中文)

  • 安全
    • 工具链升级至 go1.25.5,附带多项修复 (#36082)
  • 功能增强
    • 为 Markdown 编辑器添加删除线按钮 (#36087) (#36104)
    • 在个人菜单中恢复显示"站点管理员"选项 (#36010) (#36013)
    • 改进数学公式渲染效果 (#36124) (#36125)
  • 错误修复
    • 重定向至更名用户时检查用户可见性 (#36148) (#36159)
    • 修复多个已知问题 (#36139) (#36151)
    • 修复查看非 ANSI 文件的提交差异页面时的错误 (#36149) (#36150)
    • 查看非分支下的文件时隐藏 RSS 图标 (#36135) (#36141)
    • 修复 SVG 尺寸计算问题,仅使用 style 属性 (#36133) (#36134)
    • 修正 Golang 上传文件时临时文件的正确删除逻辑 (#36128) (#36129)
    • 修复 SSH 克隆时用户或仓库重定向导致的错误 (#36039) (#36090)
    • 改用 Golang net/smtp 替代 gomail 的 smtp 模块发送邮件 (#36055) (#36083)
    • 修复 API 中编辑用户邮箱的错误 (#36068) (#36081)
    • 修复更新用户邮箱时的错误 (#36058) (#36066)
    • 修复文件变更时已查看文件计数器不准确的问题 (#36009) (#36047)
    • 修复容器注册表的错误处理 (#36021) (#36037)
    • 修复 WebAuthn 不安全错误视图 (#36165) (#36179)
    • 修复部分文件图标界面显示问题 (#36078) (#36088)
    • 修复 Actions 的 pull_request.paths 因变基操作错误触发的问题 (#36045) (#36054)
    • 修复邮件和维基服务中的错误处理 (#36041) (#36053)
    • 修复比较和创建拉取请求时的错误 (#36166) (#36144)

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

更新内容 (原始)

  • SECURITY
    • Bump toolchain to go1.25.5, misc fixes (#36082)
  • ENHANCEMENTS
    • Add strikethrough button to markdown editor (#36087) (#36104)
    • Add “site admin” back to profile menu (#36010) (#36013)
    • Improve math rendering (#36124) (#36125)
  • BUGFIXES
    • Check user visibility when redirecting to a renamed user (#36148) (#36159)
    • Fix various bugs (#36139) (#36151)
    • Fix bug when viewing the commit diff page with non-ANSI files (#36149) (#36150)
    • Hide RSS icon when viewing a file not under a branch (#36135) (#36141)
    • Fix SVG size calulation, only use style attribute (#36133) (#36134)
    • Make Golang correctly delete temp files during uploading (#36128) (#36129)
    • Fix the bug when ssh clone with redirect user or repository (#36039) (#36090)
    • Use Golang net/smtp instead of gomail’s smtp to send email (#36055) (#36083)
    • Fix edit user email bug in API (#36068) (#36081)
    • Fix bug when updating user email (#36058) (#36066)
    • Fix incorrect viewed files counter if file has changed (#36009) (#36047)
    • Fix container registry error handling (#36021) (#36037)
    • Fix webAuthn insecure error view (#36165) (#36179)
    • Fix some file icon ui (#36078) (#36088)
    • Fix Actions pull_request.paths being triggered incorrectly by rebase (#36045) (#36054)
    • Fix error handling in mailer and wiki services (#36041) (#36053)
    • Fix bugs when comparing and creating pull request (#36166) (#36144)

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

下载链接