Skip to content

Releases: PebbleTemplates/pebble

v0.4.0-beta

21 Apr 19:18
Compare
Choose a tag to compare
v0.4.0-beta Pre-release
Pre-release
  • No more code generation, all nodes of the AST are rendered during template evaluation phase.

v0.3.0-beta

21 Apr 19:19
Compare
Choose a tag to compare
v0.3.0-beta Pre-release
Pre-release
  • Autoescaping, more escaping strategies, autoescape tag, and raw filter.
  • Extensions can now provide node visitors to traverse the AST.
  • Macros can have default argument values.
  • Implemented dynamic inheritance.
  • Renamed 'message' function to 'i18n'
  • Fixed issue where compilation failed in JBoss.
  • Code cleanup and misc small bugs

v0.2.0-beta

21 Apr 19:19
Compare
Choose a tag to compare
v0.2.0-beta Pre-release
Pre-release
  • Implemented named arguments.
  • Added dependency on google guava for template cache.
  • Split the default loader class into multiple discrete loaders.
  • Added the title filter.
  • Fixed issue where compilation mutex might not have been released.
  • Fixed parsing issues if variable names were prefixed with operator names.
  • Fixed issue where included templates didn't have access to context.
  • Fixed issue where if tag could not be used directly on a boolean variable.
  • Removed the format filter.
  • Fixed misc other smaller bugs.

v0.1.5-beta

21 Apr 19:20
Compare
Choose a tag to compare
v0.1.5-beta Pre-release
Pre-release
  • Fixed major bug from v0.1.4 that prevented macros from being invoked more than once.

v0.1.4-beta

21 Apr 19:20
Compare
Choose a tag to compare
v0.1.4-beta Pre-release
Pre-release
  • The i18n extension is now enabled by default.
  • Improved exception handling (storing cause where applicable).
  • PebbleEngine now returns a PebbleTemplate interface with a small subset of original methods.
  • Refactored function/filter/test interfaces into functional interfaces (preparation for Java 8).

v0.1.3-beta

21 Apr 19:20
Compare
Choose a tag to compare
v0.1.3-beta Pre-release
Pre-release
  • More unit tests and minor bug fixes.
  • Fixed issue where child templates were being inappropriately cached.
  • All core filters now perform null checking.
  • Performance optimization with variable attributes.
  • Renamed the number_format filter to numberformat

v0.1.2-beta

21 Apr 19:20
Compare
Choose a tag to compare
v0.1.2-beta Pre-release
Pre-release
  • Fixed issue where parent block didn’t have access to context.
  • Macros no longer have access to context (only local vars).
  • Fixed issue where macro output coudn’t be filtered/tested.
  • Refactored how blocks and macros are implemented .
  • Renamed number filter to number_format.
  • Added a cache interface for user’s to provide their own cache. Also removed the “cacheTemplates” setting.
  • Default cache is now thread safe.
  • Templates can now be evaluated concurrently.
  • Users can now safely attempt a concurrent compilation.
  • Fixed issue where provided writer was being closed by pebble engine.
  • Fixed memory leak in file manager.
  • Removed json filter.
  • Removed some third party dependencies.
  • Added parallel tag.
  • More unit tests and misc code cleanup.

v0.1.1-beta

21 Apr 19:20
Compare
Choose a tag to compare
v0.1.1-beta Pre-release
Pre-release
  • Fixed issue where templates of same name but different path were overriding each other in main template cache.
  • Made sure byte code stored in memory in InMemoryJavaFileManager is cleared when no longer required.
  • Removed caching of Reader objects from PebbleDefaultLoader which was causing more harm than good. This can be added back later if it is deemed necessary.
  • Completely changed how operators are compiled into Java due to a bunch of bugs regarding operand types.
  • Changed the behaviour of the == operator and added the equals operator as an alias.
  • Extensions can now provide custom functions.
  • Added source, min, and max functions.
  • The setting, cacheTemplates, now defaults to true.
  • Renamed the main entry points into the main Engine from “loadTemplate/render” to “compile/evaluate”.
  • Added i18n extension (disabled by default) and a default locale setting on the main pebble engine. The extension adds one new function: message()
  • Small performance improvements when looking up variable attributes.

v0.1.0-beta

21 Apr 19:21
Compare
Choose a tag to compare
v0.1.0-beta Pre-release
Pre-release
  • Refined PebbleEngine’s available public methods.
  • Added “strictVariables” setting to PebbleEngine.
  • Cleaned up how pebble-spring is to be configured.
  • More bug fixes and unit tests.

v0.0.3-alpha

21 Apr 19:21
Compare
Choose a tag to compare
v0.0.3-alpha Pre-release
Pre-release
  • Configuration changes in order to have the project hosted in the Maven Central Repository.