Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[transformation.jinja] Update jinjava to 2.6.0 from 2.5.7 #13296

Merged
merged 1 commit into from
Aug 20, 2022

Conversation

ssalonen
Copy link
Contributor

@ssalonen ssalonen commented Aug 20, 2022

Updated jinjava library used by jinja transformation to 2.6.0 version (released 2021-10), from 2.5.7 (released 2021-04)

Changes compared to 2.5.7 version, from https://github.com/HubSpot/jinjava/releases

2021-10-29 Version 2.6.0 ([Maven Central](https://search.maven.org/artifact/com.hubspot.jinjava/jinjava/2.6.0/jar))
Create interface for object truth values
Catch concurrent modification in for loop
Add Originating Exception Message For A TemplateSyntaxException
Throw a template error when attempting to divide by zero
Make unixtimestamp behave the same as System.currentTimeMillis()
handle null argument in range function
Track Current Processed Node In The Context
Add Base 64 encode and decode filters

2021-09-03 Version 2.5.10 ([Maven Central](https://search.maven.org/artifact/com.hubspot.jinjava/jinjava/2.5.10/jar))
Make LazyExpression memoization disable-able
Add new MapELResolver with type coercion to support accessing enum keys
Add methods to remove error from interpreter,
get the last error,
and remove the last error
Pass value of throwInterpreterErrors to child contexts
Support Assignment Blocks with Set tags
Handle spaces better in for loop expressions
Support "not in"
Set propertyResolved after evaluating the AbstractCallableMethod
Limit infinite evaluation from recursive extends tags
Fix striptags to clean HTML instead of parsing
Various PRs for eager execution to support two-phase rendering.

2021-05-20 Version 2.5.8 ([Maven Central]Various PRs for eager execution to support two-phase rendering.
Add rangeLimit to JinjavaConfig
Add namespace functionality
Fix capitalize and title filters

Signed-off-by: Sami Salonen [email protected]

Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@jlaur jlaur merged commit ac23965 into openhab:main Aug 20, 2022
@jlaur jlaur added this to the 3.4 milestone Aug 20, 2022
leifbladt pushed a commit to leifbladt/openhab-addons that referenced this pull request Oct 15, 2022
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
marcelGoerentz pushed a commit to marcelGoerentz/openhab-addons that referenced this pull request Nov 14, 2022
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants