Parser switch
What does this MR do?
- Add new method
SemverDialects.parse_version
. It uses the new parsers introduced in v3 or the legacy parser. - Swap arguments of
IntervalParser.parse
for consistency. - Implement
Version#is_zero?
.
What are the relevant issue numbers?
gitlab-org/gitlab#386070 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for this project, if necessary -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau