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…

Spring for Apache Kafka 3.0.16, 3.1.4 and 3.2.0-RC1 Available Now

Releases | Soby Chacko | April 16, 2024 | ...

On behalf of the entire team and everyone in the community who contributed, we are pleased to announce the general availability of Spring for Apache Kafka 3.0.16 and 3.1.4.

Both of these GA releases include a few improvements and bug fixes. For more details, see the following change logs.

https://github.com/spring-projects/spring-kafka/releases/tag/v3.0.16

https://github.com/spring-projects/spring-kafka/releases/tag/v3.1.4

Spring Boot 3.1.11 and 3.2.5 releases will include Spring for Apache Kafka 3.0.16 and 3.1.14, respectively.

In addition, we are pleased to announce the first release candidate for Spring for Apache Kafka 3.2.0 (3.2.0-RC1). This release candidate includes new additions, feature enhancements, bug fixes, and…

Spring Authorization Server 1.3.0-RC1, 1.2.4 and 1.1.7 available now

Releases | Joe Grandja | April 16, 2024 | ...

On behalf of the team and everyone who has contributed, it is my pleasure to announce the releases of Spring Authorization Server 1.3.0-RC1, 1.2.4 and 1.1.7.

See the 1.3.0-RC1, 1.2.4 and 1.1.7 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.

Project Page | GitHub Issues | Project Board

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 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 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

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…

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

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