Hi fellow coders. While most updates of Polarion don’t need any changes of your customizations, there will be a few things for 22R1 and 22R2 to pay attention to.
The offical information can be found in the “What’s new and Noteworthy” of Polarion 22R1. In the technology update chapter it references an important new document you’ll find in the support portal: Deprecation and Removal Plan. But I want to summarize most important stuff for everyone who’s regularly customizing Polarion.
For 22R1 there were several updates, but log4j might be the most impactfull in this release:
|Log4J update to 2.17.1||Some extensions might not work anymore and prevent the server from starting. Please make sure to update all extensions. Many have been updated by Polarion R&D on extension portal. Check your own and update them. A small guide can be found in the “configuration.txt” in the Polarion update folder. Here a copy of it:|
To add the old log4j-1.2.17.jar file to the classpath of the extension:
|Rhino JS scripting engine removed||Was deprecated since 2016 and should not have an impact to your recent scripts. But you might have to adapt your js workflows, conditions etc.|
|Groovy 1.5.7 was updated to 2.4.21||You might have to adapt your groovy workflows, conditions etc.|
For 22R2 there will come up more impactfull changes:
|Java 11 –> Java 17||You might have to update your extensions to Java 17.|
|Nashorn JS engine will be replaced by GraalVM||This will have an impact on many js scripts. But you can prepare for it. Set the property “com.polarion.scripting.useGraalJsEngine=true” in the polarion.properties and adapt your scripts on a test server while you’re still on 22R1.|
Please check additionally the official Deprecation and Removal Plan, the “What’s new and Notworthy”-blog post and also the text files contained in the update for more details. There will also be changes regarding operating systems support and possibly other important changes for you. I just summarized important scripting news here, as I guess it is somewhat relevant for the audience of this blog.
Wish you the Best!