Releases: PebbleTemplates/pebble
Releases · PebbleTemplates/pebble
4.1.2
4.1.1
4.1.0
BREAKING CHANGES
- If you do not provide a custom Loader, Pebble will now use only a
ClasspathLoaderby default, same as the spring autoconfiguration. Before that, it would have used an instance of theDelegatingLoaderwhich consists of aClasspathLoaderand aFileLoaderbehind the scenes to find your templates. - Modify the
FileLoaderto use a mandatory base directory parameter.
Security
- Fix CVE-2025-1686 (#715)
New Features
- Use a default existing format of
yyyy-MM-dd'T'HH:mm:ssZwhen using date filter with a string (#677) - Look for exact method / field match when doing reflection. Look for method get/is/has if none match (#712)
- Support dynamic named arguments (#741)
Bug Fixes
- NaN must return false instead of throwing an exception (#695)
Dependency Upgrades
- Upgrade to SLF4J 2.0.17 (#709)
4.0.0
BREAKING CHANGES
- Add support for spring boot 4 (#704)
- Use one of the following artifactId according to the spring boot version that you are using
| ArtifactId | spring-boot version |
|---|---|
| pebble-legacy-spring-boot-starter | 3.x.x |
| pebble-spring-boot-starter | 4.x.x |
- The following spring boot properties has been moved to
.servletor.reactive
| Old property | New Property |
|---|---|
| pebble.allowRequestOverride | pebble.servlet.allowRequestOverride |
| pebble.allowSessionOverride | pebble.servlet.allowSessionOverride |
| pebble.cache | pebble.servlet.cache |
| pebble.contentType | pebble.servlet.contentType |
| pebble.exposeRequestAttributes | pebble.servlet.exposeRequestAttributes |
| pebble.exposeSessionAttributes | pebble.servlet.exposeSessionAttributes |
| pebble.exposeSpringMacroHelpers | pebble.servlet.exposeSpringMacroHelpers |
| pebble.reactive.mediaTypes |
For more information, please consult the spring-boot integration documentation in
the Boot externalized configuration section
New Features
- Add nl2br filter (#699)
3.2.4
3.2.3
3.2.2
- 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
3.2.0
- 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
.pebinstead of.pebblein spring boot autoconfiguration (#553) - BREAKING CHANGE: Rename method
getInstancetocreateInstanceinBinaryOperatorinterface (#521) - BREAKING CHANGE: Rename package from
com.mitchellbosecketoio.pebbletemplates(#635)