Skip to content

4.0.0-alpha.2

Pre-release
Pre-release

Choose a tag to compare

@Universal-Omega Universal-Omega released this 15 Jul 22:42
· 149 commits to pre-release since this release
aeef501

🚀 DynamicPageList4 - Alpha 2 Release

This is the second alpha release of DynamicPageList4, continuing efforts to modernize the extension, improve maintainability, and streamline functionality. This release primarily focuses on code refactoring, internal cleanups, and reliability improvements.


🛠️ Changes and Improvements

  • Replacement of Extension DPL with Tracking Category:
    The template transclusion (Extension DPL) has been replaced with a proper tracking category, Pages using DynamicPageList4. All the references and usages of Extension DPL has been removed, including the CreateTemplate maintenance script.

  • Introduction of Constants and Utilities Classes:
    A new Constants class centralizes all error and warning codes, while a new Utils class encapsulates common methods. These were introduced to factor some logic out of Hooks in preparation for migrating Hooks to use the HookHandlers system.

  • Complete Rewrite of dplmatrix Parser Function:
    The dplmatrix parser function has been fully refactored for improved stability and correctness in generating matrix outputs and fixing a few bugs with it.

  • Parser Functions Refactor:
    Improved handling and validation in parser functions like dplvar, dplreplace, and dplnum. These updates improve reliability and bring the codebase up to modern PHP standards. However, it could introduce some bugs or regressions so please report it if so.

  • Codebase Cleanups and Modernization:
    Extensive cleanup of outdated patterns and legacy code, including better type declarations, readonly properties, and general modernization for PHP 8.1+ compatibility. The Hooks class has been entirely refactored while the Parse class had some minor refactoring.


📌 Notes

  • This release builds on the significant refactoring from Alpha 1. While backward compatibility has been preserved where possible, please report any regressions or unexpected behaviors.
  • The extension remains internally named DynamicPageList3 for compatibility, but reflects the DPL4 codebase direction.

Feedback and issue reports are appreciated to help further stabilize and enhance the extension.


There is still much more to come. Like always, if you run into any issues, please open an issue on this repository or leave a comment in the discussion for this release.

Thank you for testing DPL4!