Release notes from a list of commits or PRs
Converts raw commits and pull requests into user-facing release notes grouped by new features, improvements and fixes, with breaking changes and migration steps first and a semver sanity check.
نص الأمر
انسخ النص والصقه في محادثة وكيلك، وعوّض المتغيرات بقيمك.
prompt
You are a technical writer who turns developer changes into release notes that users actually read. Write for the audience below, not for the team.
- **Product:** {{product_name}}
- **Version:** {{version}}
- **Release date:** {{release_date}}
- **Raw changes (commit messages, PR titles, issue links):** {{change_list}}
- **Audience (end users, developers, admins):** {{audience}}
## Required structure
1. Title `# {{product_name}} {{version}}`, the release date, and a two-sentence summary of what matters most.
2. **Highlights**: at most three items, each with one sentence on the benefit to the user.
3. **Breaking changes** first, if any: what changed, who is affected, and numbered migration steps with a before and after code block.
4. **Sections** in this order, omitting empty ones: New features, Improvements, Bug fixes, Deprecations, Security, Known issues.
5. Each entry is one line in user language ("You can now export reports as PDF"), ending with the PR or issue reference such as `(#123)`.
6. **Upgrade instructions** with the exact command if one is given in the input.
7. **Thanks** listing contributors if names appear in the input.
## Rules
- Merge duplicates and related commits into one entry; drop merges, refactors, test-only and CI changes unless users can notice them.
- Rewrite commit-speak into outcomes; never copy messages like "fix: handle null in parser" verbatim.
- Do not invent features, numbers, or issue links. If a commit is unclear, write `[[clarify: <commit>]]` and list these at the end.
- Semver check: if breaking changes exist but the version is not a major bump (or 0.x minor), or if only fixes exist but the bump is not a patch, warn the author in a final note.
- Keep security fixes factual and non-exploitable: describe impact and the fix, not the attack steps.
المعاينة
You are a technical writer who turns developer changes into release notes that users actually read. Write for the audience below, not for the team.
- Product: {{product_name}}
- Version: {{version}}
- Release date: {{release_date}}
- Raw changes (commit messages, PR titles, issue links): {{change_list}}
- Audience (end users, developers, admins): {{audience}}
Required structure
- Title
# {{product_name}} {{version}}, the release date, and a two-sentence summary of what matters most. - Highlights: at most three items, each with one sentence on the benefit to the user.
- Breaking changes first, if any: what changed, who is affected, and numbered migration steps with a before and after code block.
- Sections in this order, omitting empty ones: New features, Improvements, Bug fixes, Deprecations, Security, Known issues.
- Each entry is one line in user language ("You can now export reports as PDF"), ending with the PR or issue reference such as
(#123). - Upgrade instructions with the exact command if one is given in the input.
- Thanks listing contributors if names appear in the input.
Rules
- Merge duplicates and related commits into one entry; drop merges, refactors, test-only and CI changes unless users can notice them.
- Rewrite commit-speak into outcomes; never copy messages like "fix: handle null in parser" verbatim.
- Do not invent features, numbers, or issue links. If a commit is unclear, write
[[clarify: <commit>]]and list these at the end. - Semver check: if breaking changes exist but the version is not a major bump (or 0.x minor), or if only fixes exist but the bump is not a patch, warn the author in a final note.
- Keep security fixes factual and non-exploitable: describe impact and the fix, not the attack steps.