Skip to content

Releases: ArtisanPack-UI/hooks

v1.2.1

09 Jun 02:00
Immutable release. Only release title and notes can be modified.
7aed2c1

Choose a tag to compare

Added

  • Laravel 13 support
    • illuminate/support constraint now accepts ^13.0
    • PHP 8.3+ is required when installing on Laravel 13 (enforced by Laravel itself; PHP 8.2 remains supported on Laravel 11/12)

Changed

  • Aligned illuminate/support constraint to ^11.0|^12.0|^13.0 to match the actively tested matrix
  • Updated supported Laravel versions in README to 11.x, 12.x, and 13.x

Removed

  • Dropped explicit declaration of support for Laravel < 11
    • The previous >=5.3 constraint was overly permissive; the package was only ever tested against Laravel 10/11. Users on Laravel 10 or earlier should pin to ^1.2.0.

Release v1.2.0

02 Feb 00:35

Choose a tag to compare

Added\n- Laravel Boost AI guidelines integration\n- Added resources/boost/guidelines/core.blade.php for AI-assisted development\n- Comprehensive package documentation for Laravel Boost users\n- Code examples for actions, filters, priorities, and Blade directives\n- Laravel Pint code style support\n- Added laravel/pint package for PHP code formatting\n- Added artisanpack-ui/code-style-pint package for ArtisanPackUI preset\n- Added pint-setup.php script for generating Pint configuration\n- Added pint.json configuration with ArtisanPackUI coding standards\n- GitLab CI Pint code style job\n- Automated code style checking using Pint in CI pipeline\n- Configured as non-blocking (allow_failure: true)\n### Changed\n- GitLab CI configuration standardized to PHP 8.4\n- Updated build stage to use PHP 8.4 with Composer\n- Updated test stage to use PHP 8.4\n- Updated code-style stage to use PHP 8.4\n- Added installation of git, unzip, and PHP zip extension in build stage\n- Ensures consistent PHP version across all CI jobs\n- Updated Symfony dependencies to v7.3.7 (security update)\n- Fixed security advisory PKSA-365x-2zjk-pt47 in symfony/http-foundation\n### Development\n- Improved CI/CD pipeline reliability\n- Enhanced code quality tools with Pint integration

Release v1.1.0

02 Feb 00:35

Choose a tag to compare

Added\n- Action removal APIs:\n- Action::remove(string , callable , int = 10): bool\n- Action::removeAll(string , int|false = false): bool\n- Filter removal APIs:\n- Filter::remove(string , callable , int = 10): bool\n- Filter::removeAll(string , int|false = false): bool\n- Helper functions:\n- removeAction(), removeAllActions(), removeFilter(), removeAllFilters()\n- Facade methods documented: Action::remove(), Action::removeAll(), Filter::remove(), Filter::removeAll()\n- Unit tests for removal behaviors\n- Documentation updates with examples and API references

Release v1.0.0

02 Feb 00:35

Choose a tag to compare

Added\n- Initial release of ArtisanPack UI Hooks package\n- WordPress-style actions and filters system for Laravel applications\n- Action hooks management with priority-based execution\n- Action class for registering and executing action hooks\n- Support for callback priorities (lower numbers execute first)\n- Filter system for value transformation through callback chains\n- Filter class for registering and applying filters\n- Chained value processing with multiple callbacks\n- Helper functions for easy integration:\n- addAction(string , callable , int = 10) - Register action callbacks\n- doAction(string , mixed ...) - Execute action callbacks\n- addFilter(string , callable , int = 10) - Register filter callbacks\n- applyFilters(string , mixed , mixed ...) - Apply filter callbacks\n- Laravel Facades for static access:\n- Action facade for action management\n- Filter facade for filter management\n- Blade directives for template integration:\n- @action('hook_name', ...) - Execute actions in Blade views\n- @filter('hook_name', , ...) - Apply filters and echo results in Blade views\n- Service providers with automatic Laravel package discovery:\n- HooksServiceProvider - Registers Action and Filter singletons\n- BladeDirectiveServiceProvider - Registers custom Blade directives\n- Automatic facade alias registration for Action and Filter\n- PSR-4 autoloading with namespace ArtisanPackUI\Hooks\\n- Comprehensive test suite using Pest testing framework\n- Full documentation with examples and usage guidelines\n### Requirements\n- PHP 8.2 or higher\n- Laravel 5.3+ (tested with Laravel 10.x and 11.x)\n- Illuminate/Support package\n### Features\n- Priority-based callback execution (lower numbers run first)\n- Modular architecture supporting plugin-style extensions\n- Clean separation of concerns for maintainable code\n- Framework-native Laravel integration\n- MIT license for open source usage