=== 3.6 - Release date: 2025-07-18 ===
I'll optimize the Unpack & Flatboard code for PHP 8.4, incorporating modern PHP features, improved type safety, and better performance. Key changes include:
- Refactoring class
- Using typed properties and return types
- Replacing deprecated functions and syntax
- Using arrow functions where appropriate
- Simplifying language detection
- Improving error handling with exceptions
- Using modern array syntax and string functions
- Removing jQuery and using vanilla JavaScript (Unpack script)
- Update Russian lang pack(Thank PaulBid)
RSS Optimizations Applied

1. Object-Oriented Structure

    Created AtomFeedGenerator class that encapsulates all logic
    Separated responsibilities with specialized methods
    Better code reusability and maintainability



2. Performance Improvements

    Result Limitation: Added default limit of 20 entries to prevent feed overload
    HTTP Caching: Added cache headers (5 minutes) to reduce server load
    Loop Optimization: Used array_slice() to limit processing



3. Enhanced Security

    Improved XML Escaping: Using ENT_XML1 | ENT_QUOTES for better security
    Error Handling: Added global try-catch with error logging
    Data Validation: Additional checks before processing



4. Readability and Maintenance

    Constants: Defined constants for repeated values
    Short Methods: Split into specialized methods under 20 lines
    Explicit Naming: More descriptive method and variable names
    Documentation: PHPDoc comments for each method



5. Specific Optimizations

    XML Generation: Used heredoc for better readability
    Reduced DB Calls: Cached results in local variables
    Empty Case Handling: Specialized methods for empty feeds



6. Robustness

    Null Checks: Systematic validation before using data
    Error Management: Default return values in case of issues
    Logging: Error recording for debugging purposes
	
=== 3.5 - Release date: 2025-02-13 ===
🐛 Cross-Site Scripting (XSS) - implementing a Content Security Policy to add an additional layer of security against XSS attacks. (Thank Gavin)
🐛 Ensure CHARSET is defined in HTMLForm Class.
🐛 Revised the Trip function by adding additional security checks in HTMLForm Class. (Thank Gavin)
🐛 Securing Values in HTMLForm Class.
🐛 Check user password is not empty in User::login Class.
[+] 💢Refactoring class code: Utils, flatDB, Paginate, Asset, Captcha, Plugin and User.
[+] 💢Added a method to delete the flatboard_trip cookie by setting an expiration in the past for best practice.
[+] 💢Added a second parameter to uniqid() to get a more precise unique string, which improves token security. (CSRF.lib.php)
[+] 💢Added pagination in plugins list page on the top.
🐛 config.php, search.php : Checks the existence of variables and array keys before using them, avoiding null access errors.

=== 3.2.2 - Release date: 2024-12-11 ===
- Require PHP 8.0 in installation file.
🐛 Cross-Site Scripting (XSS) - Thank to INCIBE (Spanish National Cybersecurity Institute)
🐛 FlatBBeditor v.3.2.2

=== 3.2.1 - Release date: 2024-11-30 ===
+ Bootstrap theme version update
🐛 Plugins darkmod and premium bootstrap theme switcher update.
🐛 Some bugs fix!