Skip to content

Releases: PebbleTemplates/pebble

3.2.2

27 Nov 15:31
Compare
Choose a tag to compare
  • Throw a more detailed exception from DefaultAttributeResolver (#653)
  • Make expression nodes fully visitable (#657)
  • Added getTemplates function to MemoryLoader (#660)
  • Generate OSGi metadata into pebble jar to make it OSGi compliant (#663)
  • Add flag for parameter name retention in maven compiler plugin (#664)

3.2.1

28 Apr 19:24
Compare
Choose a tag to compare
  • Fix the null pointer exception on the replace filter (#650)
  • Add native hints for GraalVM (#648)

3.2.0

24 Nov 19:46
Compare
Choose a tag to compare
  • Add support for spring framework 6 and spring-boot 3 (#630)
  • Bump minimum supported java version to 17 in pebble-spring6 and pebble-spring-boot-starter in order to work with spring (#630)
  • Add a memory loader that supports inheritance and doesn't require a filesystem. This is useful for applications that retrieve templates from a database for example (#617).
  • BREAKING CHANGE: Change default suffix to .peb instead of .pebble in spring boot autoconfiguration (#553)
  • BREAKING CHANGE: Rename method getInstance to createInstance in BinaryOperator interface (#521)
  • BREAKING CHANGE: Rename package from com.mitchellbosecke to io.pebbletemplates (#635)

3.1.6

21 Sep 19:38
Compare
Choose a tag to compare
  • Make CacheKey class extendible (#604)
  • Remove support for spring 1.5.x (#628)
  • Fix for older Android versions (#585 #581 #580)

3.1.5

12 Feb 19:55
Compare
Choose a tag to compare
  • Add timeZone parameter to date filter (#530)
  • Add setting to limit the size of output when evaluating a template (#529)
  • Fix variable name starting with operator (#541)
  • Added Servlet5Loader to support Servlet 5.0 (#549)
  • Throw an error when an import alias references an invalid macro (#559)
  • Special for loop variables class, to support all attribute resolvers (#560)
  • Support all Java identifiers (#544)
  • Provide option to customize stock extensions (#552)
  • Cannot use sort filter right after split filter (#568)
  • Support array of List in sort filter (#569)
  • Extension global variables in macros (#571)
  • Add base64 and sha256 filters (#574)

v3.1.4

28 May 15:00
Compare
Choose a tag to compare
  • Slice filter: Use collection size when toIndex is greater than collection size (#504)
  • Adjust spring boot doc (#509)
  • Build with jdk14 (#508)
  • Set proxyBeanMethods to false and build with spring boot 2.3 (#507)
  • Add access to Spring Beans/request/session and response when using Pebble with WebFlux (#512)
  • Remove allowUnsafeMethods property and replace it with methodAccessValidator. Default one is BlacklistMethodAccessValidtor (#511)

v3.1.3

01 May 18:49
Compare
Choose a tag to compare
  • Allow treating all number literals as BigDecimals to avoid NumberFormatExceptions (#503)
  • Custom operator can't use external context (#497)
  • Allow all variable names to be retrieve from ScopeChain/Scope (#291)
  • Empty map in strict mode does not throw exception (#491)

v3.1.2

13 Dec 18:46
Compare
Choose a tag to compare
  • Add support for jdk13 (#487)
  • Add basic support for Spring 5 WebFlux reactive in Spring Boot 2 (#333)

v3.1.1

15 Nov 18:49
Compare
Choose a tag to compare
  • Use a list of unsafeMethods and rename allowGetClass to allowUnsafeMethods (#454)
  • PebbleTemplateAvailabilityProvider doesn't find template files from the classpath (#464)
  • Added inline verbatim description to Verbatim tag documentation (#422)
  • Fix issue of embed tag changing cached templates (#475)
  • Fixes bug which allowed sequential String literals to be parsed correctly (#482)
  • Update to spring boot 2.2 (486)

v3.1.0

20 Aug 01:13
Compare
Choose a tag to compare
  • BREAKING CHANGES: Consider avoiding feature version in spring boot starter name (#459)
  • Upgrade spring boot integration to Spring Boot 2.1 (#460)
  • Allow override core operators (#455, #456)
  • Allows variables to be set in templates when provided context is an immutable map (#453)
  • Fixed a few typos in the docs (#452)
  • Remove unnecessary variable 'state' in LexerImpl by using Stack (#450)
  • Updates Orchid to 0.17.1 and fixes its breaking changes (#448)
  • Null value in a Map should not throw AttributeNotFoundException (#447, #446)