FreeMarker 2.3.14 is released

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user,gmane.comp.web.freemarker.devel
Message-ID <[email protected]>
Download:
http://prdownloads.sourceforge.net/freemarker/freemarker-2.3.14.tar.gz


Change log
----------

(Online: http://freemarker.org/docs/versions_2_3_14.html)


Changes on the FTL side:

* New built-in: "xhtml".

* New special variable: "template_name".

* Now you can use the values of parameters as the defaults of other
  parameters, for example <#macro section title label=title>. In
  earlier versions it worked unreliably. There are no restriction
  regarding the order of parameters, like <#macro section label=title
  title> works too.

* Added a new number format specifier, "computer". This uses the same
  formatting as exp?c.

  
Changes on the Java side:

* The constructor to freemarker.ext.servlet.AllHttpScopesHashModel is
  now public, allowing it to be reused in 3rd party web frameworks.

* Bugfix: freemarker.ext.beans.SimpleMapModel (unlike either
  freemarker.ext.beans.MapModel or freemarker.template.SimpleHash
  didn't allow lookup by java.lang.Character key when passed a
  single-character string as a key.

* Bugfix: permissive unwrapping in
  freemarker.template.utility.DeepUnwrap class was not recursively
  permissive with elements of sequences and hashes.

* Bugfix: freemarker.ext.beans.MapModel returns
  BeansWrapper.wrap(null) instead of null for null values explicitly
  bound into the map.

* Bugfix: Fixed a subtle bug with property getters of classes
  implementing a type-parametrized interface.

* Bug fixed: A further corner case of [1939742].

-- 
Best regards,
 Daniel Dekany


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.