Dashboard › craft › Craft changelog: commits without PRs we…
019ca05d-1ee2-759e-8a57-596470be9a3aIn src/utils/changelog.ts, the leftovers guard at the categorization step had if (!categoryTitle || !raw.pr) — the || !raw.pr condition forced ALL commits without associated PRs into the "Other" leftovers section, even when they matched a category via commit_patterns or labels. This meant direct pushes (no PR) like feat(auth): add SSO would correctly contribute to version bump calculation (which runs before the leftovers check) but would appear under "Other" in the changelog instead of their matched category. Fix: remove || !raw.pr so only !categoryTitle controls leftover placement. The downstream rendering already handles PR-less commits gracefully — createPREntriesFromRaw uses raw.pr ?? '', and formatChangelogEntry falls back to commit-hash links when prNumber is falsy (empty string).