Skip to content

v1.5.0

Choose a tag to compare

@webrek webrek released this 08 Jun 03:55

Changed

  • Dropped Laravel 10/11 and PHP 8.1 (both past security support / no longer installable cleanly). Targets Laravel 12 / PHP 8.2+; composer.json, README and CI matrix aligned.

Fixed

  • Deleting a role/permission now also removes legacy flat id references from users (not just structured subdocs) — no more orphaned ids.
  • Cache invalidation on role/permission changes: editing/deleting a role or permission (incl. raw model saves, e.g. from an admin panel) now invalidates cached entries via a cache-generation bump. Previously rememberForever could leave permissions stale indefinitely.

Added

  • PermissionRegistrar::bumpCacheVersion() / cacheVersion(); cache key includes the generation.
  • Mutation testing (Infection) in CI (MSI ~88% / covered ~95%).