-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Smarty #390
Comments
admin_register_smartyplugins() takes care of registering all neccessary modifiers for the admin templates
With 2e36211, I updated to Smarty 4.5.2. Upgrading to Smarty 5 is still to be tackled, though - but we may discuss if this has any priority, since 4.5.2 works sufficiently on current PHP versions. |
Hello everyone, there will probably be an initial release for PHP8.4 around November 2024. Therefore, the question can be derived: Which changes will result for Smarty and which for FlatPress? The next question is: What are the advantages of Smarty 5 for FlatPress? And last but not least: Do you wait until the last moment when you have to migrate to both Smarty and PHP or do you dedicate yourself to one promptly and have more time for the other later? If you have to migrate FlatPress to both at the same time, the effort before an imminent deadline is very high - and you are under time pressure. If you can already play around with Smarty 5.x.x now, you should use the time, because you'll have to migrate at some point anyway. In principle, however, I am in favor of linking the update cycle of FlatPress to the life cycle of PHP. The migration to the next Smarty version would then take place automatically. In the case of Franah's ResposiveAdmin, I would immediately switch to Smarty 5. It doesn't make sense to first upgrade the ResposiveAdmin branch to Smarty 4 and then again to Smarty 5. You don't want to sacrifice that much free time. I think the following sequence makes sense:
@azett, i would like to see an anniversary release on February 15, 2026. 😁 🥳 . Best regards and have a good night |
Hello everyone, Laborix from the support forum did a quick & dirty test with FlatPress 1.3.1/ Smarty 4.3.1 using PHP8.4.0 alpha 1. The following hints flew around his ears:
With best regards |
ToDo-list for Smarty 5 upgrade: Comment from laborix: PHP 8.4: Implicitly nullable parameter declarations deprecated Branch: |
Smarty 4 has made it into the PHP8.4 round with version 4.5.5. This clears the way for testing FlatPress for PHP 8.4 errors. |
With FlatPress 1.3.1, we ship Smarty 4.3.1.
In the meantime, Smarty 4 has evolved to 4.5.2 (as of today) - and even Smarty 5 has been released.
With e544ed6, @Fraenkiman noted some errors on updating to Smarty 4.5. Needs to be inspected.
The text was updated successfully, but these errors were encountered: