BT

InfoQ Homepage News Spring Boot 2.0 Nears GA

Spring Boot 2.0 Nears GA

Bookmarks

The General Availability (GA) release of Spring Boot version 2.0 came a step closer with the announcement of release candidate 1 (RC1) on January 31st.

The countdown is now in its final stages, with GA currently planned in the next few weeks. Even at this late stage some noteworthy additions are still being released alongside a large number of issues being resolved and pull requests being merged (an impressive total of 314).

Many configuration properties have been renamed or removed, and developers will need to update their application.properties or application.yml accordingly. To ease migration, a spring-boot-properties-migrator project has been created with the goal of easing the pain of migration. When added as a dependency to a legacy project it analyzes the application’s environment, prints diagnostics at startup, and also temporarily migrates the properties to their new configuration.

One of the key innovations Spring Boot introduced to Java programming was embedding a servlet container within the executable JAR that an application is packaged in. Spring Boot offers Tomcat, Undertow and Jetty as options in this area. With the advent of HTTP/2 previous milestone releases of Spring Boot had already added support for the protocol to Tomcat and Undertow. With RC1, Jetty now also supports HTTP/2, with native TLS support provided via Google's Conscrypt library. This is significant, as Spring Boot’s default server, Tomcat 8.5.x. only supports HTTP/2 if the libtcnative library and its dependencies are installed on the host operating system.

For observability, Micrometer integration has been enhanced. RabbitMQ, JVM threads and Garbage Collection (GC) metrics are now automatically instrumented, and asynchronous controllers are also now instrumented. An InfluxDB server can now also be monitored via the health endpoint.

On the data side, it is also now possible to customize the properties Hibernate uses in a more fine-grained way. A RedisCacheConfiguration can be exposed to take control over the RedisCacheManager, and the Flyway and Liquibase configuration is now more flexible. GSON support has been greatly enhanced, thanks to an external contribution.

A big attention-getter has been the highly popular Spring Boot banners -- ASCII graphics that are streamed to stdout on startup -- which earned popularity as a means for development teams to stamp their own brand on an application. In this Spring Boot 2 does not disappoint, for it now supports animated GIFs, as this live demo at SpringOne Platform 2017 shows.

Details of other release features are available on the release notes. Stéphane Nicoll‏, Spring Boot committer at Pivotal, tweeted that RC2 is scheduled for February 20th. Barring any delays, 2.0 GA is then scheduled for release a week later. The full release schedule can be viewed here.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • External contribution

    by Stephane Nicoll /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    > what has been intriguingly described as 'an external contribution'.

    It means someone from the community contributed the feature via a pull request.

  • You know when it's time to run

    by C Curl /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    "In this Spring Boot 2 does not disappoint, for it now supports animated GIFs"

  • Re: External contribution

    by Daniel Bryant /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Thanks Stephane -- I'm not sure why Tim was intrigued by this wording, but I've now modified the text slightly to make it sound less dramatic :-)

    BTW -- we would be very keen if you or one of the team wanted to contribute a full-length article on the Spring Boot 2 release!

    Best wishes,

    Daniel

    InfoQ News Manager

  • Re: You know when it's time to run

    by Mark N /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Run? Why?

    If you've been following this saga, you know it was really a "joke".

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.