You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(release-pr): stop dropping changeset entries and stripping code blocks (triggerdotdev#3954)
## Summary
The script that generates the changeset release PR description was
silently dropping some changelog entries and stripping code examples. In
[triggerdotdev#3932](triggerdotdev#3932), entry
[triggerdotdev#3937](triggerdotdev#3937) was
missing entirely from the Improvements list and
[triggerdotdev#3952](triggerdotdev#3952 code
block was gone, even though both were present in the raw changeset
output.
## Root cause
`parsePrBody` parsed the raw changeset body line by line:
- The dependency-bump filter matched any entry whose text *began* with a
backticked package name, so a real changelog entry like ``
`@trigger.dev/sdk` now bundles... `` got thrown out along with the
genuine version-bump lines.
- Only the first line of each bullet was kept, so fenced code blocks,
sub-bullets, and continuation paragraphs were discarded.
## Fix
Group each top-level bullet with its indented continuation (code blocks,
sub-bullets, paragraphs), dedent it, and re-emit it intact. The
dependency filter is now anchored so it only matches lines that are
*entirely* a package bump, leaving real entries that merely start with a
package name.
Verified by replaying triggerdotdev#3932's raw body through the script: triggerdotdev#3937 returns
to the list, triggerdotdev#3952's code block is preserved, and triggerdotdev#3936's sub-bullets
nest correctly under their parent.
0 commit comments