Spring Boot 2.2.0 officially released, support for Java 13

Spring Boot 2.2.0 officially released, from  repo.spring.io  or  Maven Central  acquisition.

Performance improvements

Spring Boot 2.2.0 The performance was greatly improved. Now, the application starts faster and less memory consumption. This is particularly useful in an environment with very strict constraints in memory.

Lazy Initialization

You can now enable global initialization delay by spring.main.lazy-initialization property to reduce start-up time. However, to use this feature need to pay a certain price:

  • During any initialization delay processing HTTP requests may take longer
  • Failure usually happens when it starts now appear after startup

Support for Java 13

Spring Boot 2.2 now supports Java 13, while still compatible with Java 11 and 8.

Immutable binding @ConfigurationProperties

Configuration Properties now supports binding constructor, so that the binding @ConfigurationProperties immutable class annotated. Binding can be enabled by using the function based on the configuration @ConfigurationProperties @ConstructorBinding one class constructor or a comment. @DefaultValue and comments can be used in such @DateTimeFormat constructor parameters provide binding properties.

RSocket support

RSocket has been added to a wide range of automatic configuration, and the new launcher spring-boot-starter-rsocket. When the spring-security-rsocket on the classpath, will automatically configure RSocket integrating Spring Security.

The remaining specific update, see announcement .

Guess you like

Origin www.oschina.net/news/110615/spring-boot-2-2-0-released