Re: [Tiki-devel] Smarty 4.0 with PHP 8 support

[email protected]
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Good point luci. It's a case of "picking our poison"...

Do we want Tiki 24.x to support PHP 8.x? If so, we should go for Smarty 
4.x, but this can cause side-effects. Here is the big commit: 
https://github.com/smarty-php/smarty/pull/629/


Just so everyone knows:

2020-July: We started working on PHP 8.0 support in Tiki trunk
https://gitlab.com/tikiwiki/tiki/-/merge_requests/504
2020-Nov: PHP 8.0 is released
2021-Nov: PHP 8.1 is released

AFAIK, all the __Tiki__ code in trunk is OK for PHP 8.x: Because we 
started early and responsibly, we could do this in the background, 
without rush or stress.

But with all the dependencies Tiki uses:
https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.lock
it's to be expected that there are some laggards. Smarty being one of 
them.

Proposal:
We see who can quickly do a test upgrade to Smarty 4.x in a branch, and 
folks can test, and if deemed stable enough, we go for Tiki24, else, we 
wait for Tiki25. I just hope Smarty 3.x will get security fixes for a 
while: https://github.com/smarty-php/smarty/issues/686

Thoughts?

Thanks!

Marc


On 2021-11-29 13:44, luciash via TikiWiki-devel wrote:
> Isn't 24.x too soon?
> 
> luci
> 
> On 27.11.2021 14:12, Jonny Bradley via TikiWiki-devel wrote:
>> Coolio, thanks Marc!
>> 
>> I guess we should try it out - something for 24.x do you think?
>> 
>> jb
>> 
>> 
>>> On 26 Nov 2021, at 18:00, Marc Laporte <[email protected]> wrote:
>>> 
>>> Great news!
>>> 
>>> https://dev.tiki.org/Smarty-4
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> TikiWiki-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>> 
>> 
>> 
>> _______________________________________________
>> TikiWiki-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.