close

Madhura Bhave

Madhura Bhave

Spring Boot Developer

San Francisco, CA

Blog Posts by Madhura Bhave

Spring Boot 2.6 is now available

On behalf of the Spring Boot team and everyone that has contributed, I am pleased to announce that Spring Boot 2.6.0 has been released and is available from Maven Central.

This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.

What’s new in 2.6

  • Support for SameSite attributes on session cookies for servlet applications
  • Support for configuring health groups on the main or management port
  • Enhanced /info endpoint with Java Runtime information
  • Support for testing Spring MVC using WebTestClient
  • Auto-configuration for spring-rabbit-stream
  • Support for pluggable rules for sanitizing properties in /env and configprops
Read more...

Spring Boot 2.6.0-M2 is now available

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

This release includes more than a 100 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.

Read more...

Spring Boot 2.5.1 is now available

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

This release includes about 70 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.

Read more...

Spring Boot 2.5 is now GA

Update 2021-05-25: The release contains fixes for Spring Framework CVE-2021-22118.

On behalf of the Spring Boot team and everyone that has contributed, I am pleased to announce that Spring Boot 2.5.0 has been released and is available from Maven Central.

This release adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.

What’s new in 2.5

  • Support for Java 16
  • Support for Gradle 7
  • Enhanced Docker image building
  • New mechanism for Datasource initialization
Read more...

Making the most of available resources for Spring Boot

Whether you’re a long time user of Spring Boot or just getting started with it, there are numerous resources out there that you can leverage. Knowing what’s available for your specific need is not always obvious and this blog post is aimed toward helping you to navigate through these resources.

Learning

Reference Documentation

As a software developer, you probably already know that reading any project’s documentation can help you save a lot of time and effort. The Spring Boot reference documentation is a comprehensive document containing everything you need to know about Spring Boot. It is available in multiple formats, multi-page HTML, single-page HTML, and PDF. You can choose the one that suits your needs. The documentation is versioned, with current pointing to the latest GA release. Be sure to read the documentation of the version that you are currently on. For example, if you’re on Spring Boot 2.3.8, the reference documentation would be available at https://docs.spring.io/spring-boot/docs/2.3.8.RELEASE/reference/htmlsingle/.

Spring Boot builds on a number of other projects, each with their own reference documentation. You can find a complete list of these projects and their documentation here.

Spring Guides

The reference documentation is information-oriented and while it contains a wealth of information, it can be a bit overwhelming for newcomers. If you’re looking to get started with Spring Boot or try out specific real-world scenarios, Spring Guides provide a curated list of hands-on instructions that you can follow.

Read more...

Spring Boot 2.5.0-M1 available now

On behalf of the team and everyone that contributed, I am pleased to announce that the first milestone of Spring Boot 2.5 has been released and is available from our milestone repository. This release closes over 130 issues and pull requests.

Highlights of this first milestone include:

  • Support for GET requests to the startup endpoint
  • Security improvements to the info endpoint
  • Preliminary support for Java 16
  • Spring Integration 5.5.0 M1
  • Spring Data 2021.0.0 M1
  • Spring Security 5.5.0 M1
  • Spring Session 2021.0.0 M1
  • Spring HATEOAS 1.3.0 M1
  • Numerous other dependency upgrades
Read more...

Creating Efficient Docker Images with Spring Boot 2.3

This is an update to the original blog post about creating docker images with Spring Boot 2.3.
There were a few things related to image creation that changed between the first milestone of Spring Boot 2.3 and the GA release.

The two new features introduced in Spring Boot 2.3 to help improve image creation techniques were: layered jars and buildpack support.

Layered Jars

The layered jar feature evolved quite a bit as we started adding support for custom layers. While the need to express layers that the jar should be split into for image creation was evident, changing the format of the jar to do so no longer seemed necessary.
Spring Boot 2.3 includes support for layering a jar using a layers.idx file. The layers index file provides a list of layers and the parts of the jar that should be contained within them. Layers are written in the order that they should be added to the Docker/OCI image.

Read more...

Spring Boot 2.3.0.M1 is now available

On behalf of the team and everyone that contributed, I am pleased to announce that the first milestone of Spring Boot 2.3 has been released and is available from our milestone repository. This release closes 167 issues and pull requests.

Highlights of this first milestone include:

Read more...

Spring Boot 2.1.11 is now available

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

This release includes 53 fixes, 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.

Read more...

Spring Boot 2.2.1 available now

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

This release includes 110 fixes, improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

For those of you upgrading from Spring Boot 2.2.0 to Spring Boot 2.2.1, if you relied on the @ConfigurationProperties scanning support, please note that this feature is now disabled by default. Scanning of @ConfigurationProperties needs to be explicitly opted into by adding the @ConfigurationPropertiesScan annotation. More details related to this change can be found here.

Read more...