Skip to content

Parser improvements

Compare
Choose a tag to compare
@Mistralys Mistralys released this 18 Dec 14:44
· 14 commits to master since this release

Included in this release:

  • Allowed more separator characters for the tag number (#2)
  • Improved the branch and tag detection.
  • More flexible and lenient parsing.
  • Added the VersionTag class to hold tag and branch information.
  • Added getTagInfo() to retrieve the VersionTag object.
  • Added isStable(), isDev() and isPatch().
  • The stable tag type is now recognized as well if present.
  • Added short tag name parameter to registerTagType().
  • Spaces are now supported as separator characters.
  • More special characters are now filtered out.
  • Added toArray(), mostly for debug reasons.
  • Split the parser into several specialized subclasses.
  • Deprecated setUppercase() - use setTagUppercase() instead.
  • Deprecated getTagWeights() - use the TagWeights class instead.