Spring Boot 2.7.0-M2 available now

Releases | Madhura Bhave | February 24, 2022 | ...

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

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

  • Test slices for Couchbase and Elasticsearch
  • Enhancements to auto-configuration registration and ordering
  • Support for OkHttp4

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 Session 2021.0.5 and 2021.1.2 released

Releases | Eleftheria Stein-Kousathana | February 23, 2022 | ...

On behalf of the team, I’m pleased to announce the release of Spring Session 2021.0.5 and 2021.1.2. These releases deliver bug fixes and dependency upgrades. For your convenience, Spring Boot will pick up these artifacts with its upcoming releases.

The following modules were updated as part of 2021.0.5:

The following modules were updated as part of 2021.1.2:

Spring Batch 4.3.5 available now

Releases | Mahmoud Ben Hassine | February 23, 2022 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 4.3.5 has been released to Maven Central repository. This patch release comes with a number of bug fixes, enhancements and dependency updates. You can find the complete change logs here: 4.3.5.

I would like to thank all contributors who had a role in this release!

Spring Batch Home | Source on Github | Reference Documentation

Announcing ListCrudRepository & Friends for Spring Data 3.0

Engineering | Jens Schauder | February 22, 2022 | ...

The Spring Data CrudRepository has various methods that return multiple instances of the entity managed by the repository. It does so by using Iterable and not List, as one might expect. In many cases, that is of no consequence, since you typically want to iterate over the result anyway. However, you might occasionally prefer a List. In these cases, Iterable is annoying.

I will write more about why that choice was made in the first place and how you can deal with it as long as you are on Spring Data 2.x. However, let me get the good news out first:

Repositories returning Lists

Spring Data 3.0.0 now offers a ListCrudRepository in the latest snapshot releases, which returns a List where CrudRepository returns an Iterable

This Week in Spring - 22/2/22

Engineering | Josh Long | February 22, 2022 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? I'm doing alright, thank you! I'm really excited about this week, too, because it features a ton of cool stuff. Also, it's 22/2/22! And I posted this at 22:22! :D

Spring Security without the WebSecurityConfigurerAdapter

Engineering | Eleftheria Stein-Kousathana | February 21, 2022 | ...

In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter, as we encourage users to move towards a component-based security configuration.

To assist with the transition to this new style of configuration, we have compiled a list of common use-cases and the suggested alternatives going forward.

In the examples below we follow best practice by using the Spring Security lambda DSL and the method HttpSecurity#authorizeHttpRequests to define our authorization rules. If you are new to the lambda DSL you can read about it in this blog post. If you would like to learn more about why we choose to use HttpSecurity#authorizeHttpRequests you can check out the reference documentation

Spring Security 5.7.0-M2 released

Releases | Eleftheria Stein-Kousathana | February 21, 2022 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce the release of Spring Security 5.7.0-M2.

You can find the complete list of dependency updates, bug fixes and enhancements in the release notes.

Among the enhancements you will find we have deprecated the WebSecurityConfigurerAdapter. For additional details you can check out this blog post on the future of Spring Security without the WebSecurityConfigurerAdapter.

We look forward to hearing your feedback.

Project Site | Reference | Help

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