Skip to content

v0.2.0

Choose a tag to compare

@beartropy-legacy beartropy-legacy released this 26 Feb 15:37
· 4 commits to main since this release

What's New

Authorization System

  • Configurable gate authorization on all mutations (gate config key)
  • AuthorizesPermissionsAccess trait shared across all components

Bug Fixes

  • Fixed hardcoded Spanish fallback with translatable string
  • Fixed falsy guard checks (strict === null)
  • Spatie permission cache cleared on all delete operations
  • N+1 queries eliminated with withCount() on all tables
  • Fixed config key names and PHP version in docs

Performance

  • Replaced eager loading with aggregate counts on all three tables
  • Added #[Computed] caching on filteredPermissions

Code Quality

  • Extracted ManagesEntity trait for shared modal logic
  • Unique validation scoped to guard for roles/permissions
  • Tab input validation, try/catch on sync operations

Test Suite

  • 120 tests, 219 assertions (Pest + Livewire + Orchestra Testbench)
  • Full coverage: modals, tables, routes, service provider, config

AI Integration

  • MCP tools: bt-permissions-component-docs, bt-permissions-list-components, bt-permissions-project-context
  • Skills: bt-permissions-setup, bt-permissions-docs-maintenance
  • Component documentation for all 8 Livewire components
  • Integrity tests for docs/MCP data consistency

Full Changelog: v0.1.2...v0.2.0