Releases: AlizHarb/filament-activity-log
v1.3.0 - Audit Dashboard, Enhanced Actions & Global Localization
v1.3.0 - The Analytics & Localization Update 🚀
This release introduces major new features including a dedicated Audit Dashboard, enhanced recovery actions (Restore from Log), and a comprehensive localization sweep across 11 languages.
📊 New Audit Dashboard
Monitor your application's health at a glance with a new dedicated dashboard page:
- Activity Stats: Real-time counters for total activities, top causers, and most active subjects.
- Activity Heatmap: A beautiful GitHub-style heatmap of activity frequency over the past year.
- Activity Chart: Integrated trend analysis with customizable ranges.
🛠️ Enhanced Recovery & Management
- Restore from Log: Recreate deleted records directly from their activity history with a single click.
- Selective Revert: Roll back specific field changes using a new checkbox-based modal interface.
- Log Pruning UI: Simplified cleanup of legacy logs with the new "Prune" resource action.
- Slim Timeline: Compact view mode optimized for high-density dashboards.
🌍 World-Class Localization
Completed a comprehensive native translation audit for all 11 supported languages:
- 🇸🇦 Arabic (ar) | 🇩🇪 German (de) | 🇬🇧 English (en) | 🇪🇸 Spanish (es)
- 🇫🇷 French (fr) | ------ | 🇮🇹 Italian (it) | 🇳🇱 Dutch (nl)
- 🇵🇹 Portuguese (pt) | 🇷🇺 Russian (ru) | 🇨🇳 Chinese Simplified (zh_CN)
⚙️ Technical Prowess
- Middleware Context: Intelligent auto-capture of IP Address, User Agent, and Batch UUID without manual configuration.
- Standardized Imports: Cleaned up the codebase by removing inline FQNs and standardizing Filament internal actions.
- Robust Verification: 100% test coverage (72 Pest tests) and strict PHPStan (Level 9 equivalent) compliance.
- Laravel Pint: Consistent code styling verified across 55 core files.
⭐️ Show Some Love
If you find this package useful, please consider starring it on GitHub!
v1.2.0 - Filament v5 Support & Core Enhancements
v1.2.0 - Filament v5 Support & Core Enhancements
This major release introduces full compatibility with both Filament v4 and v5, ensuring a seamless upgrade path for all users. We've also packed in significant architectural improvements, a strictly typed Enum system, and new features like Batch Activity tracking and Filament Cluster support.
🚀 Key Features
- Filament v5 Compatibility: Native support for Filament v5 while maintaining full backward compatibility with v4.
- Strict Enums (
ActivityLogEvent): migrated activity events to strict Enums, bringing type safety, consistent badges, and customizable colors/icons to your logs. - Cluster Support: You can now nest the Activity Log resource inside any Filament Cluster using the simple
$plugin->cluster('System')configuration. - Batch Activity Context: Debug complex jobs easily with the new "View Batch" action, allowing you to filter and view all activities generated by a single request or job.
- Smart Naming: A new standardized
ActivityLogTitlehelper ensures your subject names are resolved consistently everywhere. ImplementHasActivityLogTitleon your models for total control.
✨ Improvements
- Performance: Fixed N+1 query issues in the Resource and User Activities page by eager loading relations by default.
- UI Polish: The User Activities Page has been restyled to match the Timeline view perfectly, complete with proper icons and layout.
- Enhanced Installer: The
php artisan filament-activity-log:installcommand now handles everything—config, assets, and migrations—in one go. - Localization: Achieved 100% translation coverage across the entire package.
🐛 Fixes
- Resolved
php artisan view:cacheerrors caused by direct Heroicon component usage. - Fixed CI/CD pipeline issues for stricter PHP 8.3/8.4 compliance.
- Corrected styling inconsistencies in the User Activities page description.
Upgrade Guide
This update is fully backward compatible. To upgrade:
composer require alizharb/filament-activity-log:^1.2.0
php artisan filament:upgrade