Configuration property changes between `4.0.0-M3` and `4.0.0-RC1`



== Deprecated in 4.0.0-RC1

|======================
| Key | Replacement | Reason

| `spring.http.client.connect-timeout`
| `spring.http.clients.connect-timeout`
|

| `spring.http.client.factory`
| `spring.http.clients.imperative.factory`
|

| `spring.http.client.read-timeout`
| `spring.http.clients.read-timeout`
|

| `spring.http.client.redirects`
| `spring.http.clients.redirects`
|

| `spring.http.client.ssl.bundle`
| `spring.http.clients.ssl.bundle`
|

| `spring.http.reactiveclient.connect-timeout`
| `spring.http.clients.connect-timeout`
|

| `spring.http.reactiveclient.connector`
| `spring.http.clients.reactive.connector`
|

| `spring.http.reactiveclient.read-timeout`
| `spring.http.clients.read-timeout`
|

| `spring.http.reactiveclient.redirects`
| `spring.http.clients.redirects`
|

| `spring.http.reactiveclient.ssl.bundle`
| `spring.http.clients.ssl.bundle`
|
|======================



== Added in 4.0.0-RC1

|======================
| Key | Default value | Description

| `spring.batch.jdbc.continue-on-error`
| `true`
| Whether initialization should continue when an error occurs when applying a schema script.

| `spring.data.redis.masterreplica.nodes`
|
| Static list of "host:port" pairs to use, at least one entry is required.

| `spring.elasticsearch.restclient.sniffer.enabled`
| `true`
| Whether the sniffer is enabled.

| `spring.graphql.rsocket.preferred-json-mapper`
| `jackson`
| Preferred JSON mapper to use.

| `spring.http.clients.connect-timeout`
|
| Default connect timeout for a client HTTP request.

| `spring.http.clients.imperative.factory`
|
| Default factory used for a client HTTP request.

| `spring.http.clients.reactive.connector`
|
| Default connector used for a client HTTP request.

| `spring.http.clients.read-timeout`
|
| Default read timeout for a client HTTP request.

| `spring.http.clients.redirects`
|
| Handling for HTTP redirects.

| `spring.http.clients.ssl.bundle`
|
| SSL bundle to use.

| `spring.http.codecs.preferred-json-mapper`
| `jackson`
| Preferred JSON mapper to use for HTTP encoding and decoding.

| `spring.http.serviceclient`
|
| HTTP Service Client definitions

| `spring.integration.jdbc.continue-on-error`
| `true`
| Whether initialization should continue when an error occurs when applying a schema script.

| `spring.jackson.cbor.read`
|
| Jackson on/off token reader features that are specific to CBOR.

| `spring.jackson.cbor.write`
|
| Jackson on/off token writer features that are specific to CBOR.

| `spring.jackson.datatype.datetime`
|
| Jackson on/off features for DateTimes.

| `spring.jackson.find-and-add-modules`
| `true`
| Whether to find and add modules to the auto-configured JsonMapper.Builder using MapperBuilder.findAndAddModules(ClassLoader).

| `spring.jackson.json.read`
|
| Jackson on/off token reader features that are specific to JSON.

| `spring.jackson.json.write`
|
| Jackson on/off token writer features that are specific to JSON.

| `spring.jackson.use-jackson2-defaults`
| `false`
| Whether to configure Jackson 3 with the same defaults as Spring Boot previously used for Jackson 2.

| `spring.jackson2.constructor-detector` (deprecated)
| `default`
| Strategy to use to auto-detect constructor, and in particular behavior with single-argument constructors.

| `spring.jackson2.datatype.enum` (deprecated)
|
| Jackson on/off features for enums.

| `spring.jackson2.datatype.json-node` (deprecated)
|
| Jackson on/off features for JsonNodes.

| `spring.jackson2.date-format` (deprecated)
|
| Date format string or a fully-qualified date format class name.

| `spring.jackson2.default-leniency` (deprecated)
|
| Global default setting (if any) for leniency.

| `spring.jackson2.default-property-inclusion` (deprecated)
|
| Controls the inclusion of properties during serialization.

