handlebars.java
handlebars.java copied to clipboard
4.4.0 breaks Java 8 support
.m2/repository/com/github/jknack/handlebars/4.4.0/handlebars-4.4.0.jar(com/github/jknack/handlebars/Context.class) [ERROR] class file has wrong version 61.0, should be 52.0
It seems the Java baseline was changed here: https://github.com/jknack/handlebars.java/commit/70d9261cf133969d373614d89e3e05cebb6f289c. As a user of handlebars and a maintainer of a project (micrometer-docs-generator) that uses it, I find quite unfortunate that the Java baseline was changed in a minor version and that the release notes does not mention this rather important detail.
It breaks a lot. "Upgrade to Spring 6" means javax -> jakarta! That should have been a major version bump!
I think it is still possible to fix this by re-releasing
-
4.3.1
as4.5.0
-
4.4.0
as5.0.0
@jknack what do you think?
The above suggestion is a really good idea. It's relatively simple to execute, and would clean up a lot of dependabot failures.
And, many thanks for providing us with a great Handlebars library. It is much appreciated!