Skip to content

Commit

Permalink
Added changes for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistralys committed Dec 18, 2023
1 parent 94a9159 commit d0004a1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit d0004a1

Please sign in to comment.