close

Madhura Bhave

Madhura Bhave

Spring Boot Developer

San Francisco, CA

Blog Posts by Madhura Bhave

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

Spring Boot 2.2.0 RC1 has been released!

On behalf of the team and everyone that contributed, I am pleased to announce that the release candidate for Spring Boot 2.2.0 is available from our milestone repository. This release contains 130 issues and pull requests.

For a complete list of changes and upgrade instructions, please see the Spring Boot 2.2 Release Notes on the wiki and the updated reference documentation.

We plan to make Spring Boot 2.2 generally-available in mid-October. Now is a great time to try out Spring Boot 2.2 and provide feedback so that we can try and fix things before GA. If you want to get started with 2.2 and try out the new features, you can bootstrap a new project on https://start.spring.io.

Read more...

It is time - Goodbye Spring Boot 1.x!

As mentioned in the announcement last year, the Spring Boot 1.x line has reached end of life. Spring Boot 1.5.22 which was released earlier today will be the last release in the 1.x. line.

We expect most users to have upgraded their applications to Spring Boot 2.x. For those that haven’t migrated yet, we strongly advise doing so as soon as possible. There are detailed instructions on how to migrate from 1.x to 2.x in the migration guide. For a smooth upgrade experience, we recommend upgrading in phases instead of jumping straight to the latest stable release. Once the upgrade from the latest 1.5.x version to the latest 2.0.x version is complete, you should upgrade to the latest release in the 2.1.x line.

Read more...

Spring Boot 2.0.9 Released

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

This is a maintenance release that includes almost 40 dependency updates and selected bug fixes.

This is the last release in 2.0 line. Please consider upgrading to Spring Boot 2.1 if you haven’t already done so.

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

What's new with Spring Initializr

The quickest way to generate Spring Boot projects is through start.spring.io. The site provides a curated list of dependencies that you can add to your application based on the selected Spring Boot version. You can also choose the language, build system and JVM version for the project. Over the years, the popularity of start.spring.io as the tool for generating Spring projects has grown exponentially and millions of projects are generated every year using the site.

For the past few months, we’ve been working on a complete overhaul of the project generation API. To better understand the motivation behind this, take a look at the project structure below:
Old Structure

Read more...

Spring Boot 2.0.8 Released

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

This release includes 35 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.1.1 available now

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

This release contains almost 70 closed issues and pull requests which include bug fixes, documentation updates and dependency upgrades. Thanks to everyone who 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...