Skip to content

Conversation

@febo
Copy link
Contributor

@febo febo commented Nov 5, 2025

Problem

The hash crate now re-exports the types from hash@v4 to maintain compatibility between the different major versions. But it is still not possible to publish a patch version from the maintenance/v3.x branch since semver-checks does not support checking cross-crate elements and reports the re-exports as missing/breaking changes.

This is known limitation of semver-cheks:

Solution

Disable the semver-checks lints for the hash crate so the re-exported elements are not flagged as missing.

Unsuccessful semver-checks (current): https://github.com/anza-xyz/solana-sdk/actions/runs/19088345538/job/54533431155

Successful semver-checks (this PR): https://github.com/febo/solana-sdk/actions/runs/19100305658/job/54570359447

@febo febo force-pushed the add-semver-checks-lints branch from 48beeb7 to b0dc426 Compare November 5, 2025 11:28
@febo febo force-pushed the add-semver-checks-lints branch from b0dc426 to 7b091c7 Compare November 5, 2025 11:29
@febo febo requested a review from joncinque November 5, 2025 11:30
Copy link
Collaborator

@joncinque joncinque 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 digging into this, looks great!

@febo febo merged commit c025e26 into anza-xyz:maintenance/v3.x Nov 5, 2025
26 checks passed
@febo febo deleted the add-semver-checks-lints branch November 5, 2025 13:03
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.

2 participants