Bootiful Spring Boot 3.4: Spring Framework

Engineering | Josh Long | November 24, 2024 | ...

The Spring Framework 6.2 release notes provide a much more detailed look at all the new features. I won’t rehash all of them here, but here are some of the features that caught my eye:

  • Improved generic type safety in auto wiring sorting.
  • Smarter, more optimized Spring Expression Language expressions.
  • More efficient handling of resources in web applications, as well as in the WebJars support.
  • Refinements to Spring’s JMS support and STOMP-over-WebSocket support.
  • Improved testing support with the new HTMLUnit dependency, AssertJ-style MvcTester for Spring MVC tests, and much improved mocked beans in tests.
  • Support the concept of @Fallback beans, essentially the mirror image of @Primary beans.
  • Background bean initialization.
  • Improved binding of data to constructors.

Bootiful Spring Boot 3.4: Spring Security

Engineering | Josh Long | November 24, 2024 | ...

Spring Security 6.4.1 is your one-stop shop for authenticated and authorized items, and this release is a doozie! The release notes brim with the possibilities!

The release notes are a lie!

I mean, they’re not a lie. They just don’t do a good job of capturing and conveying how awesome this release is. There are more user-facing toys in this release than in many previous releases. This might be my favorite Spring Security release since at least it sprouted a Java configuration DSL!

Look at those release notes. See those puny sections on Passkeys and One-Time Token Login? Yah. That’s the lie…

Bootiful Spring Boot 3.4: Spring Modulith

Engineering | Josh Long | November 24, 2024 | ...

When Spring Boot first came out, I would tell people at talks that Spring Boot is like pair programming with the Spring team. It provided the convention-over-configuration to allow you to stand up infrastructure and get something going quickly. But it didn’t provide much architectural guidance. No "rails," as it were, regarding how you structured your application. And this was OK, I think, since Spring Boot isn’t a one-trick pony. You can use it for CLIs, monoliths, web applications, batch jobs, streaming and integration processors, microservices, GRPC services, Kubernetes operators, etc…

What's new in Spring Modulith 1.3?

Engineering | Oliver Drotbohm | November 22, 2024 | ...

After half a year of development, Spring Modulith 1.3 GA has been released. It is packed with new features, improvements, and – best of all – community contributions. Let me walk you through some of the most interesting ones.

Baseline Upgrades

As usual, a new minor version of Spring Modulith upgrades to the latest releases of both Spring Boot and Spring Framework, 3.4 and 6.2 respectively. That said, we still remain compatible with the previous generations of each of them so that you can selectively upgrade to Spring Modulith 1.3 without having to the latest Boot and Framework versions.

The…

This Week in Spring - November 19th, 2024

Engineering | Josh Long | November 19, 2024 | ...

Hi, Spring fans! How are you? Can you believe we're already staring at the end of the month? It's that time of the year when we see new releases, and the new releases reflect that frenzy! Soon: Spring Boot 3.4.0! Are you updated? Make sure you're updated!

Remember: Spring projects leave open source support after a year. So, roughly, when Spring Boot 3.4.0 drops, Spring Boot 3.2.0 and earlier won't be supported anymore. If you want to know where you stand, check the support windows on the various projects' pages

  • Spring Framework 6.2.0 available now! This foundational piece kicks off our release cycle for the season. Remember: we do new releases of Spring Framework and Spring Boot every six months! Spring Framework 6.2 brings new baseline dependencies, removed APIs, tweaked Priority behavior in the core container, deeper generic type matching, @Fallback beans, SpEL updates, smarter resource loading in web…

Why Spring AI: The Seamless Path to Generative AI

Engineering | Oded Shopen | November 19, 2024 | ...

Why Spring AI: The Seamless Path for Spring Developers to the World of Generative AI

Intro

As a Java developer exploring the world of generative AI, you’re probably aware of several frameworks that promise to make AI integration easy. I believe Spring AI stands out as the natural choice, especially for developers already working within the Spring ecosystem. Built on the same foundation as Spring Boot and Spring Data, Spring AI makes adding AI capabilities to your applications seamless and intuitive, without requiring you to learn an entirely new set of paradigms.

Seamless Integration with the…

This Week in Spring - November 12th, 2024

Engineering | Josh Long | November 12, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring!

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all