github MuhammadSadeeq/laravel-activitylog-ui v2.0.0

3 hours ago

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_changes column instead of properties
  • hasPropertyChanges() deprecated in favor of hasAttributeChanges()

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_changes column in addition to properties and description
  • Export JSON output now includes attribute_changes field
  • Schema column check uses the model's database connection instead of the default connection

Added

  • restored event color in analytics chart defaults
  • Separate "Attribute Changes" display section in activity detail modal and timeline
  • Legacy fallback: hasAttributeChanges() and getFormattedChangesAttribute() fall back to properties.old/properties.attributes for unmigrated rows
  • Frontend legacy fallback: timeline and detail modal resolve changes from attribute_changes or properties transparently
  • Legacy diff keys (old, attributes) filtered from the Custom Properties panel to prevent duplication
  • UPGRADING.md with backup-first migration guide

Removed

  • Batch UUID filter from filter panel, table view, and all JavaScript state management
  • FiltersBatchUuid trait
  • sanitizeUuid() method from controller

See UPGRADING.md for the full migration guide from v1.x.

Don't miss a new laravel-activitylog-ui release

NewReleases is sending notifications on new releases.