fix(release): keep de-indented code-span lines in beta release notes (#2712)#676
Merged
Conversation
…(#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.