Engineering
Releases
News and Events

Spring Boot 1.4.1 and 1.3.8 Available Now

It is my pleasure to announce that Spring Boot 1.4.1 and 1.3.8 haven been released and are available now from repo.spring.io and Maven Central.

Spring Boot 1.3.8 includes 35 fixes and a selection of improvements and dependency upgrades. The first maintenance release of the 1.4 line contains over 150 fixes, improvements and 3rd party dependency updates! Thanks to all that have contributed!

What’s new?

We snuck in a few major improvements such as a new FailureAnalyzer for NoSuchBeanDefinitionException. If your code expects a bean to be present (typically via auto-configuration), you should now get a nice error message if it isn’t:

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in com.example.JdbcStore required a bean of type 'org.springframework.jdbc.core.JdbcTemplate' that could not be found.
	- Bean method 'jdbcTemplate' not loaded because @ConditionalOnSingleCandidate (types: javax.sql.DataSource; SearchStrategy: all) did not find any beans


Action:

Consider revisiting the conditions above or defining a bean of type 'org.springframework.jdbc.core.JdbcTemplate' in your configuration.

Based on your feedback, we’ve also refined the new testing support that was introduced in 1.4. Changes include:

  • @MockBean and @Qualifier can now be used together.
  • TestRestTemplate now uses your server.* properties to automatically use SSL or the configured context path.
  • @MockBean can now be used to mock a bean with a parameterized type.

What’s next?

The team is now working on the next two releases.

1.5 will have a shorter release cycle and is scheduled for late this year. It will primarily address PRs that couldn’t be processed in time for 1.4 and include some minor dependency upgrades.

2.0 will integrate Spring Framework 5 and provide auto-configuration for the new reactive infrastructure. Note that, like Spring Framework 5, Spring Boot 2.0 will require Java 8.

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 at stackoverflow.com using the spring-boot tag.

Project Page | GitHub | Issues | Documentation

comments powered by Disqus