4.0.0-alpha.2 #386
Universal-Omega
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 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 DPLwith Tracking Category:The template transclusion (
Extension DPL) has been replaced with a proper tracking category,Pages using DynamicPageList4. All the references and usages ofExtension DPLhas been removed, including theCreateTemplatemaintenance script.Introduction of Constants and Utilities Classes:
A new
Constantsclass centralizes all error and warning codes, while a newUtilsclass 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
dplmatrixParser Function:The
dplmatrixparser 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, anddplnum. 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
Hooksclass has been entirely refactored while theParseclass had some minor refactoring.📌 Notes
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!
This discussion was created from the release 4.0.0-alpha.2.
Beta Was this translation helpful? Give feedback.
All reactions