Scalate 1.5.3, released 2011-11-14
- 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
Scalate 1.5.2, released 2011-09-09
- Server side compilation of CoffeeScript in the :coffeescript filter - many thanks for the patch
- Provide a Scala 2.8.1 distribution of Scalate too (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
Scalate 1.5.1, released 2011-08-08
- Fixes #252 : Maven sitegen goal should set the work directory
- Fixes #251 : Dynamically generated template sources should be stored under the scalate working directory and avoid using package declarations.
- Fixes failing Sass test.
- updated to a recent camel release
- added a camel page describing the scalate-camel component
- added an ExpressionTag so its easy to make new confluence tags using a scala function, such as for {project_version}
- fixed the Sass filter to wrap it in the <style> element like the CssFilter - and added a test case
- added missing pages from demo :)
- updated docs to refer to HTML 5 headers for jade/scaml
- added missing pages from demo :)
- fixed index page
- Merge branch 'master' of github.com:scalate/scalate
- added a little sample to kinda showcase how layouts work and how the different template languages look and feel
- fixes #242494 to migrate the default archetypes over to using jade
- fix for loading precompiled templates
- tried a better fix for the NPE issue :)
- fixed possible NPE
- Fix link.
- remove unneeded file.
Scalate 1.5.0, released 2011-06-01
- Fixes#244 Error Page Template not display if precompiled and source excluded from webapp
- Try to load the source's content early in compileAndLoad so that a ResourceNotFoundException throw before a TemplateException due to the scala compiler not being available.
- Fixes#243 Updated to Scala 2.9.0-1
- Fixes#242 to add simple helper methods to turn measurement units into nice pretty strings
- added helper method to load a template as text such as to render a jade template as source inside a template for client side rendering
- support easy access to lazy created sets/lists/maps in the attributes.
- Fixes#239 : Adding a cofeescript filter.
- Fixes#238: scaml/jade using = on one line doesn't like a space before the =
- fixes #235 so that jsp2ssp is now available as a tool
- added new captureAttributeAppend method which fixes #230
- Fix classpath for scala compiler in osgi
- fixed up documentation bug
- explicitly reset the test counter just in case
- added test case to check we can implement a Boot class in pure Java easily
- moved the jrebel dependency repositories into the download profile and added more docs to the website
- added test case for Wille's issue: http://groups.google.com/group/scalate/browse_thread/thread/78013156e89b1ee8
- added a sample to test out the use of precompiling templates
- fixes #228 to provide a JRebel plugin for Scalate so that templates are reloaded whenever JRebel reloads a class. Its pretty pessimistic so far; we should be able to minimise the reloading of templates using JRebel's dependency tracking
- Add doco that the scss and sass filters are available.
- Trimming files form the haml distro that are not needed at runtime.
- Fixes #227 : Added scss and sass filters!
- Use the right javadoc annotation style.
- removed some unnecessary dependencies from poms
- made scala-compiler a default dependency so that mvn jetty:run and mvn tomcat:run work fine; folks can always exclude the dependency or specify it a provided scope dependency if they want to exclude it from a WAR
- Update the description of the from parameter since it can be a HTTP url too now.
- omit the div declaration when a class or style attribute is available.
- Fixes #225 We now check to see if the scala compiler is installed and disable template reloading if it's not. Also print a more descriptive message if we HAVE to compile a template and it's not available.
- Run the html through the tidy command if it's available, strip the doctype header, and handle multi line text areas properly.
- fixes #223 Use CSS comments to hide the CDATA expressions.
- Merge branch 'master' of github.com:scalate/scalate
- support dynamic attribute values in the ruby style attribute syntax in jade & scaml. fixes #222
- Fixes NPE that occurs when generateScala is called.
- fixed up the user guide a bit more to mention the DRY IT approach
Scalate 1.4.1, released 2011-02-25
- Fixes #219 removes the error attributes from the request context if scalate directly rendered the error page.
- Fixes #221 to add a scalate-web dependency and use it in scalate-war for simplicity
- Added scala-library dependency to scalate-util; if you want to exclude this dependency due to different scala versions you can add an exclusion easily. scala-compiler is an optional dependency on scala-core now
- Fixes #220 so that we can use tomcat:run inside archetypes and projects inside scalate
- Fixes to the spring mvc integration to make the contentType works
- Fixes scalate core so it can run on Java 1.5 once again
- Fixes #216 to let users properly override the number format
- Fixes #199 to treat java collections and Maps better in mustache
- Fixes SBT pre-compiler and sitegen plugins
Scalate 1.4, released 2011-02-10
- #183 switched to Scala 2.8.1 final release
- improved the OSGi metadata: optional dependencies are marked optional.
- fixed bugs in the Snippet URL handling
- #185 updated the
{div}
and{column}
tags evaluation in confluence markup so that they are evaluated as wiki notation - #188 added support to easily pass in attributes to the site generation step
- added a new maven plugin goal to export confluence sites
- #189 allow the use of HTTP URLs for the snippet source prefix - also default to using pygmentize if its installed unless disabled via Snippets.usePygmentize = false in the scalate.Boot.run() method
- bug fixes in
scalate-wikitext
- upgrade to ScalaMD version 1.5
- #190 sitegen reports on the template file it failed on
- #191 templates with missing attributes are ignored and a warning is generated
- #192 cache the evaluation of whether pygmentize is installed; which typically doesn't change during an application run
- updated Spring MVC integration: added support for order, prefix, and suffix properties. Removed requirement to use "render:" in view name. Layout render strategy passes the model to the render context.
- #194 added support for a textile filter.
- cleaned up the maven poms so that the scala and logback artifacts are not pushed as transitive dependencies to our users.
- #195 switched to a simpler directory layout for static site generation modules
- added support for using any scalate filter as a macro within markdown.
- #196 added a
scalate create sitegen ...
command to create static sitegen project - #197 and #198 Option is now treated as a collection of 0 or 1 in Mustache and so that Some(foo) is unwrapped to foo when outputting Option values in any Scalate template language
- #122 allow Mustache templates to layout generated HTML by navigating the 'html' variable to access the head / title or body content.
- #200 moved most log instances to be singleton objects.
- #204 added support a package prefix setting for all generated templates
- #202 added support for the Boot class feature on all TemplateEngines
- #203 moved the sitegen and precompiler core logic into scalate-core so it can be reused by other build tools
- #201 changed the Maven plugin so that it uses the Scalate version defined in the project's dependency list.
- #210 Fixed template Cache Bug: If scalate can't figure out the last update time of a resource it always considers it stale
- Upgraded to Jersey 1.5
- Upgraded to wikitext 1.2
- #205 Fixed bug where
scalate create
corrupts generated image files on windows - #206 Fixed bad output generated from the
{children}
confluence macro - #207 Fixed bug where page titles were not correctly getting set in sitegen project.
- #208 Added CSS and CDATA filters
- #209 Fixed bug where the
{include}
macro does trim the included file name - #211 Add SBT plugins for the precompiling and sitegen tasks
- #193 Add a :pygmentize filter for use in jade/scaml
Scalate 1.3.2, released 2010-11-24
- new set velocity directive in Ssp which lets you assign sections of the template output to attributes so you can more easily pass information into layouts.
- minor refactoring of internal classes such as Resource and ResourceLoader from the org.fusesource.scalate.support package into the org.fusesource.scalate.util package to make the util package more stand alone and reuseable outside of Scalate.
- scalate-util module now refactored out of scalate-core
- both scalate-core and scalate-util now OSGi bundles
For more detail see the Full Change Log
Scalate 1.3.1, released 2010-10-27
- for folks migrating from Erb, Ssp now supports Erb style comments
- ScalatePackage classes can now be properly auto-detected for templates which reside in the WEB-INF directory in a web application.
- works inside OSGi containers
- all documentation now correctly included in the distro
For more detail see the Full Change Log
Scalate 1.3, released 2010-10-08
- Jade template syntax is now supported which is a dialect of Haml or Scaml
- New Servlet Filter which allows more flexible mapping of templates in a web application. For example you can have the request /foo.xml automatically bound to /foo.xml.ssp if the template exists letting you easily implement views without requiring a controller or routing in your MVC layer.
- JSP Converter helps you migrate your existing JSP web application across to Scalate
- HTML Converter lets you migrate your existing HTML files easily to Scaml or Jade for extra DRY markup
- DRY template imports, values and logic thanks to Scalate Package objects which allow imports, values and methods to be shared across some or all of your templates to reduce noise inside your templates.
- Site Generator lets you generate static or dynamic websites using templates and/or wiki markup together with exporting wiki content from Confluence wikis to migrate to using git/svn as your wiki content repository. You can also use a common bootstrap approach now across both static website generation and web applications - such as to configure wiki macros in a canonical way. We now eat our own dog food and generate this site using Scalate.
- More filters and pipelines supported such as confluence as well as the existing markdown which are particularly useful for website generation (static or semi-static).
- The Scalate Tool now comes with a full interactive shell with full tab completion to make it easier to use the tool either for ad hoc or interactive shell use.
For more detail see the Full Change Log
Scalate 1.2, released 2010-07-30
- Scalate now supports the Mustache template language which is a Scala dialect of Mustache for logic-less templates which also work inside the browser using mustache.js. Support for Mustache uses the same common Scalate API so it works with all the existing Scalate adapters such as servlets, JAXRS, Lift or Play and Apache Camel
- Scalate is now built on top of Scala 2.8.0 final release
- Scuery for jQuery style transformation of HTML or XHTML using CSS3 selectors
- the console can be more easily reused in your application without using WAR overlays and templates can be loaded via the classloader to help make more modular web applications without relying on WAR overlays
- improvements in associating different template languages to files/URIs/strings/streams in a more flexible API
- various improvements in the accuracy of the mapping of scala compiler errors to positions in the template source file which are then shown and linked in the console
- improved maven plugin for precompiling templates
For more detail see the Full Change Log
Scalate 1.1, released 2010-04-15
- Ssp now supports Velocity style directives for more concise looping and branching.
- new Scalate Tool for creating new projects with Scalate more easily
- improved API for working with templates from different sources (file, URL, Source, String etc) via the helper methods on TemplateSource object and methods on TemplateEngine which take a TemplateSource
- easier to configure whitespace handling via the escapeMarkup property on TemplateEngine and RenderContext so its easy to configure markup escaping for an entire project or enable/disable it within templates.
For more detail see the Full Change Log
Scalate 1.0, released 2010-04-06
Initial release with support for the following template languages