Skip to content

fix(core): show fallback notes for forced version bumps#148

Merged
dangreen merged 2 commits into
mainfrom
fix/forced-bump-release-notes
Jun 27, 2026
Merged

fix(core): show fallback notes for forced version bumps#148
dangreen merged 2 commits into
mainfrom
fix/forced-bump-release-notes

Conversation

@dangreen

Copy link
Copy Markdown
Member

No description provided.

@coveralls

coveralls commented Jun 27, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 28302594795

Coverage increased (+0.2%) to 59.868%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: 1 of 1 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 689
Covered Lines: 466
Line Coverage: 67.63%
Relevant Branches: 375
Covered Branches: 171
Branch Coverage: 45.6%
Branches in Coverage %: Yes
Coverage Strength: 9.45 hits per line

💛 - Coveralls

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a fallback message to generated changelog entries when a version bump produces no commit-based release notes, and updates test scaffolding and dependencies to support the new template behavior.

Changes:

  • Introduce a preamblePartial template hook to inject a placeholder message when commit/note groups are empty.
  • Wire the partial into the core bump flow and add unit tests for empty vs non-empty generated notes.
  • Update workspace/package dependencies and lockfile to include @conventional-changelog/template and related conventional-changelog package bumps.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pnpm-workspace.yaml Updates minimum-release-age exclusions to match bumped changelog-related packages.
pnpm-lock.yaml Refreshes lockfile for updated conventional-changelog/template dependency chain and related transitive bumps.
packages/test/src/project.mock.ts Adds postReleaseCommits option to produce repos with no post-tag commits for empty-notes testing.
packages/core/src/project/project.ts Configures changelog writer to use the new preamblePartial.
packages/core/src/project/packageJson.spec.ts Adds coverage for placeholder behavior when generated release notes are empty/non-empty.
packages/core/src/change-log.ts Implements preamblePartial using @conventional-changelog/template segments().
packages/core/package.json Adds @conventional-changelog/template and bumps conventional-changelog preset dependency.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/core/src/change-log.ts
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@dangreen dangreen merged commit 41f36fe into main Jun 27, 2026
6 checks passed
@dangreen dangreen deleted the fix/forced-bump-release-notes branch June 27, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants