v2.0.0 — Spatie Activity Log v5 + Laravel 13
Major release aligning with Spatie laravel-activitylog v5 and Laravel 13.
Breaking Changes
- Requires PHP 8.4+, Laravel 12+, and spatie/laravel-activitylog ^5.0
- Batch UUID feature removed entirely (Spatie v5 removes the batch system)
- Attribute changes now read from the dedicated
attribute_changescolumn instead ofproperties hasPropertyChanges()deprecated in favor ofhasAttributeChanges()
Changed
- Properties column in UI now shows only custom data; attribute changes displayed separately
- Timeline view and detail modal show "Attribute Changes" and "Custom Properties" as distinct sections
- Search covers
attribute_changescolumn in addition topropertiesanddescription - Export JSON output now includes
attribute_changesfield - Schema column check uses the model's database connection instead of the default connection
Added
restoredevent color in analytics chart defaults- Separate "Attribute Changes" display section in activity detail modal and timeline
- Legacy fallback:
hasAttributeChanges()andgetFormattedChangesAttribute()fall back toproperties.old/properties.attributesfor unmigrated rows - Frontend legacy fallback: timeline and detail modal resolve changes from
attribute_changesorpropertiestransparently - Legacy diff keys (
old,attributes) filtered from the Custom Properties panel to prevent duplication UPGRADING.mdwith backup-first migration guide
Removed
- Batch UUID filter from filter panel, table view, and all JavaScript state management
FiltersBatchUuidtraitsanitizeUuid()method from controller
See UPGRADING.md for the full migration guide from v1.x.