FreeMarker Blog

The official weblog of the FreeMarker project

Monday, February 04, 2008

FreeMarker 2.3.12 released

FreeMarker 2.3.12 is out! Download it from here.

  • We fixed one really ugly (and really stupid to make) bug that made the JSP 2.0 SimpleTag support introduced in 2.3.11 immediately unusable (ouch). Everything gets better at second attempt, I guess, so it works now; with my apologies to anyone bitten by it.

  • FreeMarker's praised error reporting got even (a bit) better: parse-time exception messages now display the name of the template in addition to line and column number (I too can't believe we didn't have this earlier).

  • Variable argument methods (introduced with Java 5) on Java objects can now be properly invoked (in case of overloaded methods, observing the same rules for method resolution that the Java language itself uses).

  • Finally, Java 5 enum constants are now identified by their name, not their toString() representation (which can be overridden in a subclass). They still print their toString() representation, of course.