520 things this year is really much, we don’t care about entertainment, with DD together to see the release of Spring Boot 2.5.0! See what exciting new features and changes are coming!
The main updates
- Support of Java
- Support Gradle 7
- Support the Jetty 10
- Enhanced Docker image building
- Updated the Datasource initialization mechanism
In addition to the framework feature update, this release is also in keeping with The Times in terms of documentation, adding support for Dark mode!
It looks like this. Is that your favorite way to read?
Other updates
management.endpoints.web.cors.allowed-origin-patterns
The configuration can be used to control whether the Actuator endpoints are allowed to access across domainsHttpSessionIdListener
Now start registering automatically into the Servlet context- Couchbase now uses automated configuration by default
ObjectMapper
- The Elasticsearch
Sniffer
Depending on whether the classpath existselasticsearch-rest-client-sniffer
Module to automatically configure spring.data.cassandra.controlconnection.timeout
You can now configure connection timeout control for Cassandraspring.kafka.listener.only-log-record-metadata
It can now be used to configure the metadata to be logged at retry time- Support Apache Phoenix, automatic detection
jdbc:phoenix
Such a JDBC link configuration /actuator
The discovery page is now available throughmanagement.endpoints.web.discovery.enabled
Configure to disable/actuator/configprops
andactuator/env
Endpoints are now availableadditional-keys-to-sanitize
To configure keys that are not displayed- If you want to customize the ENDpoints of JMX, use it
EndpointObjectNameFactory
- Spring Security is automatically configured and bound when it is available on the classpath
RSAPublicKey
andRSAPrivateKey
- Of the RabbitMQ
ConnectionFactory
Now you can go throughConnectionFactoryCustomizer
To implement customization CloudPlatform
Azure App Service can now be automatically detectedserver.tomcat.keep-alive-timeout
Can be used to configure how long Tomcat waits for another request before closing the keep-alive connection.server.tomcat.max-keep-alive-requests
Can be used to control the maximum number of requests that can be held until a keep-alive connection is closed.spring.webflux.session.cookie.same-site
The SameSite cookie policy used to configure WebFlux, which defaults to LAX- Apache HttpCient 5 is now the default automated configuration using WebClient
Dependent component version
Spring Boot 2.5 has updated the versions of various dependent components, as listed below:
- Spring Data 2021.0
- Spring bases for 1.3
- Spring Integration 5.5
- Spring Kafka 2.7
- Spring Retry 1.3
- Spring Security 5.5
- The Spring Session 2021.0
Here is a list of versions of third-party dependencies:
- Kotlin 1.5
- Groovy 3.0
- Flyway 7.7
- Liquibase 4.2
- Jackson 2.12
- Kafka 2.7
- Cassandra Driver 4.10
- Embedded Mongo 3.0
- Hibernate Validator 6.2
- Jersey 2.33
- Mockito 3.7
- Directing a 4.2
- JUnit 5.7 Jupiter
- Elasticsearch 7.12
Deprecated content
The following is a list of deprecated content for Spring Boot 2.5.
- The original is located in
org.springframework.boot.actuate.endpoint.http
Under the bagActuatorMediaType
andApiVersion
It’s integrated and moved toorg.springframework.boot.actuate.endpoint
Under the bag.
-
The callback interfaces and configurations of some of the providers originally used to implement jOOQ are deprecated starting with this release. Back to use org. Springframework. Boot. Autoconfigure. Jooq. DefaultConfigurationCustomizer instead.
-
The original is located in the org. Springframework. Boot. Autoconfigure. Data. The jpa package under EntityManagerFactoryDependsOnPostProcessor moves to org. Springframework. Bo Ot. Autoconfigure. Orm. Jpa package
More information about Spring Boot 2.5.0 can be found on the official page. Click through to this free tutorial that has been updated for years
Welcome to pay attention to my public account: program ape DD, share the outside can not see the dry goods and thinking!