Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: limit breaking change dependent detection to peer dependencies #170

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Mar 4, 2025

Description

This PR refines our breaking change dependent detection logic to only consider peer dependencies. This change supports our policy of requiring packages with breaking changes to be released alongside their dependents.

Changes

  • Modified the filter logic in validateReleaseSpecification to check only peerDependencies when determining dependent packages that must be released together with packages containing breaking changes

When a package introduces breaking changes, we need to ensure that packages directly affected by those changes are released simultaneously. Peer dependencies represent a more critical relationship where breaking changes have a direct impact, while regular dependencies can often adapt to breaking changes through internal implementation details.

@cryptodev-2s cryptodev-2s requested a review from mcmire March 4, 2025 17:19
@cryptodev-2s cryptodev-2s self-assigned this Mar 4, 2025
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner March 4, 2025 17:19
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Thanks for making this change so quickly!

@cryptodev-2s cryptodev-2s merged commit 920bb92 into main Mar 4, 2025
13 checks passed
@cryptodev-2s cryptodev-2s deleted the cryptodev2s/limit-dependents-check-to-peer-dependencies-only branch March 4, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants