Skip to content

v1.2.0 - Filament v5 Support & Core Enhancements

Latest

Choose a tag to compare

@AlizHarb AlizHarb released this 17 Jan 02:06
· 25 commits to main since this release

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 ActivityLogTitle helper ensures your subject names are resolved consistently everywhere. Implement HasActivityLogTitle on 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:install command now handles everything—config, assets, and migrations—in one go.
  • Localization: Achieved 100% translation coverage across the entire package.

🐛 Fixes

  • Resolved php artisan view:cache errors 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