Releases: sebastienheyd/boilerplate
8.4.1
8.4.0
Add Progressive Web App support
- Add PWA controller with dynamic manifest generation
- Add PWA configuration section to app.php config
- Add PWA meta tags and manifest link to layout templates
- Add PWA documentation page with configuration guide
- Add PWA manifest route with conditional registration
- Add PWA navigation item to documentation
8.3.5
Add global search value accessor and clean datasource handling
- Add getGlobalSearchValue() method to access DataTables global search parameter
- Remove unnecessary null coalescing operator from datasource() call in getDatatable()
8.3.4
DataTables System Enhancements
- Fixed fromNow method implementation: Simplified the DataTables Column class by replacing the dateFormat method call with direct render attribute assignment, using cleaner arrow function syntax while maintaining the same functionality
- Standardized quote usage: Improved code consistency by switching from double quotes to single quotes for JavaScript strings in the render attribute
8.3.3
🎨 Code Quality & Modernization
DataTables System Enhancements
- Modernized Type Hints: Added PHP 8+ property type hints across all DataTables classes (Button, Column, Datatable, DatatablesRepository)
- Enhanced Closure Support: Improved dateFormat method to support Closure parameters for advanced date formatting scenarios
- Flexible Configuration: Enhanced method signatures with union types (string|Closure) for more flexible row configurations
- Better Property Access: Changed Datatable slug property from protected to public for improved accessibility
- Standardized Initialization: Added explicit default values for all properties
Code Formatting Improvements
- Type Declaration Standards: Standardized union type notation from Type|null to ?Type format throughout codebase
- PHPDoc Consistency: Fixed parameter formatting with consistent spacing in documentation blocks
- Arrow Function Enhancement: Improved spacing and string concatenation formatting in arrow functions
- Method Signature Updates: Enhanced method signatures to properly accept null values where appropriate
Database Migration Modernization
- Anonymous Classes: Converted all 5 migration files from named classes to anonymous classes following Laravel 8+ conventions:
- LaratrustSetupTables → anonymous class
- UsersTableUpdate → anonymous class
- LogViewerPermission → anonymous class
- PermissionsCategories → anonymous class
- UserSettings → anonymous class
📚 Documentation Updates
- Enhanced Examples: Added Closure usage examples for dateFormat and setRowData methods
- Updated Options Documentation: Improved DataTables column and options documentation with new features
🔧 CI/CD Improvements
- Manual Documentation Deployment: Switched documentation deployment from automatic push triggers to manual workflow_dispatch
- YAML Consistency: Fixed indentation and formatting in GitHub Actions workflows
- File Standards: Added missing newlines at end of configuration files
📁 Files Modified
- DataTables Core: Button.php, Column.php, Datatable.php, DatatablesRepository.php
- Database Migrations: All 5 migration files modernized
- Documentation: Column and options documentation updated
- CI Configuration: GitHub Actions workflow files improved
8.3.2
✨ Features
- Column Sum Calculation: Added powerful sum calculation feature for DataTable columns with JavaScript-based footer callback functionality. This allows for real-time calculation and display of column. Fix #105
totals with proper number formatting and null value handling.
🔧 Improvements
- PSR-12 Compliance: Improved code formatting with proper array alignment in DataTable attributes and added missing newlines in test files to meet PSR-12 standards.
- Better Readability: Enhanced array structure formatting in the base Datatable class for improved maintainability.
🏗️ Technical Details
- Implemented footerCallback support in DataTable configuration
- Added sum() method for column definitions with customizable precision
- Includes robust number parsing with fallback for various input formats
- Supports HTML content extraction for proper sum calculations
📦 Code Standards
- Fixed array key-value alignment in Datatable.php attributes property
- Added proper file endings in test classes (SumTest.php, TestSumDatatable.php)
- Maintained backward compatibility with existing DataTable implementations
This release focuses on enhancing the DataTable functionality while maintaining high code quality standards and PSR-12 compliance.
8.3.1
✨ Features
- Theme Configuration: Added environment variable support for theme selection via BOILERPLATE_THEME environment variable
🔧 Improvements
- Log System: Enhanced log parsing and message formatting in LogFile model for better readability
- Code Standards: Enforced space after NOT operator (!) in coding standards for consistency
- Assets: Updated and compiled minified frontend assets for better performance
🏗️ Build & Infrastructure
- PHP Compatibility: Updated Makefile to use generic php command instead of specific php8.2 version
- Asset Pipeline: Refreshed compiled frontend assets including CSS and JavaScript bundles
📦 Technical Details
- Improved code consistency with PSR-12 compliance updates
- Enhanced theme system flexibility with environment-based configuration
- Better log file processing and error message handling
8.3.0
Release Notes - Version 8.3.0
🚀 New Features
- Custom Log Viewer Implementation: Replaced arcanedev/log-viewer with a custom log viewer implementation to ensure full Laravel 12 compatibility
- Enhanced Log Management: Improved log file handling and datatable functionality with better error prevention
🛠️ Improvements
- Laravel 12 Compatibility: Enhanced compatibility with Laravel 11 and 12
- Code Quality: Improved code formatting and style consistency across the codebase
- Documentation: Added comprehensive development documentation including:
- Complete CLAUDE.md for AI development guidance
- New layout and middleware documentation
- Enhanced project structure documentation
🐛 Bug Fixes
- DataTable Optimization: Removed unused Carbon import from LogsDatatable for better performance
- Log Error Prevention: Improved datatable handling to prevent log-related errors
- Dependency Management: Ensured proper dependency compatibility with latest Laravel versions
🔧 DevOps & Infrastructure
- CI/CD Migration: Replaced Scrutinizer with GitHub Actions for better continuous integration
- Build Process: Enhanced build and testing workflows
📚 Documentation Updates
- Added comprehensive middleware architecture documentation
- Enhanced upgrade guides and installation instructions
- Improved code examples and usage patterns
🗂️ File Changes
- Modified: 48 files updated across controllers, models, views, and configuration
- Enhanced: Log viewer components with custom implementation
- Updated: Multi-language support files for improved internationalization
- Improved: Test coverage and testing infrastructure
This release focuses on Laravel 12 compatibility, improved log management, and enhanced developer experience with better documentation and tooling.
8.2.2
Assets update
8.2.1
xs breakbpoint for dashboard widgets