Skip to content

Commit

Permalink
Update readme and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Nov 6, 2024
1 parent 58b995d commit def18f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Rocker Templates by Fizzed
==========================

#### 2.0.1 - 2024-11-06

- New PlainTextStrategy of STATIC_BYTE_ARRAYS (helps with GraalVM compatability) (@ppedregal)
- Maven plugin supports setting "plainTextStrategy" as a new configuration option (@ppedregal)

#### 2.0.0 - 2024-11-06

- Java 7 support dropped. Java 8 is now minimum supported version (Java 21 will no longer compile < 8).
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Includes the following features:
* Templates retain enough information about the original template to throw
exceptions at runtime (during render()) that let you track down the problematic line
in the original template source file.
* GraalVM compatability if you leverage the new PlainText strategy of STATIC_BYTE_ARRAYS

## Sponsorship & Support

Expand Down Expand Up @@ -448,7 +449,11 @@ to Rocker's default value.
Useful for application-specific intermediate classes that you'd like all
template models to extend.
Defaults to Rocker's default.


* `plainTextStrategy` is the strategy used for embedding plain text as part
of templates. Default is STATIC_BYTE_ARRAYS_VIA_UNLOADED_CLASS but if you
need GraalVM compatability, you would try STATIC_BYTE_ARRAYS

* `discardLogicWhitespace` determines whether whitespace in templates that is
determined to be only a part of logic/control blocks should be discarded.
Helps make rendered content look more professional, while still keeping
Expand Down

0 comments on commit def18f5

Please sign in to comment.