| `spring.jackson2.deserialization` (deprecated)
|
| Jackson on/off features that affect the way Java objects are deserialized.

| `spring.jackson2.generator` (deprecated)
|
| Jackson on/off features for generators.

| `spring.jackson2.locale` (deprecated)
|
| Locale used for formatting.

| `spring.jackson2.mapper` (deprecated)
|
| Jackson general purpose on/off features.

| `spring.jackson2.parser` (deprecated)
|
| Jackson on/off features for parsers.

| `spring.jackson2.property-naming-strategy` (deprecated)
|
| One of the constants on Jackson's PropertyNamingStrategies.

| `spring.jackson2.serialization` (deprecated)
|
| Jackson on/off features that affect the way Java objects are serialized.

| `spring.jackson2.time-zone` (deprecated)
|
| Time zone used when formatting dates.

| `spring.jackson2.visibility` (deprecated)
|
| Jackson visibility thresholds that can be used to limit which methods (and fields) are auto-detected.

| `spring.mongodb.representation.uuid`
| `unspecified`
| Representation to use when converting a UUID to a BSON binary value.

| `spring.quartz.jdbc.continue-on-error`
| `true`
| Whether initialization should continue when an error occurs when applying a schema script.

| `spring.rsocket.preferred-mapper`
| `jackson`
| Preferred JSON and CBOR mapper to use.

| `spring.session.data.redis.cleanup-cron`
| `0 * * * * *`
| Cron expression for expired session cleanup job.

| `spring.session.data.redis.configure-action`
| `notify-keyspace-events`
| The configure action to apply when no user-defined ConfigureRedisAction or ConfigureReactiveRedisAction bean is present.

| `spring.session.data.redis.flush-mode`
| `on-save`
| Sessions flush mode.

| `spring.session.data.redis.namespace`
| `spring:session`
| Namespace for keys used to store sessions.

| `spring.session.data.redis.repository-type`
| `default`
| Type of Redis session repository to configure.

| `spring.session.data.redis.save-mode`
| `on-set-attribute`
| Sessions save mode.

| `spring.session.jdbc.continue-on-error`
| `true`
| Whether initialization should continue when an error occurs when applying a schema script.

| `spring.test.jsontesters.enabled`
| `true`
| Whether auto-configuration of JSON testers is enabled.

| `spring.test.metrics.export`
| `false`
| Whether metrics export should be auto-configured in tests.

| `spring.test.mockmvc.webclient.enabled`
| `true`
| Whether HTMLUnit's WebClient should be auto-configured when it's on the classpath.

| `spring.test.mockmvc.webdriver.enabled`
| `true`
| Whether Selenium's WebDriver should be auto-configured when it's on the classpath.

| `spring.test.tracing.export`
| `false`
| Whether tracing export should be auto-configured in tests.

| `spring.test.webclient.mockrestserviceserver.enabled`
| `true`
| Whether a MockRestServiceServer should be auto-configured.

| `spring.test.webclient.register-rest-template`
| `false`
| Whether a RestTemplate bean should be registered.

| `spring.test.webservice.client.mockserver.enabled`
| `true`
| Whether a MockWebServiceServer should be auto-configured.

| `spring.test.webservice.client.register-web-service-template`
| `false`
| Whether a WebServiceTemplate bean should be registered.
|======================



== Removed in 4.0.0-RC1

|======================
| Key | Replacement | Reason

| `management.observations.long-task-timer.enabled`
| `management.metrics.observations.ignored-meters`
|

| `spring.http.client.restclient.apiversion.default`
|
|

| `spring.http.client.restclient.apiversion.insert.header`
|
|

| `spring.http.client.restclient.apiversion.insert.media-type-parameter`
|
|

| `spring.http.client.restclient.apiversion.insert.path-segment`
|
|

| `spring.http.client.restclient.apiversion.insert.query-parameter`
|
|

| `spring.http.client.restclient.base-url`
|
|

| `spring.http.client.restclient.connect-timeout`
|
|

| `spring.http.client.restclient.default-header`
|
|

| `spring.http.client.restclient.factory`
|
|

| `spring.http.client.restclient.read-timeout`
|
|

| `spring.http.client.restclient.redirects`
|
|

