发布日期: 2026-07-27
版本号: v1.27.1

本次Gitea版本更新包含安全修复、API调整、功能增强以及大量问题修复。安全方面,修复了orgmode渲染包含路径和git补丁应用的相关问题。API部分,对齐了用户设置和主题列表响应的Swagger模式。功能增强方面,改善了浅色与深色主题下的差异对比度。此外,更新修复了包括Actions工作流处理、webhook、文件树显示、合并与拉取请求、以及界面元素属性等在内的众多问题。具体修复涵盖了从认证会话、日志解析、运行器状态到数据库操作等多个环节,旨在提升整体稳定性、安全性和用户体验。所有托管于Gitea Cloud的实例将在指定的维护窗口期内自动升级至本版本。

更新内容 (中文)

  • 安全
    • 修复:orgmode 渲染包含路径 (#38642) (#38645)
    • 修复:git 补丁应用 (#38637) (#38638)
  • API

    • 修复(api):对齐 UserSettings 和 TopicListResponse 的 Swagger 模式 (#38590) (#38592)
  • 增强功能

    • 增强:改进浅色和深色主题中的 diff 对比度 (#37477) (#38574)
  • 问题修复

    • 修复:为 OAuth2 用户跳过密码登录后的 OIDC 结束会话 (#38439) (#38666)
    • 修复:使 Actions 日志解析器支持多行消息编码 (#38659) (#38664)
    • 修复(actions):为 pull_request_target 上下文使用基础分支引用 (#38636) (#38657)
    • 修复(actions):在 ApproveRuns 中跳过已批准的运行 (#38653) (#38654)
    • 修复:orgmode 渲染包含路径 (#38642) (#38645)
    • 修复(actions):当运行器停止报告时立即取消任务 (#38616) (#38644)
    • 修复(issues):修复标签批量加载键并减少 LoadLabel 中的日志噪音 (#38632) (#38643)
    • 修复(actions):改进运行器列表状态排序、标签和任务作业链接 (#38586) (#38633)
    • 修复(actions):正确性和加固修复 (#38518) (#38631)
    • 修复(repo):防止因依赖错误导致的双重写入重定向冲突,修复 UI (#38627) (#38628)
    • 修复:删除仓库时同时删除另外七个表的仓库范围行 (#38534) (#38618)
    • 修复(webhook):移除 Slack 频道名称检查 (#38608) (#38612)
    • 修复:分支页面上下载下拉菜单被裁剪的问题 (#38604) (#38609)
    • 修复(project):防止在无效的 MoveIssues 载荷上进行数据库变更 (#38600) (#38602)
    • 修复(actions):使 SingleWorkflow.Marshal 可往返处理多行运行块(阻止静默的作业停滞)(#38520) (#38599)
    • 修复(file-tree):处理子模块链接和缺失的视图容器 (#38033) (#38589)
    • 修复(actions):使无法展开的可重用工作流调用方失败,并解耦作业发射器的跨运行处理 (#38565) (#38587)
    • 修复:当启动时 ACME 证书续期失败时,继续提供有效的证书 (#38554) (#38583)
    • 修复:分支保护用户列表 (#38570) (#38584)
    • 修复(pulls):在 diff 文件树中遵循 diff.orderFile (#38566) (#38578)
    • 修复(issue):使 issue 操作(issue 列表批量操作)元素具有正确的属性 (#38575) (#38580)
    • 修复(actions):在评估工作流 if 表达式时支持 matrix (#38474) (#38557)
    • 修复(actions):对齐 Safari 渲染的状态图标 span (#38558) (#38562)
    • 修复:回退 git clone HTTP 重定向禁止 (#38530) (#38545)
    • 修复:在 deleteUser 中清理孤立的用户键控表 (#38511) (#38514)
    • 修复(actions):将 workflow_dispatch 布尔输入强制转换为原生类型 (#38472) (#38521)
    • 修复:如果某些检查失败,使合并框按钮变红 (#38508) (#38516)
    • 修复(pull):通过合并更新分支时签署提交 (#38441) (#38499)
    • 修复:使提交信息正确合并 (#38490) (#38502)
    • 修复(actions):解释为何被阻止或等待的作业未开始 (#38476) (#38498)
    • 修复(actions):使 cancelled() 在作业 if 评估中工作 (#38495) (#38497)
    • 修复(actions):在悬停过期构件时显示保留信息 (#38477) (#38493)
    • 修复(actions):在工作流图中对可重用工作流矩阵腿进行分组 (#38475) (#38492)
    • 修复:对包含 CR 字符的 git diff 进行完整文件高亮 (#38484) (#38491)
    • 修复(packages):为任何请求的架构提供 noarch Alpine 索引 (#38479) (#38486)
    • 修复:更新用户可见性时出现 500 错误 (#38480) (#38483)
    • 修复(actions):使作业列表项完全可点击 (#38462) (#38471)
    • 修复:推送事件的邮件模板 (#38467) (#38468)
    • 修复:使"测试推送 webhook"始终有效 (#38425) (#38455)
    • 修复(actions):防止批量操作影响所有运行器 (#38453) (#38457)
    • 修复(org):对齐关注按钮并换行描述 (#38448) (#38454)
    • 修复(actions):为计划运行填充 github.event (#38446) (#38452)
  • 杂项

    • 重构:git 补丁应用 (#38637) (#38638)

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

更新内容 (原始)

  • SECURITY
    • Fix: orgmode render include path (#38642) (#38645)
    • Fix: git patch apply (#38637) (#38638)
  • API

    • fix(api): align Swagger schemas for UserSettings and TopicListResponse (#38590) (#38592)
  • ENHANCEMENTS

    • enhance: improve diff contrast in light and dark themes (#37477) (#38574)
  • BUGFIXES

    • fix: skip OIDC end-session after password login for OAuth2 users (#38439) (#38666)
    • fix: make Actions log parser support multiple line message encoding (#38659) (#38664)
    • fix(actions): use base branch ref for pull_request_target context (#38636) (#38657)
    • fix(actions): skip already-approved runs in ApproveRuns (#38653) (#38654)
    • fix: orgmode render include path (#38642) (#38645)
    • fix(actions): cancel tasks immediately when the runner stopped reporting (#38616) (#38644)
    • fix(issues): fix label bulk-load key and reduce log noise in LoadLabel (#38632) (#38643)
    • fix(actions): improve runner list status sorting, labels and task job links (#38586) (#38633)
    • fix(actions): correctness and hardening fixes (#38518) (#38631)
    • fix(repo): prevent double-write redirect collisions on dependency errors, fix ui (#38627) (#38628)
    • fix: delete repo-scoped rows of seven more tables when deleting a repository (#38534) (#38618)
    • fix(webhook): remove slack channel name check (#38608) (#38612)
    • fix: download dropdown menu clipped on the branches page (#38604) (#38609)
    • fix(project): prevent database mutations on invalid MoveIssues payload (#38600) (#38602)
    • fix(actions): make SingleWorkflow.Marshal round-trip multi-line run blocks (stop silent job stranding) (#38520) (#38599)
    • fix(file-tree): handle submodule links and missing view container (#38033) (#38589)
    • fix(actions): fail unexpandable reusable workflow callers and decouple the job emitter’s cross-run processing (#38565) (#38587)
    • fix: keep serving valid ACME cert when renewal fails at startup (#38554) (#38583)
    • fix: branch protection user list (#38570) (#38584)
    • fix(pulls): respect diff.orderFile in diff file tree (#38566) (#38578)
    • fix(issue): make issue action (issue list batch operation) elements have correct attributes (#38575) (#38580)
    • fix(actions): support matrix when evaluating workflow if expression (#38474) (#38557)
    • fix(actions): align status icon span for Safari rendering (#38558) (#38562)
    • fix: revert git clone http redirection forbidden (#38530) (#38545)
    • fix: clean up orphaned user-keyed tables in deleteUser (#38511) (#38514)
    • fix(actions): coerce workflow_dispatch boolean inputs to native types (#38472) (#38521)
    • fix: make the merge box button red if some checks fail (#38508) (#38516)
    • fix(pull): sign the commit when updating a branch by merge (#38441) (#38499)
    • fix: make commit message merge correctly (#38490) (#38502)
    • fix(actions): explain why a blocked or waiting job has not started (#38476) (#38498)
    • fix(actions): make cancelled() work in job if evaluation (#38495) (#38497)
    • fix(actions): show retention info on hover for expired artifacts (#38477) (#38493)
    • fix(actions): group reusable-workflow matrix legs in the workflow graph (#38475) (#38492)
    • fix: full file highlighting for git diff with CR char (#38484) (#38491)
    • fix(packages): serve noarch Alpine index for any requested architecture (#38479) (#38486)
    • fix: 500 error when updating user visibility (#38480) (#38483)
    • fix(actions): make job list item fully clickable (#38462) (#38471)
    • fix: mail template for push event (#38467) (#38468)
    • fix: make “test push webhook” always work (#38425) (#38455)
    • fix(actions): prevent bulk actions from affecting all runners (#38453) (#38457)
    • fix(org): align follow button and wrap description (#38448) (#38454)
    • fix(actions): populate github.event for scheduled runs (#38446) (#38452)
  • MISC

    • refactor: git patch apply (#38637) (#38638)

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

下载链接