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!

This Week in Spring - November 5th, 2024

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

This Week in Spring - November 5th, 2024

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's the 5th of November, 2024, and, um, I - an American - am desperately trying to keep calm and carry on. I did everything I can do (VOTE!), and so it's with considerable enthusiasm that I dive into this week's (hopefully distracting) roundup!

This Week in Spring - October 29th, 2024

Engineering | Josh Long | October 29, 2024 | ...

Hi, Spring fans! How're things? It's almost Halloween! I'm so excited! I'm going as a PHP program. Boooooooo...t. I'm writing this from the amazing Vaadin Create conference in Frankfurt, Germany, about to do my keynote for an amazing, Spring-loving audience here. So, without further ado, let's dive right into it!

RestClient Support for OAuth2 in Spring Security 6.4

Engineering | Steve Riesenberg | October 28, 2024 | ...

In Spring Security 6.2 and 6.3, we have worked to steadily improve configuration for applications using OAuth2 Client. Configuration for common use cases has been simplified by allowing applications to publish beans which are automatically included in the overall OAuth2 Client configuration during application startup. Recent improvements include:

  • Extension grant types can be enabled simply by publishing a bean of type OAuth2AuthorizedClientProvider (or ReactiveOAuth2AuthorizedClientProvider)
  • OAuth 2.0 Access Token Requests can be extended with custom parameters simply by publishing one or more beans of type OAuth2AccessTokenResponseClient (or ReactiveOAuth2AccessTokenResponseClient)
  • Spring Security automatically publishes a bean of type OAuth2AuthorizedClientManager (or ReactiveOAuth2AuthorizedClientManager) if one is not already published, requiring less boilerplate configuration when an application needs to obtain access tokens

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