Releases: bezhanSalleh/filament-shield
4.0.3
What's Changed
Release Summary Highlights
- Unified label resolution with consistent fallback chain:
- User's translation file (when localization.enabled)
- Package's resource_permission_prefixes_labels
- Headline fallback - Fixed getLocalizedLabel() to use correct translation path
shield:translationNew Command to generate translation/lang file for the provided locale for permissions of the given panel- Fixes setup on windows
- Fixes multiple guard issues when creating roles/permissions
- fix(stubs): correct custom stub path resolution by @TheSyriableDev in #654
- Update README.md by @jeffersongoncalves in #657
- Update transform custom permissions to use config case by @ShamarKellman in #659
- Fix: ensure selected Panel guard is respected and include guard when creating roles/permissions (fixes #647) by @LuizCristino in #660
- Update localization key in filament-shield config by @EG-Mohamed in #663
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #664
- Update Spanish Translations by @luisprmat in #669
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #672
- Streamline permission label resolution system by @bezhanSalleh in #675
New Contributors
- @TheSyriableDev made their first contribution in #654
- @jeffersongoncalves made their first contribution in #657
- @ShamarKellman made their first contribution in #659
- @LuizCristino made their first contribution in #660
- @EG-Mohamed made their first contribution in #663
- @luisprmat made their first contribution in #669
Full Changelog: 4.0.2...4.0.3
4.0.2
What's Changed
- Includes features and fixes
- [Feat] Custom Permission Generation
- [Feat] Single Command to Prohibit Destructive Commands
- [Fix]
shield:seedercommand - [Doc] Documenting:
- Installation & Setup
- Permissions and
buildPermissionKeyUsing()documented with usage and example - Policies
- Resources
- Pages & Widgets
- Custom Permissions
- Plugin & Resource
- Commands
- Localization
By @bezhanSalleh in #621
- Fix SimplePage #613 by @hamrak in #614
- [Fix:Bug:WindowsOS] Resource Specific Permissions by @tszulczewski in #625
- [Fix:#629] Edit/Create when tenancy is enabled by @Wsmallnews in #630
New Contributors
- @tszulczewski made their first contribution in #625
- @Wsmallnews made their first contribution in #630
Full Changelog: 4.0.1...4.0.2
4.0.1
What's Changed
- [Fix] Tenancy Part of
shield:setupcommand by @bezhanSalleh in #611
Full Changelog: 4.0.0...4.0.1
4.0.0
UPGRADE from BETA
This release is almost a rewrite (99.9%) so to get up and running follow these 3 simple steps
- Backup/commit/stash your app then delete the
filament-shield.phpconfig and runcomposer update - Run
php artisan shield:setup
┌ Shield is already installed. Would you like to reinstall? ───┐
│ Yes │
└──────────────────────────────────────────────────────────────┘Next option is for teams/tenancy so you decide. then stop and open config/filament-shield.php and adjust your settings, once done continue with the command.
- If you have published the resource already then do run:
php artisan shield:publish
That's it😎. Star the repo if you haven't already and Enjoy🥳!!!
What's Changed
- [v4] Deleting ->hasViews(static::$name) by @malzariey in #559
- Fixes #560 by @bezhanSalleh in #572
- Add missing CZ and SK translations (4.x) by @hamrak in #574
- Support for v4 stable release by @bezhanSalleh in #592
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in #601
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in #602
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #603
New Contributors
- @malzariey made their first contribution in #559
Full Changelog: 3.3.7...4.0.0
3.9.10
What's Changed
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in #581
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #593
- Add missing CZ and SK translations (3.x) by @hamrak in #573
- Add missing Myanmar (mr) translations (3.x) by @Khant-Nyar in #591
- fixes generate commands relationship gen by @bezhanSalleh in #600
New Contributors
- @Khant-Nyar made their first contribution in #591
Full Changelog: 3.3.9...3.9.10
4.0.0-beta2
What's Changed
Warning
Heads Up! This is a Pre-release (Beta) Version
This package is currently in active development and tied closely to FilamentPHP v4 pre-release. As the core API continues to evolve, expect breaking changes and frequent updates.
We're moving fast and iterating often — so if you're using this in your project, please do so with caution and at your own discretion.
Feedback and contributions are welcome as we move toward a stable release!.
- [v4] Deleting ->hasViews(static::$name) by @malzariey in #559
- [v4] Fixes #560 by @bezhanSalleh in #572
New Contributors
- @malzariey made their first contribution in #559
Full Changelog: 4.0.0-beta...4.0.0-beta2
3.3.9
What's Changed
- Fix typo in Spanish translation for force delete action by @jimmiroblescasanova in #557
- feat: add danish translations by @m-stilling in #563
- feat: include editTenantProfile page in permission generation by @jimmiroblescasanova in #568
New Contributors
- @jimmiroblescasanova made their first contribution in #557
- @m-stilling made their first contribution in #563
Full Changelog: 3.3.8...3.3.9
4.0.0-beta
What's Changed:
- Add support for Filament 4.0
Warning
Heads Up! This is a Pre-release (Beta) Version
This package is currently in active development and tied closely to FilamentPHP v4 pre-release. As the core API continues to evolve, expect breaking changes and frequent updates.
We're moving fast and iterating often — so if you're using this in your project, please do so with caution and at your own discretion.
Feedback and contributions are welcome as we move toward a stable release!.
Full Changelog: 3.3.8...4.0.0-beta
3.3.8
What's Changed
- [Fix:v3] relationship generation by @bezhanSalleh in #556
- docs: updated readme with third party plugins permissions by @carloeusebi in #553
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in #554
Full Changelog: 3.3.7...3.3.8
3.3.7
What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in #540
- [Fix] widget permissions on super admin by @Dimas-Saputra-Me in #539
- Update Polish translation by @WierzbickiKrzysztof in #532
- Switch Negated Ternary in RoleResource by @alisalehi1380 in #542
- Feat: Improve custom permissions for third party packages. by @carloeusebi in #547
- [Fix] allow Resource to be part of the Filament Resource name by @haugen86 in #549
- [Fix] Commands for auto setup/installtion to be cross-os compatible by @bezhanSalleh in #552
New Contributors
- @Dimas-Saputra-Me made their first contribution in #539
- @WierzbickiKrzysztof made their first contribution in #532
- @alisalehi1380 made their first contribution in #542
- @carloeusebi made their first contribution in #547
- @haugen86 made their first contribution in #549
Full Changelog: 3.3.6...3.3.7