Releases: HubSpot/jinjava
Releases · HubSpot/jinjava
Release list
jinjava-2.8.4
2026-07-24 Version 2.8.4 (Maven Central)
- Add support for configurable multi-character delimiters
- Treat backslash as an escape character only inside quoted strings, matching Jinja2
- Add
keepTrailingNewlineoption to match Python Jinja2's default of stripping a single trailing newline - Auto-convert
IntegertoLongin set filters when the feature is enabled - Add a boolean parameter to
withUnwrapRawOverride - Introduce
BuiltinFeatures - Preserve block tags to maintain reconstruction and execution order
- Fix
RenderFilter's handling of deferred values - Use
isResolvableObjectbefore building a hashcode in eager execution - Don't require explicitly pushing the
JinjavaInterpreterwhen using it directly
jinjava-2.8.3
2025-02-02 Version 2.8.3 (Maven Central)
- Disallow accessing properties on restricted classes while rendering through ForTag
- Upgrade jackson to version 2.20
- Add performance optimization to chained filters
jinjava-2.7.6
2025-02-02 Version 2.7.6 (Maven Central)
- Disallow accessing properties on restricted classes while rendering through ForTag
- Upgrade jackson to version 2.20
jinjava-2.8.2
2025-10-22 Version 2.8.2 (Maven Central)
jinjava-2.7.5
2025-09-30 Version 2.7.5 (Maven Central)
- Disallow accessing properties on restricted classes while rendering
jinjava-2.8.1
2025-09-16 Version 2.8.1 (Maven Central)
- Disallow accessing properties on restricted classes while rendering
- Make stack operations use AutoCloseable for safer usage with try-with-resources
jinjava-2.8.0
jinjava-2.7.4
jinjava-2.7.3
2024-09-12 Version 2.7.3 (Maven Central)
- Add support for numeric keys in map literal
- Add feature to consider undefined variable a TemplateError
- Improve Optional value serialization
- Fix bug where extends roots were processed inside of the RenderFilter
- Don't allow illegal characters in XmlAttrFilter
- Limit string length in
+and~operators - Fix various RuntimeExceptions in filters and functions
- Updates dependency versions
jinjava-2.7.2
2024-02-12 Version 2.7.2 (Maven Central)
- Use interpreter's locale for strftime functions
- Prevent infinite hashCode recursion in PyList or PyMap
- Support aliasing macro function names in {% from %} tag
- Add whitespace trimming functionality for notes and expressions
- Add feature to prevent accidental expressions from being output
- Add length-limiting to |render filter and add |closehtml filter
- Add length-limiting to |tojson filter
- Make |pprint filter output in JSON format
- Allow for loop with
nullvalues - Add length-limiting when coercing strings
- Add
ECHO_UNDEFINEDfeature - Various PRs for eager execution to support two-phase rendering.