This Week in Spring - March 26th, 2024
Hi, Spring fans! Welcome to another installment of This Week in Spring!
- Sam Brannen shares some good news: a null-safe Index operator for the Spring Expression Language (SpEL) is coming to Spring Framework 6.2!
- This is interesting, and a nice application of AI (do I even need to spell out "artificial intelligence" anymore?): localize applications with Spring AI
- this is a neat guide by community member Wim Deblauwe over on InfoQ: A Practical Guide to Building an API Back End with Spring Boot - version 2
- James Ward, founder of the WebJars project and a legend in his own right, invites folks to contribute feedback on the new
webjars-locator-lite
module, created by the…
Reflectionless Templates With Spring
A few Java libraries have shown up recently that use text templates, but compile to Java classes at build time. They can thus claim to some extent to be "reflection free". Together with potential benefits of runtime performance, they promise to be easy to use and integrate with GraalVM native image compilation, so they are quite interesting for people just getting started with that stack in Spring Boot 3.x. We take a look at a selection of libraries (JStachio, Rocker, JTE and ManTL) and how to get them running.
The source code for the samples is in GitHub and each template engine has its own…
Spring Modulith 1.2 M3 released
I am happy to announce the availability of Spring Modulith 1.2 M3. It contains a couple of dependency upgrades, bug fixes but the following new features primarily:
- Support for open application modules – Application modules can now be declared as open, which gives other modules full access to the open module's internals. Primarily intended for scenarios in which Spring Modulith is introduced in existing, sub-optimally structured projects.
- Support for package info types – Kotlin does not directly support annotating packages as it doesn't know an equivalent of
package-info.java
. Package-level configuration annotations such as@ApplicationModule
or@NamedInterface
can now be used on types annotated with@PackageInfo
. @ApplicationModuleListener
now exposes@EventListener
'scondition
…
Spring Boot 3.3.0-M3 available now
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.3.0-M3
has been released and is now available from https://repo.spring.io/milestone.
This release includes 70 enhancements, documentation improvements, dependency upgrades, and bug fixes. Notable new features include:
- Support for CDS archives
- Base64 Resources
- SBOM Actuator Endpoint
Please see the release notes for more details and upgrade instructions.
NOTE: We are in the process of migrating the Spring Boot documentation to Antora. The docs for this release will be a little delayed.
Thanks to…
A Bootiful Podcast: Stuart Marks (aka ”Dr. Deprecator”) on Java, its amazing features, and more
Hi, Spring fans! Happy one-day-belated Java 22 release day to those who celebrate! To ring in the new release, we've got an extra special and incredible discussion with a Java legend - somebody who's been involved in the Java community and work for decades - Stuart Marks, or "Dr. Deprecator," as he's affectionately known in the community.
Spring Shell 3.1.10 and 3.2.3 are now available
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Shell 3.1.10
and 3.2.3
has been released and are now available from Maven Central.
Please see the release notes 3.1.10 and release notes 3.2.3 for more details.
Thanks to all those who have contributed with issue reports and pull requests.
How can you help?
Spring Boot 3.2.4 available now
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.2.4
has been released and is now available from Maven Central.
This release includes 41 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.
How can you help?
If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot
tag or chat with the community on Gitter.
Project Page | GitHub | Issues | Documentation | Stack Overflow | …
Spring Boot 3.1.10 available now
On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.1.10
has been released and is now available from Maven Central.
This release includes 30 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.
How can you help?
If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot
tag or chat with the community on Gitter.
Project Page | GitHub | Issues | Documentation | Stack Overflow | …
Spring Integration 6.3.0-M2, 6.2.3 & 6.1.7 Available Now
Dear Spring community,
On behalf of Spring Integration team, it is my pleasure to announce 6.3.0-M2
version of the project which is available from Spring Milestone Repository.
In addition, bug fixes versions 6.1.7
& 6.2.3
have been released as well into Maven Central.
The notable changes in 6.3
:
-
Kotlin DSL is compatible now with upcoming Kotlin 2.0
-
The
spring-integration-security
module has been removed altogether in favor ofSecurityContextChannelInterceptor
&SecurityContextPropagationChannelInterceptor
from thespring-security-messaging
module of Spring Security project -
The
ObservationPropagationChannelInterceptor
is deprecated since it does not carry out a proper observation state between threads or even persistent store. …