Repository navigation
3.4.2
Full Changelog: 3.4.1...3.4.2
Optimized Version
Database Connection Class
Enhanced the connection pool management to ensure efficient utilization of resources. Added support for constructor parameters to override .env configurations, allowing fine-grained control over enabling pooling and setting the maximum number of concurrent connections.
Database Builder Class
Enhanced database connection initialization using lazy loading to open connections only when required. Simplified the table method to return a new builder instance, removing redundant handlers for improved clarity and performance.
Lazy Class Initialization
Enhanced lazy initialization to support PHP magic methods like __debugInfo, __serialize, and Stringable. Optimized argument handling by utilizing a callable that dynamically returns initialization arguments as a list array.
Command Base Console
Refactored the Luminova\Base\BaseConsole class for better performance by removing its dependency on Luminova\Command\Terminal. Introduced lazy initialization for terminal-related functionality via a protected $term property, easy method access, and reduced overhead.
Sitemap Generator Class
Refactored the Luminova\Sco\Sitemap class by introducing a third parameter, $basename, to the generate method. This enhancement allows users to specify a custom basename for the output file, providing greater flexibility in storing the generated sitemap.