| `spring.http.client.restclient.ssl.bundle`
|
|

| `spring.http.client.service.apiversion.default`
|
|

| `spring.http.client.service.apiversion.insert.header`
|
|

| `spring.http.client.service.apiversion.insert.media-type-parameter`
|
|

| `spring.http.client.service.apiversion.insert.path-segment`
|
|

| `spring.http.client.service.apiversion.insert.query-parameter`
|
|

| `spring.http.client.service.base-url`
|
|

| `spring.http.client.service.connect-timeout`
|
|

| `spring.http.client.service.default-header`
|
|

| `spring.http.client.service.factory`
|
|

| `spring.http.client.service.group`
|
|

| `spring.http.client.service.read-timeout`
|
|

| `spring.http.client.service.redirects`
|
|

| `spring.http.client.service.ssl.bundle`
|
|

| `spring.http.reactiveclient.service.apiversion.default`
|
|

| `spring.http.reactiveclient.service.apiversion.insert.header`
|
|

| `spring.http.reactiveclient.service.apiversion.insert.media-type-parameter`
|
|

| `spring.http.reactiveclient.service.apiversion.insert.path-segment`
|
|

| `spring.http.reactiveclient.service.apiversion.insert.query-parameter`
|
|

| `spring.http.reactiveclient.service.base-url`
|
|

| `spring.http.reactiveclient.service.connect-timeout`
|
|

| `spring.http.reactiveclient.service.connector`
|
|

| `spring.http.reactiveclient.service.default-header`
|
|

| `spring.http.reactiveclient.service.group`
|
|

| `spring.http.reactiveclient.service.read-timeout`
|
|

| `spring.http.reactiveclient.service.redirects`
|
|

| `spring.http.reactiveclient.service.ssl.bundle`
|
|

| `spring.http.reactiveclient.webclient.apiversion.default`
|
|

| `spring.http.reactiveclient.webclient.apiversion.insert.header`
|
|

| `spring.http.reactiveclient.webclient.apiversion.insert.media-type-parameter`
|
|

| `spring.http.reactiveclient.webclient.apiversion.insert.path-segment`
|
|

| `spring.http.reactiveclient.webclient.apiversion.insert.query-parameter`
|
|

| `spring.http.reactiveclient.webclient.base-url`
|
|

| `spring.http.reactiveclient.webclient.connect-timeout`
|
|

| `spring.http.reactiveclient.webclient.connector`
|
|

| `spring.http.reactiveclient.webclient.default-header`
|
|

| `spring.http.reactiveclient.webclient.read-timeout`
|
|

| `spring.http.reactiveclient.webclient.redirects`
|
|

| `spring.http.reactiveclient.webclient.ssl.bundle`
|
|

| `spring.jackson.datetime`
|
|

| `spring.jackson.generator`
|
| Partially replaced by 'spring.jackson.json.read'.

| `spring.jackson.parser`
|
| Partially replaced by 'spring.jackson.json.write'.

| `spring.jackson.read`
| `spring.jackson.json.read`
|

| `spring.jackson.write`
| `spring.jackson.json.write`
|

| `spring.neo4j.pool.metrics-enabled`
|
| Use 'management.metrics.enable' to restrict certain metrics.

| `spring.session.hazelcast.flush-mode`
|
|

| `spring.session.hazelcast.map-name`
|
|

| `spring.session.hazelcast.save-mode`
|
|

| `spring.session.mongodb.collection-name`
|
|

| `spring.session.redis.cleanup-cron`
| `spring.session.data.redis.cleanup-cron`
|

| `spring.session.redis.configure-action`
| `spring.session.data.redis.configure-action`
|

| `spring.session.redis.flush-mode`
| `spring.session.data.redis.flush-mode`
|

| `spring.session.redis.namespace`
| `spring.session.data.redis.namespace`
|

| `spring.session.redis.repository-type`
| `spring.session.data.redis.repository-type`
|

| `spring.session.redis.save-mode`
| `spring.session.data.redis.save-mode`
|

| `spring.test.observability.auto-configure`
|
| Superseded by 'spring.test.metrics.export' and 'spring.test.tracing.export'.
|======================
