Releases: jstachio/jstachio
v1.3.5
v1.3.4
Bug fix release
Thanks to @frantello, @jskov and @bitfist
Bug fixes
#251 generated javadoc issues
#248 Spring model configurer had wrong signature for model maps
Enhancements
#266 a minor perf enhancement that does not change API.
Internal
Upgraded errorprone and checker and turned on even more static analysis.
Dependabot spam
- Bump org.springframework:spring-framework-bom from 6.0.12 to 6.0.13 by @dependabot in #245
- Bump com.fasterxml.jackson:jackson-bom from 2.15.2 to 2.15.3 by @dependabot in #246
- Bump com.google.errorprone:error_prone_core from 2.22.0 to 2.23.0 by @dependabot in #247
- Bump spring-boot.version from 3.1.4 to 3.1.5 by @dependabot in #249
- Bump org.graalvm.buildtools:native-maven-plugin from 0.9.27 to 0.9.28 by @dependabot in #250
- Bump io.dropwizard:dropwizard-bom from 4.0.2 to 4.0.3 by @dependabot in #252
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2 by @dependabot in #254
- Bump org.apache.commons:commons-text from 1.10.0 to 1.11.0 by @dependabot in #255
- Bump checkerframework.version from 3.39.0 to 3.40.0 by @dependabot in #256
- Bump org.moditect:moditect-maven-plugin from 1.0.0.Final to 1.1.0 by @dependabot in #259
- Bump com.tngtech.archunit:archunit-junit4 from 1.1.0 to 1.2.0 by @dependabot in #258
- Bump org.codehaus.plexus:plexus-archiver from 4.8.0 to 4.9.0 by @dependabot in #260
- Bump io.dropwizard:dropwizard-bom from 4.0.3 to 4.0.4 by @dependabot in #261
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 by @dependabot in #262
- Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.1.0 by @dependabot in #263
- Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.2 by @dependabot in #264
Full Changelog: v1.3.3...v1.3.4
v1.3.3
Bug fix release
Fix #244 so that Eclipse projects that are not using Maven or Gradle buildship will hopefully still work.
Thanks to @jskov !
What's Changed
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.0 by @dependabot in #224
- Bump checkerframework.version from 3.37.0 to 3.38.0 by @dependabot in #228
- Bump org.graalvm.buildtools:native-maven-plugin from 0.9.24 to 0.9.26 by @dependabot in #229
- Gradle test resources #221 regression by @agentgt in #230
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.0 to 3.4.1 by @dependabot in #231
- Bump org.graalvm.buildtools:native-maven-plugin from 0.9.26 to 0.9.27 by @dependabot in #234
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 by @dependabot in #235
- Bump spring-boot.version from 3.1.2 to 3.1.4 by @dependabot in #237
- Bump com.google.errorprone:error_prone_core from 2.21.1 to 2.22.0 by @dependabot in #238
- Bump org.springframework:spring-framework-bom from 6.0.11 to 6.0.12 by @dependabot in #233
- Bump io.dropwizard:dropwizard-bom from 4.0.1 to 4.0.2 by @dependabot in #239
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.1 by @dependabot in #240
- Bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.5 to 4.7.3.6 by @dependabot in #241
- Bump checkerframework.version from 3.38.0 to 3.39.0 by @dependabot in #242
- Bump org.apache.maven:maven-core from 3.9.4 to 3.9.5 by @dependabot in #243
Full Changelog: v1.3.2...v1.3.3
v1.3.2
Bug fix release
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
What's Changed
Full Changelog: v1.3.1...v1.3.2
Thanks @hrstoyanov !
v1.3.1
v1.3.0
1.3.0 Feature Release
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");
}
Potential breaking changes
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.
Deprecation
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.
What's Changed
- Bump org.codehaus.plexus:plexus-archiver from 4.7.1 to 4.8.0 by @dependabot in #206
- More defensive coding in interceptor by @dsyer in #208
- Add native image testing by @agentgt in #212
- Add autoconfiguration for @WebMvcTest by @dsyer in #211
- Allow multiple resourcePaths compiler option #198 by @agentgt in #199
- Add context aware support #168 by @agentgt in #207
- Add Maven build cache extension by @dsyer in #215
- Bump org.apache.maven:maven-core from 3.9.3 to 3.9.4 by @dependabot in #213
- Bump org.graalvm.buildtools:native-maven-plugin from 0.9.23 to 0.9.24 by @dependabot in #218
- Default jstache suffix when no path #196 by @agentgt in #219
Full Changelog: v1.2.1...v1.3.0
v1.2.1
Bug fix release
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.
What's Changed
- Bump spring-boot.version from 3.1.1 to 3.1.2 by @dependabot in #197
- ModelAndView can contain View that is not from JStachio by @dsyer in #202
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Release 1.2.0 brings new features:
- Spring Boot starter support
- Dropwizard support
- htmx fragments support
- See discussion
- See doc
- Tons of shared output strategies based on template benchmarking and continued framework integration
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.
What's Changed
- Add autoconfiguration for Spring MVC by @dsyer in #173
- Remove unused import by @dsyer in #178
- Bump spring-framework-bom from 6.0.9 to 6.0.10 by @dependabot in #180
- Bump maven-shade-plugin from 3.4.1 to 3.5.0 by @dependabot in #181
- Bump maven-clean-plugin from 3.2.0 to 3.3.1 by @dependabot in #182
- Bump spring-boot.version from 3.1.0 to 3.1.1 by @dependabot in #183
- Output strategies based on template-benchmark by @agentgt in #186
- Bump maven-core from 3.9.2 to 3.9.3 by @dependabot in #184
- Bump metainf-services from 1.9 to 1.11 by @dependabot in #185
- Dropwizard support #188 by @agentgt in #189
- Bump spring-framework-bom from 6.0.10 to 6.0.11 by @dependabot in #190
- Fragments #193 by @agentgt in #194
Full Changelog: v1.1.1...v1.2.0
v1.1.1
This bug release fixes some Spring integration issues with HTTP headers that were missing.
It is highly recommended you upgrade if you are using Spring.
What's Changed
- Bump maven-surefire-plugin from 3.1.0 to 3.1.2 by @dependabot in #170
- Tone down moan about jsr305 by @dsyer in #171
- Fix for #172 to set content type for views and #175 content length by @agentgt in #174
- Fix #176 webflux content type and char set issues by @agentgt in #177
Full Changelog: v1.1.0...v1.1.1
v1.1.0
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).
What's Changed
- Bump jackson-bom from 2.15.0 to 2.15.2 by @dependabot in #159
- Sonar fixes by @agentgt in #160
- Fix ContextNode.isFalsey and more sonar work by @agentgt in #162
- Bump maven-release-plugin from 3.0.0 to 3.0.1 by @dependabot in #163
- Bump buildnumber-maven-plugin from 3.1.0 to 3.2.0 by @dependabot in #166
- Add nullable annotation marking config #164 by @agentgt in #165
- Fix resource closing bugs in scripts and tests by @agentgt in #167
Full Changelog: v1.0.1...v1.1.0