Fork this page on GitHub

The latest and greatest news from the Scalate team

Scalate Blog

Scalate 1.6.1 Released

Posted by James Strachan on Saturday, December 29, 2012

The Scalate team is pleased to announce the availability of Scalate

Scalate is a Scala 2.9 and 2.10] (http://www.scala-lang.org) based template engine which can be used stand alone, with servlets or web frameworks like [JAXRS, Lift or Play or in integration frameworks like Apache Camel.

The following template languages are supported through the same common API:

  • Ssp which is like a Scala version of Velocity, JSP or Erb from Rails
  • Scaml which is a Scala dialect of Haml for very DRY markup along with the Jade syntax
  • Mustache which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js

All expressions inside Ssp, Scaml and Jade benefit from the full power and expressiveness of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.

Scalate 1.6.1 Highlights

  • Cross built against Scala 2.9 and 2.10.
  • Dropped support for Scala 2.8.
  • Append _[scala-version] tag to all artifact IDs to denote Scala binary compatibility.
  • support stripping newlines from output in SSP templates
  • Upgraded versions of scalamd and wikitext
  • Add pooling for pegdown
  • Make Pegdown filter a class so extensions can be configured
  • Changes to support OSGi with 2.10.0
  • Do not create ServletTemplateEngine for every view, reuse once created one. Invoke boot class.
  • Upgrade to latest jruby
  • Add a shutdown method on Compiler
  • Have ScalateView properly register its ServletRenderContext objects
  • Now that TemplateEngine uses a ScalaCompiler, it needs a method for shutting it down.
  • Reset scala Source before read to support multiple reads
  • Do not retry template compilation twice
  • Use buildhelper plugin to include src/main/scala as source dir
  • Fixed {children} macro to work with static web sites.
  • Made some classloader changes for running in an OSGi environment.
  • Refactored ConfExport Mojo so that it re-uses code from scalate-tool.
  • Add support for sass/scss @import
  • Added Less Filter and attempted to modify the sbt and Maven builds to match this and the previous Pegdown filter.
  • Added PegDown filter
  • selective scuery attribute updates (update attribute if it exists)
  • Upgraded axis-wsdl4j dependency from 1.2 to 1.5.1
  • Added —target-db switch to generate DocBook link database.
  • Refactored confexport command to use the libraries from the Confluence Command Line Interface (CLI).

For more detail see the Full Commit History

Feedback is always welcome!

Scalate 1.5.3 Released

Posted by James Strachan on Monday, November 14, 2011

The Scalate team is pleased to announce the availability of Scalate 1.5.3

Scalate is a Scala 2.9.1 based template engine which can be used stand alone, with servlets or web frameworks like JAXRS, Lift or Play or in integration frameworks like Apache Camel.

The following template languages are supported through the same common API:

  • Ssp which is like a Scala version of Velocity, JSP or Erb from Rails
  • Scaml which is a Scala dialect of Haml for very DRY markup along with the Jade syntax
  • Mustache which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js

All expressions inside Ssp, Scaml and Jade benefit from the full power and expressiveness of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.

Scalate 1.5.3 Highlights

  • Scalate now uses the Scala Presentation Compiler to boost performance of template compilation 3-10X
  • Support for compiling stand alone CoffeeScript files on the server, CoffeeScript filters and various CoffeeScript related bug fixes
  • A pure Java API to working with Scalate

For more detail see the Full Change Log

Feedback is always welcome!

Scalate 1.5.2 Released

Posted by James Strachan on Friday, September 9, 2011

The Scalate team is pleased to announce the availability of Scalate 1.5.2

Scalate is a Scala 2.9.1 based template engine which can be used stand alone, with servlets or web frameworks like JAXRS, Lift or Play or in integration frameworks like Apache Camel.

The following template languages are supported through the same common API:

  • Ssp which is like a Scala version of Velocity, JSP or Erb from Rails
  • Scaml which is a Scala dialect of Haml for very DRY markup along with the Jade syntax
  • Mustache which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js

All expressions inside Ssp, Scaml and Jade benefit from the full power and expressiveness of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.

Scalate 1.5.2 Highlights

  • Server side compilation of CoffeeScript in the :coffeescript filter - many thanks for the patch
  • Provide a Scala 2.8.1 distribution of Scalate (version 1.5.2-scala_2.8.1) for easier Play integration and working with other Scala 2.8.x projects.
  • Minor improvements in the use of the ScalaCompiler to make it easier to support Lifty as a plugin inside SBT - thanks for the help and welcome to the team Mads
  • Fixed #260 : Scalate distro does not include all the jars required for textile support

For more detail see the Full Change Log

Feedback is always welcome!

Scalate 1.5.1 Released

Posted by Hiram Chirino on Monday, August 8, 2011

The Scalate team is pleased to announce the availability of Scalate 1.5.1

Scalate is a Scala 2.9.0 based template engine which can be used stand alone, with servlets or web frameworks like JAXRS, Lift or Play or in integration frameworks like Apache Camel.

The following template languages are supported through the same common API:

  • Ssp which is like a Scala version of Velocity, JSP or Erb from Rails
  • Scaml which is a Scala dialect of Haml for very DRY markup along with the Jade syntax
  • Mustache which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js

All expressions inside Ssp, Scaml and Jade benefit from the full power and expressiveness of Scala plus they are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your templates.

Scalate 1.5.1 Highlights

  • Updated the archetypes to use Jade rather than Scaml (as its the hotness ;-) and included the markdown dependency so new projects can easily mix Jade and Markdown.
  • Fixed #252 : Maven sitegen goal should set the work directory
  • Fixed #251 : Dynamically generated template sources should be stored under the scalate working directory and avoid using package declarations.
  • fixed the Sass filter to wrap it in the