Skip to content

[Validator] Add documentation for the new SemVer constraint #21162

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

Open
wants to merge 3 commits into
base: 7.4
Choose a base branch
from

Conversation

OskarStark
Copy link
Contributor

This documents the SemVer constraint introduced in Symfony 7.4, which validates semantic version strings according to the Semantic Versioning specification.

@OskarStark OskarStark requested a review from xabbuh as a code owner June 30, 2025 21:07
@OskarStark OskarStark added Validator Waiting Code Merge Docs for features pending to be merged labels Jun 30, 2025
@carsonbot carsonbot added this to the 7.4 milestone Jun 30, 2025
@carsonbot carsonbot changed the title Add documentation for the new SemVer constraint [Validator] Add documentation for the new SemVer constraint Jun 30, 2025
@carsonbot carsonbot modified the milestones: 7.4, next Jun 30, 2025
@OskarStark OskarStark force-pushed the document-semver-constraint branch from 84b5474 to fb37120 Compare June 30, 2025 21:08
- Remove requirePrefix, allowPreRelease, and allowBuildMetadata options
- Add strict option (default: true) as the only configuration option
- Update examples to show behavior with strict mode enabled/disabled
@OskarStark OskarStark force-pushed the document-semver-constraint branch from 90f36e5 to 6795cf5 Compare July 1, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Validator Waiting Code Merge Docs for features pending to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants