Release Notes brings back cleared changes, including "Breaking: Updated API"

已关闭
#372 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@prakashNalla 已经在做这个了。

开始于 2026年10月31日。

  • #388 来自 @prakashNalla —— 已合并

评估

这个 Issue 还没有评估数据。

描述

bug

Describe the bug
Release Notes always lists three changes. Each change falls back to its default with || (src/templates/github/release-notes.ts:38-42), so a cleared Change 3 comes back as Breaking: Updated API. A release with one or two changes ends up announcing a breaking change it doesn't have.

To Reproduce

  1. Open the Release Notes template in the editor
  2. Set Change 1 to Fix login redirect and clear Change 2 and Change 3
  3. The image lists Fix login redirect, Performance improvements and Breaking: Updated API

Expected behavior
Only Fix login redirect.

Actual behavior
The two cleared changes come back with their default text.

Environment

  • Browser: Chrome
  • OS: macOS

Additional context
Same pattern as #358. Updated Post already filters out empty changes.

主要语言
TypeScript
星标
8
派生
4
平均合并
8 小时 47 分钟
30 天内合并 PR
157

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codercops/ogcops 的其他 Issue

查看 codercops/ogcops 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。