Java type safe statically compiled mustache
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Fix issue #397 of inherited fields missing by @agentgt in https://github.com/jstachio/jstachio/pull/398
Thank you @pabloperich for finding the bug.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.5...v1.3.6
Published by agentgt 8 months ago
Bug release fix for #322 which mostly impacts Spring but could impact other frameworks.
Some improvements were also done for escaping performance.
Thanks to @dsyer for finding #322
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.4...v1.3.5
Published by agentgt 11 months ago
Thanks to @frantello, @jskov and @bitfist
#251 generated javadoc issues
#248 Spring model configurer had wrong signature for model maps
#266 a minor perf enhancement that does not change API.
Upgraded errorprone and checker and turned on even more static analysis.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.3...v1.3.4
Published by agentgt about 1 year ago
Fix #244 so that Eclipse projects that are not using Maven or Gradle buildship will hopefully still work.
Thanks to @jskov !
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.2...v1.3.3
Published by agentgt about 1 year ago
Disable automatic gradle incremental support (aggregating): #223
If and when Gradle supports annotations on Modules we will turn back on aggregating
.
If by small chance you were relying on "aggregating" incremental you may temporarily turn it on via
-Ajstache.gradle_incremental=aggregating
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.1...v1.3.2
Thanks @hrstoyanov !
Published by agentgt about 1 year ago
Fix #221 JStachio fallback mechanism was thinking intellij was gradle for JDK 17.
Thanks @taypo for the find!
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.3.0...v1.3.1
Published by agentgt about 1 year ago
See all the 1.3.0 issues
The most important feature added is #168 Context Aware Templates.
This feature took extensive work and Spring MVC supports it OOB. In Spring this will allow you to access
model attributes like.
{{@context.someModelAttribute}}
@context
is like a Map
so you do loose some type safety when using it but this will allow models to stay immutable. You can use lambdas to pull contents out of a context and cast it.
@JStacheLambda
public Locale findLocale(ContextNode node) {
return (Locale) node.get("locale");
}
{{@context.findLocale}}
{{country}} {{! call Locale.getCountry }}
{{/@context.findLocale}}
There is a very very minor chance this release will break if you extended:
JStachioFilter
ContextNode
It was decided not to make a major version since it was documented that those interfaces are rather internal.
Regardless it is best to rerun the annotation processor on all models before upgrading the runtime.
The JMustache extension has been sadly deprecated. While it did work for simple stuff it was too misleading to be trusted.
We are actively looking for newer/better hot reload #187 . Stay tuned and thumb-up if hot reload is a pain point.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.2.1...v1.3.0
Published by agentgt about 1 year ago
This release fixes some issues with supportsType
as well as a Spring issue found by @dsyer .
The most notable change is to support inheritance of JStache annotations which is required for 1.3.0. We decided to support this feature in a patch release as it was unclear based on the documentation if a modelType requires an annotation or not and the current behavior was buggy.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.2.0...v1.2.1
Published by agentgt over 1 year ago
See the milestone for features added: https://github.com/jstachio/jstachio/milestone/5?closed=1
Thanks to @dsyer for more Spring guidance and @hrstoyanov for fragments idea.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.1.1...v1.2.0
Published by agentgt over 1 year ago
This bug release fixes some Spring integration issues with HTTP headers that were missing.
See #172 and #176
It is highly recommended you upgrade if you are using Spring.
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.1.0...v1.1.1
Published by agentgt over 1 year ago
This release adds experimental nullable annotation support for generated code: #164
This will help those that are using complete null analysis tools like Checker and JSpecify (when it is ready)
that might be run on generated code.
While this is a minor release it should be completely safe to upgrade as we only add API changes to JStacheFlag (feature flags).
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.0.1...v1.1.0
Published by agentgt over 1 year ago
This release added more aggressive escaping to the default Html escaper to stop newer HTML 5 exploits particularly attributes.
It is recommended you upgrade if your attribute content cannot be trusted!
Credit @casid (sorry I didn't see your reason earlier and guessed what it might be).
Full Changelog: https://github.com/jstachio/jstachio/compare/v1.0.0...v1.0.1
Published by agentgt over 1 year ago
Finally after almost a year JStachio has reached 1.0.0!
The API is finalized and the main branch can only take pull requests.
THANK YOU:
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.19.0...v1.0.0
Published by agentgt over 1 year ago
Reproducibility needed before 1.0.0 fixed.
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.18.0...v0.19.0
Published by agentgt over 1 year ago
PRE_ENCODE is now the default and thus the flag has been removed and replaced with PRE_ENCODE_DISABLE.
The next release should be 1.0.0 as the API should be safe for performance improvements.
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.17.0...v0.18.0
Published by agentgt over 1 year ago
Some API changes to support Jooby pre-encoding
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.16.0...v0.17.0
Published by agentgt over 1 year ago
Performance enhancements and an API change. Hopefully the last API change before 1.0.0.
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.15.0...v0.16.0
Published by agentgt over 1 year ago
The big change is adding lambda section partials which allows lambdas to wrap or repeat section bodies passed into the lambda.
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.14.0...v0.15.0
Published by agentgt over 1 year ago
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.13.0...v0.14.0
Published by agentgt over 1 year ago
Finally jstachio implements Mustache spec delimiter changing support!
Full Changelog: https://github.com/jstachio/jstachio/compare/v0.12.0...v0.13.0