diff --git a/changelog.md b/changelog.md index 1b662c1..ddea3e6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,19 @@ +### v2.1.0 - Parser improvements +- Allowed more separator characters for the tag number ([#2](https://github.com/Mistralys/version-parser/issues/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. + ### v2.0.0 - PHP 7.4 update - Increased minimum requirement to PHP 7.4. - Added the possibility to register custom tag types.