Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"require": {
"php": ">=7.1.3",
"ext-json": "*",
"symfony/console": "^4 || ^5 || ^6 || ^7"
"symfony/console": "^4 || ^5 || ^6 || ^7",
"ext-mbstring": "*"
},
"extra": {
"hooks": {
Expand All @@ -74,4 +75,4 @@
"post-merge": "composer install"
}
}
}
}
2 changes: 1 addition & 1 deletion src/Changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ protected function getVersionCode(string $tag, string $prefix, string $suffix):
*/
protected function getItemKey(string $string): string
{
return strtolower(preg_replace('/[^a-zA-Z0-9_-]+/', '', $string));
return mb_strtolower(preg_replace('/\s+/', '', $string));
}

/**
Expand Down
Loading