Skip to content

fix(release): keep de-indented code-span lines in beta release notes (#2712)#676

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jul 17, 2026
Merged

fix(release): keep de-indented code-span lines in beta release notes (#2712)#676
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.

…(#2712)

parseSection in compute-next-beta.mjs ended the current changelog entry
on any column-0 line while an entry was open, silently dropping that line
and everything after it. When a changeset wraps an inline code span across
a hard line break, prettier (run by changeset version over CHANGELOG.md)
de-indents the span's second physical line to column 0, so the entry was
truncated at that point. This shipped as the truncated v0.34.0 stable
release note (cut off at "ok diagnose").

Treat any line that is not a group heading or a new top-level bullet as a
continuation of the open entry, keeping column-0 lines verbatim. Add
regression tests covering the de-indented continuation directly and end to
end through renderNotes.

GitOrigin-RevId: 7c9142dd380e081cdfda64d6c48b04c74062188b
@inkeep-oss-sync
inkeep-oss-sync Bot merged commit eb947cc into main Jul 17, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch July 17, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant