All Versions
36
Latest Version
Avg Release Cycle
62 days
Latest Release
1428 days ago

Changelog History
Page 3

  • v0.13.1 Changes

    September 26, 2016
    • Fixed off by 1 error with iterating primitive collections
    • Support for iterating String and Object primitive arrays
    • Significantly faster HTML escaping for case where String requires zero replacements.
  • v0.13.0 Changes

    September 19, 2016
    • Major built-in support for null safe handling! This release will help you avoid NullPointerExceptions in numerous areas.
    • NOTE: some significant changes under-the-hood. Templates will be source compatible with older versions, but will likely have runtime issues (e.g. templates compiled with v0.12.0 will likely have runtime errors with v0.13.0) We recommend you recompile all your templates with v0.13.0+.
    • NOTE: default html escaping now uses an internal version rather than apache commons. This internal version is slightly faster, but also only escapes 5 entities (matches the entities Guava encodes by default). The previous version used Apache commons lang3 which included many other entities that are irrelevant with modern widespread usage of utf-8.
    • New @() eval expression will evaluate the expression and then render it
    • New @?value expression will only render the value if its not null
    • New @value?:defaultValue null ternary expression will either render the value if not null or will render the defaultValue. The defaultValue can include strings or literals. The ternary operation also follows short-circuit evaluation so defaultValue is only evaluated if value was null.
    • New @with? expression will either render the with block or you can optionally include an else block that will be rendered instead.
    • If guava is on the classpath, its html escaper will be used instead of Rocker's internal default version. Its about 3-4x faster. Its such a large dependency, its only optional, so simply add guava to your classpath to activate.
    • rocker-runtime no longer depends on Apache commons lang3. Its now only a dependency of rocker-compiler.
    • More efficient @for loops that use primitive array types.
    • Antlr dependency from v4.5 to v4.5.3
  • v0.12.3 Changes

    July 16, 2016
    • Ignore synthetic fields in plain text classloader (alkemist)
  • v0.12.2 Changes

    July 13, 2016
    • Fixed backwards compat with templates compiled w/ older versions running with this version of Rocker.
  • v0.12.1 Changes

    July 13, 2016
    • Load template field inner classes via the classloader that loaded the template (alkemist)
  • v0.12.0 Changes

    June 01, 2016
    • New @with feature to set a scoped variable to a value. When in Java 8+, the variable type is optional since it will be inferred by the compiler.
  • v0.11.1 Changes

    February 04, 2016
    • Removed generic type parameter for DefaultRockerModel to fix an issue with model.render(outputFactory) returning a generic vs. concrete type.
  • v0.11.0 Changes

    February 04, 2016
    • Added support for overriding the RockerOutput a model will render to
    • Removed callback feature on RockerModel. Use new model.render(outputFactory, templateCustomizer) as its superior replacement.
  • v0.10.6 Changes

    February 03, 2016
    • Allow @args consisting of any amount of empty whitespace (@jfendler)
    • More unit tests
  • v0.10.5 Changes

    January 19, 2016
    • Fixed issue with plain text } else { blocks being interpreted as code rather than as plain text