Repository navigation
Releases: heminei/php-hemiframe
Releases · heminei/php-hemiframe
Release list
4.3.4
4.3.3
Refactor Cache Interfaces and Implementations - Updated Cache interface to extend PSR SimpleCache interface and refined method signatures for type safety. - Modified Apc, File, Memcached, Memory, and Redis cache implementations to align with the new interface definitions. - Enhanced type declarations for properties and method parameters across cache classes. - Improved handling of time-to-live (TTL) values, allowing for both integer and DateInterval types. - Removed unnecessary docblocks and streamlined code for better readability and maintainability. - Updated Singleton trait to use `new static()` for instance creation, ensuring proper subclassing behavior. Co-authored-by: Copilot <copilot@github.com>
4.3.2
4.3.1
Enhance Cache Interfaces and Update Template Functionality - Added 'examples' path to phpstan configuration for improved analysis. - Updated cache interface methods in Apc, File, Memcached, Memory, and Redis classes to accept mixed types for keys and return boolean for deleteMultiple method. - Refactored Container class to improve exception handling for constructor injection. - Modified File class to accept mixed types for file parameter. - Simplified HTTPAuthentication class by restructuring the authentication flow. - Streamlined Image class save method for better readability. - Refined CSS and JS minifier classes to remove unnecessary null checks. - Updated DBSession class to simplify return statements and improve readability. - Enhanced StringEditor and Tag classes by removing redundant checks. - Improved Template class by introducing new methods for handling switchers and parsing attributes, enhancing overall functionality. - Added unit tests for Router and Template classes to ensure proper routing and template parsing behavior.