Release Notes for Spring Boot 2.3
For use with Spring Boot 2.3.6
Date of release: 2021-02-02
Providing feedback on Red Hat documentation
We appreciate your feedback on our documentation. To provide feedback, you can highlight the text in a document and add comments.
This section explains how to submit feedback.
- You are logged in to the Red Hat Customer Portal.
- In the Red Hat Customer Portal, view the document in Multi-page HTML format.
To provide your feedback, perform the following steps:
Click the Feedback button in the top-right corner of the document to see existing feedback.Note
The feedback feature is enabled only in the Multi-page HTML format.
- Highlight the section of the document where you want to provide feedback.
Click the Add Feedback pop-up that appears near the highlighted text.
A text box appears in the feedback section on the right side of the page.
Enter your feedback in the text box and click Submit.
A documentation issue is created.
- To view the issue, click the issue tracker link in the feedback view.
Chapter 1. Required Infrastructure Component Versions
Red Hat does not provide support for components listed below, with the exception of components explicitly designated as supported.
Fabric8 Maven Plugin
OpenJDK 8, OpenJDK 11[c]
Red Hat Enterprise Linux 7[d]
Red Hat Enterprise Linux 8[e]
OpenShift Container Platform (OCP)[f]
1.34.2 or later
2.0 or later
oc command line tool
3.11 or later[h]
[a] A full JDK installation is required, as JRE does not provide tools for compiling Java applications from source.
[b] Red Hat OpenJDK is supported by Red Hat
[c] OpenJDK 9 is not supported by Red Hat.
[d] For deploying applications based on CNR on stand-alone RHEL in a production environment.
[e] For deploying applications based on CNR on stand-alone RHEL in a production environment.
[f] OCP is supported by Red Hat
[g] CDK is supported by Red Hat
[h] The version of the
Chapter 2. Supported Spring Boot Runtime Component Configurations and Integrations
The following resource defines the supported configurations and integrations of Red Hat products with Spring Boot:
- For a list of technologies that are supported for integration with Spring Boot in production environments see the Supported Spring Boot configurations and integrations.
- For a list of Maven artifacts that Red Hat provides support for in Spring Boot 2.3.6 see the corresponding section of the component details overview.
Chapter 3. Features
3.1. New and Changed features
3.1.1. Deploying example applications on OpenShift provisioned on IBM Power Systems infrastructure
To deploy the example applications on OpenShift environments provisioned on IBM Power Systems infrastructure, specify the relevant IBM Power Systems image name in the
pom.xml file and commands.
Some of the example applications also require other products, such as Red Hat Data Grid to demonstrate the workflows. In this case, you must also change the image names of these products to their relevant IBM Power Systems image names in the YAML file of the example applications.
3.1.2. New Spring Boot OAuth2 Client and Resource Server Starters
A tested and verified build of OAuth2 Spring Security Starters replaces the Spring Boot Keycloak Starter included with previous Spring Boot releases. The set of new Starters introduced in this release includes the Spring Security OAuth2 Client Starter and the Spring Security OAuth2 Resource Server Starter. Both of the new Starters are supported by Red Hat.
3.1.3. Support for OpenJDK 8 and OpenJDK 11 RHEL 8 Universal Base Images (UBI8)
Spring Boot 2.3 introduces support for building and deploying Spring Boot applications to OpenShift with OCI-compliant Universal Base Images for Red Hat OpenJDK 8 and Red Hat OpenJDK 11 on RHEL 8. The RHEL 8 OpenJDK Universal Base Images replace the RHEL 8 OpenJDK builder images supported by Red Hat for use with earlier releases of Red Hat Build of Spring Boot. The previously supported RHEL 8 OpenJDK base images are no longer supported for use with Red Hat Build of Spring Boot.
3.1.4. Dekorate version upgraded to 1.0.3
In Spring Boot 2.3, the version of Dekorate included with the Spring Boot BOM is upgraded to 1.0.3.
3.1.5. Spring Boot metering labels for OpenShift
You can add metering labels to your Spring Boot pods and check Red Hat subscription details with the OpenShift Metering Operator.
Do not add metering labels to any pods that an operator deploys and manages.
Spring Boot should use the following metering labels:
See Metering documentation for more information.
For more information on labels, see Understanding how to update labels on nodes.
3.1.6. Support for Spring Boot Runtime on IBM Power Systems
The Red Hat support for Spring Boot for ppc64le platform is supported only in OpenShift environments provisioned on IBM Power Systems infrastructure. Running an Spring Boot application on a stand-alone installation of RHEL on IBM Power Systems is not supported.
OpenJ9 Java images for IBM Power Systems and new images for products supported on IBM Power Systems are available in the Red Hat Container Catalog.
3.2. Deprecated features
No features or functionalities are marked as deprecated in this release.
3.3. Technology Preview
3.3.1. Dekorate build hooks for deploying Spring Boot applications to OpenShift Container Platform
You can use Dekorate to configure a Source-to-image build of your application that starts automatically after you compile your application with Maven. This functionality is provided as Technology Preview in Dekorate version 1.0.0 and later. Red Hat does not provide support for using this functionality in a production environment.
Chapter 4. Release components
For a complete list of release components included in this release, and for information about the current support status of these components, see the Spring Boot 2.3.6 component details overview.
Chapter 5. Fixed issues
This Spring Boot release incorporates all bugfixes from the upstream release. Issues resolved in the community release are listed in the Spring Boot 2.3.6 Release Notes.
Chapter 6. Known Issues
Red Hat AMQ Streams images are not available for IBM Z and IBM Power Systems
The Red Hat AMQ Streams Operator and Kafka images are not available for IBM Z and IBM Power Systems. Since the images are not available, the starter
vertx-spring-boot-starter-kafkais not certified to work with AMQ Streams on IBM Z and IBM Power Systems.
ENTSBT-850: Spring Boot Validation Starter Exception: Package
javax.validation.constraintsdoes not exist.
SB-379: Missing APR/native library in the
SB-1165: Database application fails to run because
org.apache.tomcat.jdbc.pool.DataSourcecan not be found.
- ENTSBT-202: Mutual TLS authentication in Spring Boot Webflux AMQP does not work.
ENTSBT-366: Infinispan Hotrod Client Starter:
org.infinispan.client.hotrod.exceptions.HotRodClientException:: ISPN004034: Unable to unmarshall byteswhen the
infinispan.remote.java-serial-whitelist=<your_class_name>property is not set in
ENTSBT-367: Remote communication between Red Hat Spring Boot 2.3.6 with Infinispan/Red Hat Data Grid 7.3 does not work without setting the
ENTSBT-912: Examples applications not supported on OpenShift Container Platform 4.x.
The Spring Boot runtime provides example applications, which are accessed on Developer Launcher. These example applications are not supported on OpenShift Container Platform 4.x.