Spring Framework 6.2.0-M1: Overriding Beans in Tests

Engineering | Simon Baslé | April 16, 2024 | ...

Spring Framework 6.2.0-M1 has been released, including changes that resolve more than one hundred issues. Among those are a range of new features in Spring's testing support.

In this post, I’d like to walk you through one of these new testing features: Bean Overriding support.

The previous state of affairs

Using the Spring TestContext Framework, you can easily verify the correct wiring of your Spring application within integration tests using an annotation-driven model.

In unit testing, dependency injection and Spring design principles make your code less dependent on the container and make it…

This Week in Spring - April 16th, 2024

Engineering | Josh Long | April 16, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm writing this from beautiful Paris, France, ahead of the amazing Devoxx France event. I've come to almost all of these events over the years. It's hard to believe it's been more than a decade since the show was first announced. I remember when these franchise editions - Devoxx UK, Devoxx FR, Devoxx PL, Devoxx MA, Devoxx UA, etc. - were new and novel. Now, rumor has it, this year edition of Devoxx FR will be even larger than Devoxx Belgium! What a coup. I love Devoxx. I've talked about it endlessly, but last year's…

Spring for Apache Pulsar 1.1.0-RC1 available now

Releases | Chris Bono | April 15, 2024 | ...

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring for Apache Pulsar 1.1.0-RC1 has been released and is available from https://repo.spring.io/milestone now!

This release will be included in the upcoming Spring Boot 3.3.0-RC1 release.

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

  • Transaction support for @PulsarListener and PulsarTemplate

Please see the release notes for more details.

Spring Data 2023.1.5 and 2023.0.11 released

Releases | Mark Paluch | April 12, 2024 | ...

On behalf of the team and everyone who has contributed, I’m pleased to announce the availability of 2023.1.5 and 2023.0.11 service releases. These releases ship with dependency upgrades, fixes for regressions and selected improvements.

The upcoming Spring Boot releases 3.2.5, respective 3.1.11 will pick up the above releases by next week.

2023.1.5

Spring Data 2024.0.0 goes RC1

Releases | Mark Paluch | April 12, 2024 | ...

On behalf of the team and everyone who has contributed, I’m pleased to announce that Spring Data release train 2024.0 has entered the release candidate phase with 2024.0.0-RC1 being available now.

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

Going forward, we aim for a GA release in mid May. The releases are as usual picked by by Spring Boot.

Thanks to all those who have contributed with issue reports and pull requests.

Finally, here are the links to the documentation and release notes:

Spring Framework 6.2.0-M1: all the little things

Engineering | Stéphane Nicoll | April 11, 2024 | ...

The Spring Framework team has been busy reviewing the issue tracker in anger and reducing the number of opened issues. This was long overdue, with a number of issues being invalid or superseded in the meantime. This helped the team focusing on a more manageable amount of issues and we used the opportunity to look at long standing issues that we haven’t had the time to address yet.

In this post, I’d like to walk you through a collection of those relatively small issues, sometimes highly voted, that are finally available in this milestone.

Support for escaping property placeholders

Property placeholders are a way to replace a property from the environment in an arbitrary String. Assuming that customer.name is set to "John Smith" in the Environment

Kicking off the Spring Framework 6.2 milestone phase

Releases | Juergen Hoeller | April 11, 2024 | ...

Dear Spring community,

On behalf of the core framework team, it is my pleasure to kick off the Spring Framework 6.2 milestone phase: 6.2.0-M1 is available from repo.spring.io/milestone now.

This milestone contains several enhancements in the core container, including a revision of the autowiring algorithm (e.g. for consistent generic type matching and for faster resolution of name-based matches) and a revision of singleton locking (e.g. for background bootstrapping), as well as a range of new features in Spring's testing support. Check out our What's New page for details about the new features…

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

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

Learn more

Get support

Tanzu Spring Runtime 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