Releases: jstachio/jstachio
v1.3.7
Bug fix release
Minor fixes before 1.4.0
What's Changed
- Address #407 issue of gradle template CWD by @agentgt in #409
- Support kapt resources by @SentryMan in #424
- Fix #412 default package models by @agentgt in #425
New Contributors
- @SentryMan made their first contribution in #424
Full Changelog: v1.3.6...v1.3.7
v1.3.6
Bug Fix Release
Fix issue #397 of inherited fields missing by @agentgt in #398
Thank you @pabloperich for finding the bug.
What's Changed
- Bump io.dropwizard:dropwizard-bom from 4.0.6 to 4.0.7 by @dependabot in #324
- Bump com.fasterxml.jackson:jackson-bom from 2.16.1 to 2.16.2 by @dependabot in #326
- Bump org.codehaus.plexus:plexus-compiler-eclipse from 2.13.0 to 2.15.0 by @dependabot in #327
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.0 by @dependabot in #328
- Bump com.google.errorprone:error_prone_core from 2.25.0 to 2.26.0 by @dependabot in #329
- Bump org.eclipse.jdt:org.eclipse.jdt.annotation from 2.2.800 to 2.3.0 by @dependabot in #331
- Bump org.eclipse.jdt:ecj from 3.35.0 to 3.37.0 by @dependabot in #330
- Bump com.google.errorprone:error_prone_core from 2.26.0 to 2.26.1 by @dependabot in #332
- Bump com.fasterxml.jackson:jackson-bom from 2.16.2 to 2.17.0 by @dependabot in #333
- Bump org.moditect:moditect-maven-plugin from 1.1.0 to 1.2.0.Final by @dependabot in #334
- Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2 by @dependabot in #336
- Bump org.springframework:spring-framework-bom from 6.1.4 to 6.1.5 by @dependabot in #335
- Bump org.commonmark:commonmark from 0.21.0 to 0.22.0 by @dependabot in #337
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 by @dependabot in #338
- Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 by @dependabot in #339
- Bump spring-boot.version from 3.2.3 to 3.2.4 by @dependabot in #340
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1 to 3.2.2 by @dependabot in #341
- Bump org.moditect:moditect-maven-plugin from 1.2.0.Final to 1.2.1.Final by @dependabot in #344
- Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #345
- Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.3.1 to 4.8.4.0 by @dependabot in #346
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 by @dependabot in #348
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 by @dependabot in #350
- Bump org.apache.maven.plugins:maven-scm-plugin from 2.0.1 to 2.1.0 by @dependabot in #351
- Bump spring-boot.version from 3.2.4 to 3.2.5 by @dependabot in #353
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.4 by @dependabot in #354
- Bump org.springframework:spring-framework-bom from 6.1.5 to 6.1.6 by @dependabot in #347
- Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 by @dependabot in #355
- Bump org.apache.maven.plugins:maven-wrapper-plugin from 3.2.0 to 3.3.0 by @dependabot in #356
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 by @dependabot in #357
- Bump org.apache.maven.plugins:maven-wrapper-plugin from 3.3.0 to 3.3.1 by @dependabot in #358
- Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.2 by @dependabot in #359
- Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to 3.1.2 by @dependabot in #360
- Bump com.google.errorprone:error_prone_core from 2.26.1 to 2.27.1 by @dependabot in #363
- Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.4.0 to 4.8.5.0 by @dependabot in #364
- Bump com.fasterxml.jackson:jackson-bom from 2.17.0 to 2.17.1 by @dependabot in #365
- Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0 by @dependabot in #352
- Bump org.eclipse.jetty:jetty-bom from 11.0.20 to 11.0.21 by @dependabot in #367
- Bump org.springframework:spring-framework-bom from 6.1.6 to 6.1.7 by @dependabot in #368
- Bump org.apache.maven.extensions:maven-build-cache-extension from 1.1.0 to 1.2.0 by @dependabot in #366
- Bump org.codehaus.mojo:build-helper-maven-plugin from 3.5.0 to 3.6.0 by @dependabot in #369
- Bump org.graalvm.buildtools:native-maven-plugin from 0.10.1 to 0.10.2 by @dependabot in #370
- Bump com.tngtech.archunit:archunit-junit4 from 1.2.1 to 1.3.0 by @dependabot in #349
- Bump org.codehaus.mojo:exec-maven-plugin from 3.2.0 to 3.3.0 by @dependabot in #371
- Bump org.springframework:spring-framework-bom from 6.1.7 to 6.1.8 by @dependabot in #372
- Bump spring-boot.version from 3.2.5 to 3.3.0 by @dependabot in #373
- Bump org.apache.maven.plugins:maven-wrapper-plugin from 3.3.1 to 3.3.2 by @dependabot in #374
- Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0 by @dependabot in #376
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.1 to 3.5.0 by @dependabot in #377
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.3 to 3.6.0 by @dependabot in #378
- Bump com.google.errorprone:error_prone_core from 2.27.1 to 2.28.0 by @dependabot in #379
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 by @dependabot in #380
- Bump org.eclipse.jdt:ecj from 3.37.0 to 3.38.0 by @dependabot in #384
- Fix issue 397 of inherited fields missing by @agentgt in #398
Full Changelog: v1.3.5...v1.3.6
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
8E23Release 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