This Week in Spring - August 30th, 2022

Engineering | Josh Long | August 30, 2022 | ...

Hi, Spring fans! How are you? How're you doin' this fine tuesday morning? I'm doing well, of course, because this week VMware's tentpole show - VMware Explore - is happening not even a mile from my home, here in San Francisco! And this is just the first one - there'll be another show, my favorite show, in December: SpringOne 2022! I sure hope you've registered and that we'll see you there!

Indeed, I've got a lunch to get to, so let's get this this week's wrapup done a little more quickly: without further ado....

Creating a custom Spring Cloud Gateway Filter

Engineering | Fredrich Ombico | August 27, 2022 | ...

In this article, we look into writing a custom extension for Spring Cloud Gateway. Before we get started, let’s go over how Spring Cloud Gateway works:

Spring Cloud Gateway diagram

  1. First, a client makes a network request to the Gateway
  2. The Gateway is defined with a number of routes, each with Predicates to match the request to the route. For example, you can match on the path segment of the URL or the HTTP method of the request.
  3. Once matched, the Gateway executes pre-request logic on each of the filters applied to the route. For example, you might want to add query parameters to your request
  4. A proxy filter routes the request to the proxied service
  5. The service executes and returns a response
  6. The gateway receives the response and executes post-request logic on each filter before returning the response. For example…

Spring Batch 5.0.0-M5 is available now!

Releases | Mahmoud Ben Hassine | August 24, 2022 | ...

I am pleased to announce that Spring Batch 5.0.0-M5 is now available from our milestone repository. The main theme of this milestone is improving testing support in Spring Batch. This post walks through the major changes in this area as well as other changes introduced in this milestone release. For the complete list of changes, see the release notes.

Test utilities configuration updates

Up to version 4.3, the JobLauncherTestUtils used to autowire the job under test with the goal of facilitating the test setup. But what if multiple jobs are defined in the test context? And what if no Job beans are defined at all? So while this autowiring was convenient for most cases, it turned out to cause several issues in the aforementioned situations. In this release, and based on community feedback, we have decided to remove the autowiring of any job in JobLauncherTestUtils

This Week in Spring - August 23rd, 2022

Engineering | Josh Long | August 23, 2022 | ...

Spring Boot 2.6.11 available now

Releases | Stéphane Nicoll | August 18, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.6.11 has been released and is now available from Maven Central.

This release includes 40 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 2.7.3 available now

Releases | Stéphane Nicoll | August 18, 2022 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.7.3 has been released and is now available from Maven Central.

This release includes 48 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 Authorization Server 0.4.0-M1 available now

Releases | Joe Grandja | August 17, 2022 | ...

On behalf of the team and everyone who has contributed, it is my pleasure to announce the general availability of Spring Authorization Server 0.4.0-M1.

You can download it from repo.spring.io milestone repository by using the module coordinates:

implementation 'org.springframework.security:spring-security-oauth2-authorization-server:0.4.0-M1'

See the release notes for complete details.

To get started using Spring Authorization Server, see the Getting Started chapter of the reference documentation and the samples to become familiar with setup and configuration.

We would love to gather your…

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