Skip to content

Releases: neuland/pug4j

2.3.1

10 Jan 15:40
Compare
Choose a tag to compare
  • Fixed issue #32 Reduce number of ignored NumberFormatExceptions in PugJexlArithmetic#add operation (thanks to Selaron)
  • Fixed issue #33 Attributes Block is not rendered completely in HTML

2.3.0

10 Jan 15:39
Compare
Choose a tag to compare
  • Updated GraalJS to 21.3.12 (fixes runtime errors on jdk 9+ when using GraalJSExpressionHandler)
  • Updated to jexl 3.4
  • Allow setting JexlOptions on JexlExpressionHandler constructor. Setting debug option to false as default #24
  • Fixed multithreading usage of template rendering #31
  • Set Automatic Module Name to de.neuland.pug4j

2.2.0

08 Jan 09:03
Compare
Choose a tag to compare
  • upgrade to jexl 3.3
  • dependency updates

2.1.0

10 Oct 12:58
Compare
Choose a tag to compare
  • updated dependencies
  • jexl is now on version 3.2.1
  • graalvm is now on version 21.3.2 (thanks dbelyaev)
  • FileTemplateLoader now uses nio file api
  • Fixed issue #14: Default Mixin Arguments

2.0.6

10 Oct 12:58
Compare
Choose a tag to compare

updated libraries (commons-text to 1.10.0 - CVE-2022-42889)

2.0.5

02 Feb 12:39
Compare
Choose a tag to compare
  • refactoring filepathhandling to support windows
  • fixed tests to run on windows platform

2.0.4

13 Dec 16:16
Compare
Choose a tag to compare
  • update gson dependency to the latest available v2.8.7 -> v2.8.9 (thanks dbelyaev)
  • other dependency updates
    • flexmark 0.60.2 -> 0.62.2
    • caffeine 2.9.2 -> 2.9.3
    • graalvm 21.2.0 -> 21.3.0
    • slf4j-simple 1.7.31 -> 1.7.32
    • jmh-core 1.23 -> 1.33
    • jmh-generator-annprocess 1.23 -> 1.33

2.0.3

07 Sep 12:33
Compare
Choose a tag to compare
  • fixed target type mapping of nested objects in GraalJsExpressionHandler
  • improved speed of GraalJsExpressionHandler

2.0.2

02 Sep 10:41
Compare
Choose a tag to compare
  • added more data types to GraalJsExpressionHandler (Date,Time etc.)
  • fixed a regression bug, which was introduced in 2.0.1, when calling multiple mixins

2.0.1

31 Aug 14:51
Compare
Choose a tag to compare
  • improved speed of GraalJsExpressionHandler a lot
  • made GraalJSExpressionHandler Thread-Safe

Some comparisons:

pug4j-2.0.1 3rd run with GRAALJS

render 10 products 19ms
render 100 products 96ms
render 1000 products 889ms

pug4j-2.0.0 3rd run with GRAALJS

render 10 products 37ms
render 100 products 296ms
render 1000 products 13285ms

pug4j-2.0.1 3rd run with JEXL

render 10 products 2ms
render 100 products 7ms
render 1000 products 43ms

jade4j-1.3.2 3rd run with JEXL

render 10 products 2ms
render 100 products 6ms
render 1000 products 65ms