mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8870481474
## What does this PR do? Preserves Conventional Commit bodies while collecting release changes so breaking-change migration guidance can reach both raw and AI-generated release notes. The change: - parses `git log` with explicit field and record separators, including multiline bodies without splitting commits; - extracts both `BREAKING CHANGE:` and `BREAKING-CHANGE:` footers and keeps their continuation lines; - recognizes only the Conventional Commit `!:` marker instead of arbitrary exclamation marks; - shares the raw release-note renderer between the release preparation script and focused tests; - adds a real temporary-Git-history regression test plus unit coverage for footer-only, `!:`-only, trailer, multiline, and empty-body cases. The implementation is intentionally limited to `scripts/release/`. Validation completed: - `pnpm exec vitest run scripts/release` — 14 files, 161 tests passed - `pnpm run build` - full test suite, with all initially environment-sensitive projects rerun successfully - `pnpm run check:packages` - `pnpm run lint` — no errors - `pnpm run check-format` - `pnpm run release:prepare:dry` - `bash scripts/release/verify-release-scope-dropdowns.sh` - targeted TypeScript and oxlint checks for all six changed files ## Related PRs and Issues - Fixes https://github.com/CopilotKit/CopilotKit/issues/6479 - Clean, release-only follow-up to https://github.com/CopilotKit/CopilotKit/pull/6632 ## Checklist - [x] I have read the [Contribution Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md) - [x] If the PR changes or adds functionality, I have updated the relevant documentation (not applicable; internal release tooling with regression coverage) - [x] "Allow edits by maintainers" is checked (lets us help iterate on your PR directly — faster turnaround for everyone)