Skip to content

Latest commit

 

History

History
598 lines (440 loc) · 41.4 KB

CHANGES.md

File metadata and controls

598 lines (440 loc) · 41.4 KB

Jinjava Releases

2024-09-12 Version 2.7.3 (Maven Central)

2024-02-12 Version 2.7.2 (Maven Central)

2023-08-11 Version 2.7.1 (Maven Central)

2023-03-03 Version 2.7.0 (Maven Central)

2021-10-29 Version 2.6.0 (Maven Central)

2021-09-02 Version 2.5.10 (Maven Central)

2021-05-21 Version 2.5.9 (Maven Central)

2021-05-20 Version 2.5.8 (Maven Central)

2021-04-09 Version 2.5.7 (Maven Central)

2020-10-07 Version 2.5.6 (Maven Central)

2020-06-23 Version 2.5.5 (Maven Central)

2020-05-01 Version 2.5.4 (Maven Central)

2020-03-06 Version 2.5.3 (Maven Central)

2019-07-11 Version 2.5.2 (Maven Central)

2019-06-07 Version 2.5.1 (Maven Central)

2019-02-05 Version 2.5.0 (Maven Central)

2019-02-05 Version 2.4.15 (Maven Central)

2019-01-08 Version 2.4.14 (Maven Central)

2019-01-07 Version 2.4.13 (Maven Central)

2018-11-21 Version 2.4.12 (Maven Central)

2018-10-23 Version 2.4.11 (Maven Central)

2018-10-19 Version 2.4.10 (Maven Central)

2018-10-15 Version 2.4.9 (Maven Central)

2018-09-07 Version 2.4.8 (Maven Central)

2018-08-31 Version 2.4.7 (Maven Central)

2018-08-29 Version 2.4.6 (Maven Central)

2018-08-16 Version 2.4.5 (Maven Central)

2018-07-10 Version 2.4.4 (Maven Central)

2018-06-13 Version 2.4.3 (Maven Central)

2018-06-01 Version 2.4.2 (Maven Central)

2018-04-22 Version 2.4.1 (Maven Central)

2018-02-26 Version 2.4.0 (Maven Central)

2018-02-09 Version 2.3.6 (Maven Central)

2018-01-26 Version 2.3.5 (Maven Central)

2017-11-30 Version 2.3.4 (Maven Central)

2017-11-16 Version 2.3.3 (Maven Central)

2017-11-14 Version 2.3.2 (Maven Central)

2017-10-30 Version 2.3.0 (Maven Central)

  • Add column numbers to error messages

2017-10-24 Version 2.2.10 (Maven Central)

  • Use code of bad syntax as field name for TemplateSyntaxExceptions

2017-08-31 Version 2.2.9 (Maven Central)

2017-08-12 Version 2.2.8 (Maven Central)

  • Prevent recursion in Jinjava.
  • Fix failsOnUnknownTokens.
  • Add EscapeJson filter.

2017-08-12 Version 2.2.7 (Maven Central)

  • Delegate toString() method on PyMap

2017-08-03 Version 2.2.6 (Maven Central)

2017-08-02 Version 2.2.5 (Maven Central)

2017-08-01 Version 2.2.4 (Maven Central)

  • Allow the use of filters including upper case letters: #132
  • Add function to apply resolved strings from one Context object to another: #133

2017-07-21 Version 2.2.3 (Maven Central)

  • Make nested expressions configuration default to true.

2017-07-19 Version 2.2.2 (Maven Central)

  • Disable interpretation of nested expressions with a configuration.

2017-06-14 Version 2.2.1 (Maven Central)

  • Includes field name in unknown tag error

2017-05-12 Version 2.2.0 (Maven Central)

  • Removes FileResourceLocator as a default ResourceLocator to close a security hole. See the README for details on how to reenable it.

2017-04-11 Version 2.1.19 (Maven Central)

  • preserve order of named parameters

2017-04-10 Version 2.1.18 (Maven Central)

  • fix bug when passing null argument to filter

2017-03-31 Version 2.1.17 (Maven Central)

  • added config option to limit the rendered output size
  • added named parameter support for filters
  • added type() function

2017-03-09 Version 2.1.16 (Maven Central)

  • disabled functions, filters and tags now add to template errors rather than throwing a fatal exception

2017-01-18 Version 2.1.15 (Maven Central)

  • shaded JUEL
  • added failOnUnknownTokens mode which is similar to Jinja's StrictUndefined

2016-11-18 Version 2.1.14 (Maven Central)

  • Enabled manual whitespace control by ending or closing tags with {%- or -%}
  • Fixed issue with passing arguments to rejectattr

Version 2.1.13 (Maven Central)

  • Added support for disabling specific functions, filters and tags

Version 2.1.12 (Maven Central)

  • Added ** and // operators
  • Fixed issue with passing arguments to expression tests

Version 2.1.11 (Maven Central)

  • Add additional specific error enums
  • Add escapeJS filter
  • Allow null expressions as target of replace filter

Version 2.1.10 (Maven Central)

Version 2.1.9 (Maven Central)

  • Exclude 'caller' from recursive macro check

Version 2.1.8 (Maven Central)

  • Add additional category information and error message tokens to TemplateError
  • Add range function
  • Update ListFilter to work with strings
  • Do not allow macros to be called recursively
  • Update checkstyle to 2.17

Version 2.1.7 (Maven Central)

  • Updated RawTag to not evaluate tags nested within it

