Repository navigation
3.4.5
Full Changelog: 3.4.4...3.4.5
New Features
-
Abstract Base Session Handler:
Introduced a base session handler that simplifies creating custom session handlers compatible with the Luminova session class. -
Filesystem Session Handler:
Added support for managing sessions via the filesystem, offering enhanced control and security. -
Logic Exception Class:
Added support dedicated logic exceptionLuminova\Exceptions\LogicException.
Optimizations
-
Backend Session Class:
Improved session management, performance, and introduced new methods:onIpChanges: Added new, to detects and handles client IP address changes after login, allowing sessions to be destroyed or retained based callback return bool value.isValidSessionId: Added new, to validates session IDs according to thesession.sid_bits_per_characterandsession.sid_lengthsettings.synchronize: Enhanced to manage IP address handling during login synchronization. Throws an exception if an IP address is provided when$strictSessionIpis disabled.start: Enhanced to properly validates passed session IDs, throwing an exception for invalid IDs during development. Defaults to PHP-generated session IDs for invalid cases.
-
Filesystem Session Handler:
Optimized for reliable session ID generation and validation, ensuring compatibility with system configurations. -
Debug Tracing: Optimized to ensure that only affected line of code is shown when necessary
Bug Fixes
- Error Handling System:
Resolved an issue where filtered messages omitted critical error information, ensuring all essential details are retained.