How do I find out which Sightly, Apache Sling Scripting HTL Engine (runtime) version is being used in my AEM environment? You may want to know because while writing code, you would want to know which API is avaiable to use.
The Apache Sling Scripting HTL Runtime provides support for executing HTL Java compiled units produced by the org.apache.sling.scripting.sightly.compiler.java module.
In this article, I will help you find out which versions of the Apache Sling Scripting HTL engine is being installed on your AEM instance.
There’s two ways to find out this information.
1. System Console Bundles UI
Visit the system console bundles UI. http://localhost:4502/system/console/bundles.
Search for the word “sightly” you should be able to see the versions being used.
Apache’s release tags from Github for org.apache.sling.scripting.sightly.compiler
From what I analyzed here, looking at the build number, it looks like this number is in fact the version of the Sling Scripting HTL Engine. Take a closer look at the system console bundle screenshot and compare it with the Apache documentation presented on Github, you can see <major>.<minor>.<patch>-<qualifier>-<build number>.
2. Read the documentation below that is provided by Adobe
If you take a closer look at Adobe’s own documentation from git, it actually says:
- An implementation of version 1.1 of the language specification will be made available in AEM 6.1; release 16 February 2015.
- An implementation of version 1.2 of the language specification will be made available in AEM 6.2; release 30 March 2016.
- An implementation of version 1.3 of the language specification is available in AEM 6.3; release 15 December 2016.
- An implementation of version 1.4 of the language specification is available in AEM 6.3 SP3 and AEM 6.4 SP1; release 18 June 2018.
Reference: HTML Template Language Specification