NatLibFi / Skosmos

Thesaurus and controlled vocabulary browser using SKOS and SPARQL
Other
218 stars 94 forks source link

Upgrade to Twig 3 for Skosmos 3 #1585

Closed osma closed 5 months ago

osma commented 5 months ago

Description of the enhancement

Twig 2 was EOL'd in December 2023. Skosmos 2 and 3 are both still using Twig 2. Skosmos 3 should upgrade to Twig 3 because it doesn't make sense to build a new application on an obsolete version.

Fortunately the required changes should be small. It's possible that only the PHP side initialization will need some adjustment. See https://symfony.com/blog/preparing-your-applications-for-twig-3

Who are the users that would benefit from the enhancement and how?

Skosmos developers and users

What new functionalities would the enhancement make possible?

E.g. security and other updates to Twig.

Why is the enhancement important?

This has to be done anyway because Twig 2 is EOL. It's better to do it early to avoid extra work later.