Skip to content

Spring Boot 1.2 Release Notes

philwebb edited this page Sep 4, 2014 · 77 revisions

Spring Boot 1.2 Release Notes (M1)

Upgrading from Spring Boot 1.1

Mongo and MongoDbFactory Beans

The MongoAutoConfiguration class will no longer register a Mongo bean if you define your own MongoDbFactory bean. Ensure that you either register a Monog bean whenever you declare your own MongoDbFactory bean, or that you only use the MongoDbFactory interface to access Mongo databases.

Renamed VanillaHealthIndicator class

The VanillaHealthIndicator class has been renamed to ApplicationHealthIndicator. Most users will not interact with the class directly, however, if you previously imported org.springframework.boot.actuate.health.VanillaHealthIndicator in your code you will need to change to org.springframework.boot.actuate.health.ApplicationHealthIndicator.

Hibernate

Mongo not a bean

Dependencies

New and Noteworthy

Version Updates

Spring 4.1

Other

Composite Any Condition

JTA Bitronix Atomikos JNDI

Spring Cloud

@JmsListener and @EnableJms applied

GSON

RedisProperties database

CLI

Install/Uninstall @Cachable

Maven plugin repackage task can be disabled

RelaxedDataBinder alais

@ConditionalOnBean support for types using String

Banner interface

JCache

spring.datasource.validation-query for DataSourceHealthIndicator

Regex in keystosanitize

AnsiOutput configured in Env

PublicMetrics DataSource Metrics

Declarative SSL with Jetty and Tomcat

@ConditionalOnProperty

JNDI DataSource

  • Consistent json for HealthIndicators *

  • SpringNameStrategy has moved (old is deprecated)

  • Gson Support

  • JNDI Support

  • XA

Clone this wiki locally