Version 2.1.6 (Maven Central)

  • Added new bool filter to return boolean value from string
  • Added record of expressions and values evalulated

Version 2.1.5 (Maven Central)

  • Add support for java.util.Optional properties, nested properties in EL expressions

Version 2.1.4 (Maven Central)

  • fixed ArrayIndexOutOfBoundsException when importing template with no trailing newline

Version 2.1.3 (Maven Central)

  • Added two new expression tests for strings: "is string_startingwith" and "is string_containing"
  • Added support for multi-variable set in set tag (@amannm)
  • Added new detail dimension to TemplateError: ErrorItem

Version 2.1.2 (Maven Central)

  • Use resolved path value in include tag cycle detection
  • Store autoEscape flag in context outside of user-editable properties
  • Store superBlock reference in context outside of user-editable properties
  • make EL resolver read-only by default, expose as config parameter
  • restrict certain methods/properties in object expressions

Version 2.1.1 (Maven Central)

  • Better error messages for invalid assignment in expression
  • Allow for locale-based date formatting in StrftimeFormatter
  • Use configured locale for Functions.datetimeformat

Version 2.1.0 (Maven Central)

  • Refactored node render logic to return richer OutputNode instances, removing a need for a special intermediate string value in text output
  • Refactored cycle detection in import and include tags to remove use of special named vars in context
  • Fix bug to properly detect cycles in extends tag
  • Fix infinite recursion bug in resolveBlockStubs when block contains self-reference

Version 2.0.11 (Maven Central)

  • Renaming JinjavaInterpreter.renderString() to renderFlat() to better signify its purpose
  • Released build for jdk7 as version 2.0.11-java7

Version 2.0.10 (Maven Central)

  • minor performance enhancements

Version 2.0.9 (Maven Central)

  • update truncate_html filter to support preserving words by default, with an additional parameter to chop words at length
  • added unique filter to remove duplicate objects from a sequence
  • add support for global trim_blocks, lstrip_blocks config settings

Version 2.0.8 (Maven Central)

  • Updated escape filter to apply to string representation of all objects, not just string instances
  • Reworked variable resolution to use juel rather than custom approach
  • Adding ability to track dependencies used in rendering templates
  • fix issue with handling escape sequences in quoted strings within block tags

Version 2.0.7 (Maven Central)

  • Propagate interpreter errors from child interpreters
  • Changed error level to WARN for invalid date format strings, invalid locale strings

Version 2.0.6 (Maven Central)

  • Fix ifchanged end tag name
  • Fix implementation of autoescape tag
  • Fix propagation of InterpretExceptions from tag render
  • doc updates

Version 2.0.5 (Maven Central)

  • Changed behavior of date filter to be same as datetimeformat filter
  • Fixed date format conversion for single-digit values, for %e, %k, %l
  • Updated Jinjavadoc to support isDeprecated flag, as well as arbitrary key-value metadata

Version 2.0.4 (Maven Central)

  • Fix issue with PyishDate.isoformat()

Version 2.0.3 (Maven Central)

  • Upgrading javassist, commons-lang3 library dependencies
  • Adding new factory method to Jinjava for creating a new JinjavaInterpreter instance

Version 2.0.2 (Maven Central)

  • Adding code snippets to jinjavadoc
  • Adding shuffle filter for collections

Version 2.0.1 (Maven Central)

  • Adding self-documenting feature to jinjava core
  • Updating addition expression operator ('+') to work with lists and dicts

Version 2.0.0 (Maven Central)

  • 2.0.x requires JDK 8, as it contains some critical fixes to date formatting for certain languages (i.e. Finnish months)

  • The 2.0.x release has some significant refactorings in the parsing code: ** nests the .parse package under the existing .tree package ** consolidating the token scanner logic, updating the node tree parser

  • future updates will be able to detect more specific template syntax errors than was previously possible.

  • NodeList has been removed in favor of the native JDK LinkedList implementation

Version 1.0.9 (Maven Central)

  • changed how validation of object properties happens; previously, jinjava would add TemplateErrors for unknown properties at the context root (i.e. 'foo') and when the property existed but the value was null (i.e. 'foo.bar == null'). the new logic will only add an error when the property isn't found on the given base object.

  • creating richer exception hierarchy for more detailed and specific error messaging

  • the simple Jinjava.render(String, Map) method will now return a container exception containing all errors encountered during rendering, instead of simply the first one

Version 1.0.8 (Maven Central)

  • fixed issue with multiple includes of the same file in a template

Version 1.0.7 (Maven Central)

  • added logic to avoid include/import cycles in include and import tags

Version 1.0.6 (Maven Central)

  • fixed issue in strftimeformatter with format strings ending in literals
  • updated expression resolver to return blank strings rather than false for exception cases

Version 1.0.5 (Maven Central)

  • fixed issue in sort filter when using nested attribute

Version 1.0.4 (Maven Central)

  • Fix issue where HelperStringTokenizer could return a null last value
  • Added unless tag, for inverse-if functionality
  • Implemented from tag for importing specific named variables from another context

Version 1.0.3 (Maven Central)

  • Adding python methods dict.update() and date.isoformat() to analogous types

Version 1.0.2 (Maven Central)

  • Fix issue with closure scope lookups within macro functions

Version 1.0.1 (Maven Central)

  • Properly implement call tag syntax
  • Fix issue with declaring a list as a default method parameter value
  • Adding string split built-in filter

Version 1.0.0 (Maven Central)

  • Initial Public Release