New in Spring 6.1: RestClient

Engineering | Arjen Poutsma | July 13, 2023 | ...

Spring Framework 6.1 M2 introduces the RestClient, a new synchronous HTTP client. As the name suggests, RestClient offers the fluent API of WebClient with the infrastructure of RestTemplate.

Fourteen years ago, when RestTemplate was introduced in Spring Framework 3.0, we quickly discovered that exposing every capability of HTTP in a template-like class resulted in too many overloaded methods. In Spring Framework 5, we therefore used a fluent API for the reactive WebClient. With RestClient we are introducing a HTTP client that offers an API similar to WebClient, and that uses the message converters, request factories, interceptors, and other underlying components of RestTemplate

Spring Framework 6.1 M2 released

Releases | Brian Clozel | July 13, 2023 | ...

On behalf of the Spring Framework framework team, it is my pleasure to announce that the second Spring Framework 6.1 milestone release is available from repo.spring.io/milestone now. This new version builds on the main 6.1 themes introduced in the first milestone and adds new ones: @Scheduled improvements and the introduction of RestClient.

Main themes status update

The Data Binding and validation worked has made progress and we have now completed the "Built-in Web Support for Method Bean Validation" umbrella issue and documented the feature accordingly.

Thanks to the Virtual Threads theme, blocking execution of WebFlux Controllers can now be scheduled on a VirtualThreadTaskExecutor

Spring Framework 5.2.25.RELEASE, 5.3.29 and 6.0.11 available now

Releases | Brian Clozel | July 13, 2023 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 5.2.25.RELEASE, 5.3.29 and 6.0.11 are available now.

Spring Framework 5.2.25.RELEASE ships with 2 fixes improvements. This is an out-of-cycle release that will not be shipped with a new Spring Boot version, as Spring Boot 2.3.x is EOL.

Spring Framework 5.3.29 ships with 22 fixes and documentation improvements, including 3 fixes for regressions. This version will be shipped with Spring Boot 2.7.14, to be released next week.

Spring Framework 6.0.11 ships with 71 fixes and documentation improvements, including 7 fixes for regressions. This version will be shipped with Spring Boot 3.0.9 and 3.1.2, to be released next week

Spring Web Flow 3.0.0 Released

Releases | Rossen Stoyanchev | July 13, 2023 | ...

I'm pleased to announce the availability of Spring Web Flow 3.0.0. This release is all about compatibility with Spring Framework 6 and Jakarta EE. The spring-webflow-sampes have been updated, and the commit history provides an example of changes necessary to upgrade. One significant change is the need to remove Tiles which has not migrated to Jakarta EE. The booking-mvc sample now uses Thymeleaf Layouts instead.

Once again special thanks to Ian Young, Scott Cantor, and Gábor Lipták for your help to make these updates available to the community!

A Bootiful Podcast: Spring Framework and Spring Boot legend Stéphane Nicoll on a Bootiful Podcast

Engineering | Josh Long | July 13, 2023 | ...

Hi, Spring fans! Welcome to another installment of A Bootiful Podcast! In this installment, Josh Long talk to Spring team legend Stéphane Nicoll (@snicoll) about Spring Boot, Apache Maven and Gradle, his journey to the Spring team, and so much more. This episode was recorded live from beautiful Barcelona, Spain, from the epic Spring I/O event in May of 2023!

Azure Spring Apps Enterprise – More Power, Scalability & Extended Spring Boot Support

Engineering | Josh Long | July 11, 2023 | ...

Can you believe Spring is celebrating its 20th anniversary this year? We could not have gotten here without our millions of Spring developers across the globe, thank you! Spring has been an essential tool for Java developers, and it continues to grow and innovate at a fast pace. From the onset, Azure and VMware Tanzu have been trusted partners to customers for running mission-critical Java and Spring workloads. Our commitment and fondness for the Java Spring developer community have never wavered.

Microsoft and VMware Tanzu Collaboration Continues

Microsoft collaboration with the Spring team…

This Week in Spring - July 11th, 2023

Engineering | Josh Long | July 11, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm in yummy, sunny Jakarta, Indonesia at the moment, preparing for a week of meetings and the SpringOne Tour Indonesia event later this week. I'll also be speaking in Kuala Lumpur, Malaysia on July 20th, 2023 . If you're in either of these regions, please come out and join me for what is sure to be a ton of fun on our journey to production!

Anyway, we've got a ton of stuff to dive into this week, so let's get to it.

Active Health Check strategies with Spring Cloud Gateway

Engineering | Ignacio Lozano | July 05, 2023 | ...

Active health check strategies with Spring Cloud Gateway

Nowadays, applications are built as a collection of small independent upstream services. This accelerates development and allows modules to be focused on specific responsibilities, increasing their quality. This is one of the main advantages of using a microservice approach. However, jumping from one service to another can add extra latency, and this latency can be dramatically higher when the services are not responding.

If you run microservices, you want to prevent your upstream services from being called when they are not working…

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