marcocesarato / php-conventional-changelog

A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
GNU General Public License v3.0
227 stars 32 forks source link

fix: Wrong commits with non-latin description grouping #77

Closed Likhachev closed 3 months ago

Likhachev commented 3 months ago

Original regexp /[^a-zA-Z0-9_-]+/ removes all cyrillic characters from commit description and unique key becomes empty and, hense, all commit with the same type merge in a single list item in changelog.

Also strtolower changed to mb_strtolower for correct unicode characters lowercasing.