Skip to content

Show source package info in changelogs for indirect bumps#60

Merged
theoephraim merged 4 commits intomainfrom
fix/changelog-bump-sources
Apr 29, 2026
Merged

Show source package info in changelogs for indirect bumps#60
theoephraim merged 4 commits intomainfrom
fix/changelog-bump-sources

Conversation

@theoephraim
Copy link
Copy Markdown
Member

Summary

  • When a package is bumped via dependency propagation, cascade rules, or fixed/linked groups, the changelog now shows which package triggered the bump and its new version, instead of inheriting the source package's change descriptions
  • Adds bumpSources field to PlannedRelease tracking source packages with their resolved new versions
  • Adds isGroupBump flag for fixed/linked group bumps
  • Each applicable reason (dependency, group, cascade) is shown independently, so overlapping scenarios display all relevant context

Changelog examples

Dependency bump: - Updated dependency \core` v2.0.0**Cascade bump:**- Version bump from `core` v1.1.0**Group bump:**- Version bump from group with `core` v1.1.0`
Direct changes + group upgrade: shows both the direct change and the group explanation

Test plan

  • 212 tests pass (454 assertions)
  • Release-plan tests verify bumpSources and isGroupBump for dependency, cascade, fixed group, and linked group bumps
  • Changelog formatter tests (default + github) cover all bump types, fallbacks, and overlap scenarios

When a package is bumped via dependency propagation, cascade rules, or
fixed/linked groups, the changelog now shows which package triggered the
bump and its new version instead of inheriting the source package's
change descriptions.

- Add `bumpSources` to PlannedRelease to track which packages caused
  indirect bumps, with their resolved new versions
- Add `isGroupBump` flag for fixed/linked group bumps
- Stop inheriting source bump files for dependency/cascade bumps
- Show each applicable reason independently (dependency, group, cascade)
  so overlapping scenarios display all relevant context
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

bumpy-frog

The changes in this PR will be included in the next version bump.

minor Minor releases

  • @varlock/bumpy 1.4.2 → 1.5.0

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit 6e9195f into main Apr 29, 2026
2 checks passed
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.

1 participant