Skip to content

Commit d0004a1

Browse files
committed
Added changes for release.
1 parent 94a9159 commit d0004a1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

changelog.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
### v2.1.0 - Parser improvements
2+
- Allowed more separator characters for the tag number ([#2](https://github.com/Mistralys/version-parser/issues/2))
3+
- Improved the branch and tag detection.
4+
- More flexible and lenient parsing.
5+
- Added the `VersionTag` class to hold tag and branch information.
6+
- Added `getTagInfo()` to retrieve the `VersionTag` object.
7+
- Added `isStable()`, `isDev()` and `isPatch()`.
8+
- The `stable` tag type is now recognized as well if present.
9+
- Added short tag name parameter to `registerTagType()`.
10+
- Spaces are now supported as separator characters.
11+
- More special characters are now filtered out.
12+
- Added `toArray()`, mostly for debug reasons.
13+
- Split the parser into several specialized subclasses.
14+
- Deprecated `setUppercase()` - use `setTagUppercase()` instead.
15+
- Deprecated `getTagWeights()` - use the `TagWeights` class instead.
16+
117
### v2.0.0 - PHP 7.4 update
218
- Increased minimum requirement to PHP 7.4.
319
- Added the possibility to register custom tag types.

0 commit comments

Comments
 (0)