github ultraviolettes/filament-jobs-monitor v4.4.0
v4.4.0 — int|string tenant IDs & Clear logs button

17 hours ago

What's new

Added

  • int|string tenant ID supportscopeForTenant() now accepts both integer and string tenant IDs, enabling compatibility with packages like tenancyforlaravel that use string-based UUIDs. The PHP payload serialization query has been updated from i:123; format to s:3:"123"; format. (@zerdotre#106)
  • Clear all logs button — New "Clear all logs" header action in the queue monitor table, protected by a confirmation modal before truncating all records. (@zerdotre#106)
  • Tenant ID column — The tenant_id column is now visible in the table when multi-tenancy is enabled in the config.

Changed

  • Migration stub: tenant_id column type changed from unsignedBigInteger to string (with index). This only affects new installations.

⚠️ Note for existing multi-tenant users

If you were using integer-based tenant IDs, the serialization format in scopeForTenant() has changed:

Before After
i:123; (PHP int) s:3:"123"; (PHP string)

New jobs dispatched after upgrading will use the string format. Existing records in queue_monitors are not modified. If you need to query historical records, create a data migration or keep your $tenantId typed as int.


Contributors

A big thank you to @zerdotre for contributing both features in this release! 🙌

Full Changelog: https://github.com/ultraviolettes/filament-jobs-monitor/blob/main/CHANGELOG.md

Don't miss a new filament-jobs-monitor release

NewReleases is sending notifications on new releases.