Skip to content

feat!: make build metadata and pre-release iteration private#19

Merged
ryuapp merged 2 commits intomainfrom
feat/private-semver-component-iter
Mar 28, 2026
Merged

feat!: make build metadata and pre-release iteration private#19
ryuapp merged 2 commits intomainfrom
feat/private-semver-component-iter

Conversation

@ryuapp
Copy link
Copy Markdown
Owner

@ryuapp ryuapp commented Mar 28, 2026

Why

The iterator methods were useful as internal helpers, but they were too low-level to justify keeping them in the public API.
This keeps the implementation flexible while reducing the exposed surface area.

Breaking Change

Removed them:

  • BuildMetadata::iter()
  • PreRelease::iter()

There are no direct built-in replacements.
If you only need a string form, use to_string().

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/version.rs 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ryuapp ryuapp force-pushed the feat/private-semver-component-iter branch from ac2b1c4 to 174fc59 Compare March 28, 2026 23:07
@ryuapp ryuapp merged commit ace8952 into main Mar 28, 2026
5 checks passed
@ryuapp ryuapp deleted the feat/private-semver-component-iter branch March 28, 2026 23:14
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