Skip to content

test: semver operators support 1 to 5 version parts - #31

Merged
greghuels merged 3 commits into
mainfrom
greg.huels/FFL-3002/semver-more-less-parts
Aug 19, 2026
Merged

test: semver operators support 1 to 5 version parts#31
greghuels merged 3 commits into
mainfrom
greg.huels/FFL-3002/semver-more-less-parts

Conversation

@greghuels

@greghuels greghuels commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 18 -- now allowed, treated as 18.0.0
  • 18.0 -- now allowed, treated as 18.0.0
  • 18.0.0 -- still allowed (valid semver)
  • 18.0.0-prerelease.1 -- still allowed (valid semver)
  • 18.0.0.0 -- now allowed
  • 18.0.0.0.0 -- now allowed
  • 18.0.0.0.0.0 (and beyond) -- not limited; for now we are not capping the number of parts a version can have

Changes

  • expand SemVer fixture coverage for one- through five-part versions
  • cover both attribute values and configured comparands
  • update fixture documentation and validation config
  • drop the six-part rejection fixtures (runtime attribute and configured comparand), since the part count is no longer capped at five

Validation

  • Not run locally; fixture-only changes.

@greghuels
greghuels requested a review from a team as a code owner August 18, 2026 20:23
@greghuels
greghuels requested review from leoromanovsky and pavlokhrebto and removed request for a team August 18, 2026 20:23
@greghuels greghuels changed the title Greg.huels/ffl 3002/semver more less parts test: expand semver version part coverage Aug 18, 2026
@greghuels greghuels changed the title test: expand semver version part coverage test: expand semver operators supporting 1 to 5 version parts Aug 18, 2026
@greghuels greghuels changed the title test: expand semver operators supporting 1 to 5 version parts test: semver operators support 1 to 5 version parts Aug 18, 2026
@greghuels
greghuels requested a review from dd-oleksii August 18, 2026 20:30

@dd-oleksii dd-oleksii left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

other than not rejecting 6-part version, this looks good

Comment thread evaluation-cases/test-case-semver-invalid-comparand-categories.json Outdated
Remove the six-part-input runtime attribute case and the six-part
configured comparand rejection case. For now we are not limiting the
number of parts a version can have, so these invalid-rejection
expectations no longer hold.

- remove six-part-input case from test-case-semver-version-parts.json
- remove invalid-too-many-parts case and its flag from
  test-case-semver-invalid-comparand-categories.json / ufc-config.json
- update README descriptions to drop the six-part rejection language
@greghuels
greghuels merged commit d9b05ae into main Aug 19, 2026
9 of 10 checks passed
@greghuels
greghuels deleted the greg.huels/FFL-3002/semver-more-less-parts branch August 19, 2026 13:29
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