You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Oliver Lietz <ap...@oliverlietz.de> on 2016/07/11 13:07:55 UTC

[ANN] Apache Sling Scripting Thymeleaf 1.0.0

The Apache Sling team is pleased to announce the release of Apache Sling 
Scripting Thymeleaf 1.0.0

Apache Sling is a web framework that uses a Java Content Repository, such as 
Apache Jackrabbit, to store and manage content. Sling applications use either 
scripts or Java servlets, selected based on simple name conventions, to 
process HTTP requests in a RESTful way.

Thymeleaf is a modern server-side Java template engine for both web and 
standalone environments. Thymeleaf's main goal is to bring elegant natural 
templates to your development workflow — HTML that can be correctly displayed 
in browsers and also work as static prototypes, allowing for stronger 
collaboration in development teams.

http://www.thymeleaf.org

Sling Scripting Thymeleaf is the scripting engine for Thymeleaf templates:

 * Supporting all of Thymeleaf's extension points: TemplateResolvers, 
MessageResolvers, Dialects, LinkBuilders, DecoupledTemplateLogicResolver, 
CacheManager and EngineContextFactory
 * SlingResourceTemplateResolver customizable through TemplateModeProvider
 * ResourceBundleMessageResolver backed by ResourceBundleProvider from Sling 
i18n customizable through optional AbsentMessageRepresentationProvider
 * PatternTemplateModeProvider supporting Pattern configurations for all 
template modes (HTML, XML, TEXT, JAVASCRIPT, CSS and RAW)
 * SlingDialect
 * Thymeleaf's TemplateEngine registered as OSGi Service (ITemplateEngine) for 
direct use

https://sling.apache.org/documentation/bundles/scripting/scripting-thymeleaf.html

This release is available from http://sling.apache.org/site/downloads.cgi

Building from verified sources is recommended, but convenience binaries are 
also available via Maven:

<dependency>
  <groupId>org.apache.sling</groupId>
  <artifactId>org.apache.sling.scripting.thymeleaf</artifactId>
  <version>1.0.0</version>
</dependency>

Release Notes:

Bug
 * [SLING-5351] - Thymeleaf fails loading version from properties

Improvement
 * [SLING-5518] - Get resource resolver from bindings by using 
SlingBindings.RESOLVER

New Feature
 * [SLING-5663] - Make Thymeleaf TemplateEngine available as service

Task
 * [SLING-4884] - remove embedded CaptureResponseWrapper
 * [SLING-5075] - Upgrade Thymeleaf to 3.0
 * [SLING-5685] - Upgrade Commons IO to 2.5

Enjoy!

-The Sling team