This Week in Spring - February 28th, 2023

Engineering | Josh Long | February 28, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm writing this installment from a hotel room in Dallas, Texas, in the USA. Last night I had the privilege of hanging out with some of my friends from the local Java scene. Today I meet with customers. It's going to be a nice few days indeed.

Web applications and Project Loom

Engineering | Mark Thomas | February 27, 2023 | ...

Introduction

Project Loom aims to bring "easy-to-use, high-throughput, lightweight concurrency" to the JRE. One feature introduced by Project Loom is virtual threads. In this blog post, we'll be exploring what virtual threads mean for web applications using some simple web applications deployed on Apache Tomcat.

High-throughput / Lightweight

The first experiment was to compare the overhead associated with using Tomcat's standard thread pool to the overhead associated with using a virtual thread (Loom) based executor. The test environment used is detailed at the end of this post. Performance…

Spring Boot 3.1.0-M1 available now

Releases | Phil Webb | February 24, 2023 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.1.0-M1 has been released and is now available from https://repo.spring.io/milestone.

This release includes 105 enhancements, documentation improvements, dependency upgrades, and bug fixes. Notable new features include:

  • Different log levels for file and console
  • Maximum HTTP Response Header Size
  • Many dependency upgrades

Please see the release notes for more details and upgrade instructions.

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

Spring Cloud 2021.0.6 has been released

Releases | Oleg Zhurakousky | February 24, 2023 | ...

On behalf of the community, I am pleased to announce that the General Availability (RELEASE) of the Spring Cloud 2021.0.6 Release Train is available today. The release can be found in Maven Central. You can check out the 2021.0.6 release notes for more information.

Notable Changes in the 2021.0.6 Release Train

See the project page for all the issues and pull requests included in this release.

Spring Cloud Commons

  • Add utility method to configure zone-preference load-balancing with user-provided zone (#1174)

Spring Cloud Netflix

  • Allow setting timeouts for fetching instances (#4110)

Spring…

Spring Modulith 0.4.1 released

Releases | Oliver Drotbohm | February 24, 2023 | ...

"If it's fun, do it more often" or so they say. Unfortunately, the just announced 0.4 release of Spring Modulith shipped a tiny glitch we could fix rather quickly, to immediately issue a 0.4.1 one. We were also able to sneak in an additional dependency upgrade to the just released jMolecules 2022.2.3.

Find a complete change log in the GitHub release page. We are looking forward to your feedback in the GitHub discussions.

Spring Modulith 0.4 released

Releases | Oliver Drotbohm | February 24, 2023 | ...

Dear Spring community, I am excited to announce the release of Spring Modulith 0.4. The release ships with the following new features:

  • A new Scenario API to allow the concise definition of integration tests for application modules, specifically tailored around the idea of them integrating via asynchronously handled, transaction bound events.
  • A new starter that allows to pull in the runtime support in a concise way, primarily to ease the usage of ApplicationModuleInitializers (GH-132).
  • The event publication registry now returns uncompleted events in ascending order of their publication dates (GH-133) and provides better logging (GH-125).
  • A few tiny optimizations in our documentation generation support, especially if the UML style is for component diagrams (GH-130, GH-140, GH-141

Spring Cloud Function for Azure Function

Engineering | Christian Tzolov | February 24, 2023 | ...

What is the Spring Cloud Function?

Spring Cloud Function is a SpringBoot-based framework allowing users to concentrate on their business logic by implementing them as Java Functions (i.e., Supplier, Function, Consumer). In turn the framework provides necessary abstraction to enable execution of these functions in various environments (e.g., REST, Streaming) as well as serverless environments such as AWS Lambda or Azure Functions, without having to worry about the underlying platform-specific details. This allows developers to focus on writing their business logic and let the framework handle…

Spring Boot 2.7.9 available now

Releases | Moritz Halbritter | February 23, 2023 | ...

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

This release includes 33 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.0.3 available now

Releases | Andy Wilkinson | February 23, 2023 | ...

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

This release includes 56 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 |

From Spring Native to Spring Boot 3

Engineering | Sébastien Deleuze | February 23, 2023 | ...

Today, we are finishing to transition the Spring support for building native executables from the experimental Spring Native project to the official Spring Boot GraalVM native image support.

In practice, that means we are archiving the Spring Native GitHub repository and moving it to the https://github.com/spring-attic organization. There will be no new release of Spring Native (based on Spring Boot 2.x) and we are encouraging all Spring Boot users to migrate to Spring Boot 3.x to leverage its official native support.

SpringOne

If you missed SpringOne keynote, be aware that the recording of…

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