On Thursday 18 January 2018 17:19:00 Radu Cotescu wrote:
> Hello,

Hi,

> This is something I wanted to do for a while, but haven't had the chance.
> It's currently a bit difficult to figure out what HTL bundle supports which
> HTL language specification version. This information is currently only
> present in the Provide-Capability headers that the bundles expose.

that is not quite correct. The language version is exposed by the 
ScriptEngineFactory (JSR 223).

> Would you have something against the following versioning scheme for the
> HTL-related modules?
> 
> <specification_version>.<module_version>
> 
> The latest specification version is 1.3.1 [0], already implemented by our
> modules.
> 
> That would mean that the next releases will be:
> 
> org.apache.sling.scripting.sightly.compiler-1.3.1.0
> org.apache.sling.scripting.sightly.compiler.java-1.3.1.0
> org.apache.sling.scripting.sightly-1.3.1.0
> org.apache.sling.scripting.sightly.js.provider-1.3.1.0
> org.apache.sling.scripting.sightly.models.provider-1.3.1.0
> org.apache.sling.scripting.sightly.testing-1.3.1.0
> org.apache.sling.scripting.sightly.testing-content-1.3.1.0
> htl-maven-plugin-1.3.1.0
> 
> The org.apache.sling.scripting.sightly.repl module is independent from the
> HTL specification and can use its current versioning scheme.
> 
> I would also adjust the JIRA versions accordingly.

I would not couple bundle version to language version at all (it's fine to 
have multiple engines per bundle, e.g. one for 1.x and another for 2.x).

Regards,
O.

> Thanks,
> Radu
> 
> [0] -
> https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.3.1/SPECIFICATION.m
> d

Reply via email to