发布日期: 2025-11-22
版本号: v1.25.2

Gitea 发布新版本,包含以下更新内容:

安全更新:升级了 golang.org/x/crypto 至 0.45.0 版本,并修复了多个与权限和登录相关的错误。

功能增强:现在发布版本的附件中,源代码下载项将显示在最后;同时将项目的默认列图标更改为“星形”。

错误修复:解决了多项问题,包括允许以压缩方式合并拉取请求时提交空提交、修复容器推送标签覆盖问题、修复外部渲染内容损坏并升级 golang.org/x 包、限制读取字节数而非使用 ReadAll、修正分支保护 API 中允许强制推送用户的表单字段、修复团队成员访问检查、修复 conda 空依赖问题、在调用者未指定日期时将其设置为当前时间、修复 gogit 的 ListEntriesRecursiveWithSize 问题、多项 CSS 样式修复、为“合并后删除分支”功能向用户隐藏不必要的错误信息、尽早加载 jQuery 以支持自定义脚本、在启用 MinIO 存储的 SERVE_DIRECT 时允许显示嵌入的图片/PDF、使 OAuth2 颁发者可配置、为项目页面添加正确的页面标题、修复头像上传错误处理、改进贡献热图、移除 .ui .sha.label 上的内边距覆盖,以及修复拉取描述中代码标签的背景色。

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

更新内容 (中文)

  • 安全
    • 升级 golang.org/x/crypto 至 0.45.0 (#35985) (#35988)
    • 修复多种权限与登录相关错误 (#36002) (#36004)
  • 功能增强
    • 对于发行版附件,将源代码下载项置于列表末尾 (#35897) (#35903)
    • 将项目默认列图标改为 ‘星标’ (#35967) (#35979)
  • 错误修复
    • 允许使用压缩样式合并拉取请求时提交为空 (#35989) (#36003)
    • 修复容器推送标签覆盖问题 (#35936) (#35954)
    • 修复损坏的外部渲染内容 (#35946) 并升级 golang.org/x 相关包 (#35950)
    • 将读取字节数限制为有限范围,而非读取全部 (#35928) (#35934)
    • 在分支保护 API 中,为允许强制推送的用户使用正确的表单字段 (#35894) (#35908)
    • 修复团队成员访问检查 (#35899) (#35905)
    • 修复 Conda 空依赖项问题 (#35900) (#35902)
    • 当调用者未指定日期时,将其设置为当前时间 (#35861) (#35874)
    • 修复 gogit 的 ListEntriesRecursiveWithSize 函数 (#35862)
    • 各种 CSS 修复 (#35888) (#35981)
    • 避免在删除合并后分支时向最终用户显示不必要的错误消息 (#35937) (#35941)
    • 尽早加载 jQuery 以支持自定义脚本 (#35926) (#35929)
    • 当 MinIO 存储启用了 SERVE_DIRECT 时,允许显示嵌入的图片/ PDF 文件 (#35882) (#35917)
    • 使 OAuth2 颁发者可配置 (#35915) (#35916)
    • 修复 #35763:为项目页面添加适当的标题 (#35773) (#35909)
    • 修复头像上传错误处理 (#35887) (#35890)
    • 贡献热力图改进 (#35876) (#35880)
    • 移除 .ui .sha.label 上的填充覆盖 (#35864) (#35873)
    • 修复拉取描述中代码标签的背景色 (#35865) (#35870)

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

更新内容 (原始)

  • SECURITY
    • Upgrade golang.org/x/crypto to 0.45.0 (#35985) (#35988)
    • Fix various permission & login related bugs (#36002) (#36004)
  • ENHANCEMENTS
    • Display source code downloads last for release attachments (#35897) (#35903)
    • Change project default column icon to ‘star’ (#35967) (#35979)
  • BUGFIXES
    • Allow empty commit when merging pull request with squash style (#35989) (#36003)
    • Fix container push tag overwriting (#35936) (#35954)
    • Fix corrupted external render content (#35946) and upgrade golang.org/x packages (#35950)
    • Limit reading bytes instead of ReadAll (#35928) (#35934)
    • Use correct form field for allowed force push users in branch protection API (#35894) (#35908)
    • Fix team member access check (#35899) (#35905)
    • Fix conda null depend issue (#35900) (#35902)
    • Set the dates to now when not specified by the caller (#35861) (#35874)
    • Fix gogit ListEntriesRecursiveWithSize (#35862)
    • Misc CSS fixes (#35888) (#35981)
    • Don’t show unnecessary error message to end users for DeleteBranchAfterMerge (#35937) (#35941)
    • Load jQuery as early as possible to support custom scripts (#35926) (#35929)
    • Allow to display embed images/pdfs when SERVE_DIRECT was enabled on MinIO storage (#35882) (#35917)
    • Make OAuth2 issuer configurable (#35915) (#35916)
    • Fix #35763: Add proper page title for project pages (#35773) (#35909)
    • Fix avatar upload error handling (#35887) (#35890)
    • Contribution heatmap improvements (#35876) (#35880)
    • Remove padding override on .ui .sha.label (#35864) (#35873)
    • Fix pull description code label background (#35865) (#35870)

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

下载链接