diff --git a/src/Support/DatabaseModuleRegistry.php b/src/Support/DatabaseModuleRegistry.php index e51598f..93fe9aa 100644 --- a/src/Support/DatabaseModuleRegistry.php +++ b/src/Support/DatabaseModuleRegistry.php @@ -218,7 +218,14 @@ class DatabaseModuleRegistry return [ 'readme' => $this->readFirstExisting($path, ['README.md', 'readme.md'], 7000), - 'changelog' => $this->readFirstExisting($path, ['CHANGELOG.md', 'changelog.md', 'changelog.yaml'], 7000), + 'changelog' => $this->readFirstExisting($path, [ + 'changelog.yaml', + 'CHANGELOG.md', + 'CHANGELOG', + 'CHANGELOG.txt', + 'changelog.md', + 'changelog.txt', + ], 12000), 'routes' => $this->filesUnder($path, ['Routes/*.php', 'routes/*.php']), 'migrations' => $this->filesUnder($path, ['Database/Migrations/*.php', 'database/migrations/*.php']), 'models' => $this->filesUnder($path, ['app/Models/*.php', 'Models/*.php', 'Entities/*.php', 'app/Entities/*.php']), diff --git a/src/resources/views/index.blade.php b/src/resources/views/index.blade.php index ec7f9a2..5ca3083 100644 --- a/src/resources/views/index.blade.php +++ b/src/resources/views/index.blade.php @@ -167,7 +167,7 @@
@forelse ($modules as $module) -{{ $module['changelog'] ?: 'No changelog found.' }}
+ + Latest module changes from changelog.yaml, CHANGELOG.md, or CHANGELOG where available. +
+{{ $module['changelog'] }}
+ @else
+