-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Spring Boot 4.0 Configuration Changelog
Configuration property changes between 3.5.7-SNAPSHOT and 4.0.0-SNAPSHOT
| Key | Replacement | Reason |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Key | Default value | Description |
|---|---|---|
|
Whether to enable console-based logging. |
|
|
|
Whether to enable MongoDB health check. |
|
|
Whether to enable Mongo client command metrics. |
|
|
Whether to enable Mongo connection pool metrics. |
|
Meters that should be ignored when recoding observations. |
|
|
|
Method used to compress the payload. |
|
|
Connect timeout for the OTel collector connection. |
|
Whether auto-configuration of logging is enabled to export logs over OTLP. |
|
|
URL to the OTel collector’s HTTP API. |
|
|
Custom HTTP headers you want to pass to the collector, for example auth headers. |
|
|
|
Call timeout for the OTel Collector to process an exported batch of data. |
|
|
Transport used to send the logs. |
|
|
Whether it should be attempted to create a metric descriptor before writing a time series. |
|
|
Whether auto-configuration of tracing is enabled to export and propagate traces. |
|
|
Maximum size of the static resource cache. |
|
|
Whether initialization should continue when an error occurs when applying a schema script. |
|
|
Representation to use when converting a BigDecimal. |
|
Static list of "host:port" pairs to use, at least one entry is required. |
|
|
||
|
||
|
API key for authentication with Elasticsearch. |
|
|
|
Whether the sniffer is enabled. |
|
Locations of callbacks. |
|
|
PowerShell executable to use for running PowerShell scripts. |
|
|
|
Preferred JSON mapper to use. |
|
Default connect timeout for a client HTTP request. |
|
|
Default factory used for a client HTTP request. |
|
|
Default connector used for a client HTTP request. |
|
|
Default read timeout for a client HTTP request. |
|
|
Handling for HTTP redirects. |
|
|
SSL bundle to use. |
|
|
|
Preferred JSON mapper to use for HTTP encoding and decoding. |
|
|
Charset to use for String conversion. |
|
HTTP Service Client definitions |
|
|
|
Whether initialization should continue when an error occurs when applying a schema script. |
|
Jackson on/off token reader features that are specific to CBOR. |
|
|
Jackson on/off token writer features that are specific to CBOR. |
|
|
Jackson on/off features for DateTimes. |
|
|
|
Whether to find and add modules to the auto-configured JsonMapper.Builder using MapperBuilder.findAndAddModules(ClassLoader). |
|
Jackson on/off token reader features that are specific to JSON. |
|
|
Jackson on/off token writer features that are specific to JSON. |
|
|
|
Whether to configure Jackson 3 with the same defaults as Spring Boot previously used for Jackson 2. |
|
|
Strategy to use to auto-detect constructor, and in particular behavior with single-argument constructors. |
|
Jackson on/off features for enums. |
|
|
Jackson on/off features for JsonNodes. |
|
|
Date format string or a fully-qualified date format class name. |
|
|
Global default setting (if any) for leniency. |
|
|
Controls the inclusion of properties during serialization. |
|
|
Jackson on/off features that affect the way Java objects are deserialized. |
|
|
Jackson on/off features for generators. |
|
|
Locale used for formatting. |
|
|
Jackson general purpose on/off features. |
|
|
Jackson on/off features for parsers. |
|
|
One of the constants on Jackson’s PropertyNamingStrategies. |
|
|
Jackson on/off features that affect the way Java objects are serialized. |
|
|
Time zone used when formatting dates. |
|
|
Jackson visibility thresholds that can be used to limit which methods (and fields) are auto-detected. |
|
|
|
Jitter value for the base retry attempt, randomly subtracted or added to the calculated delay, resulting in a value between 'delay - jitter' and 'delay + jitter' but never below the base delay or above the max delay. |
|
Additional server hosts. |
|
|
Authentication database name. |
|
|
Database name. |
|
|
Mongo server host. |
|
|
Login password of the mongo server. |
|
|
Mongo server port. |
|
|
|
Protocol to be used for the MongoDB connection. |
|
Required replica set name for the cluster. |
|
|
|
Representation to use when converting a UUID to a BSON binary value. |
|
SSL bundle name. |
|
|
Whether to enable SSL support. |
|
|
|
Mongo database URI. |
|
Login user of the mongo server. |
|
|
Default version that should be used for each request. |
|
|
Whether supported versions should be detected from controllers. |
|
|
Whether the API version is required with each request. |
|
|
Supported versions. |
|
|
Use the HTTP header with the given name to obtain the version. |
|
|
Use the media type parameter with the given name to obtain the version. |
|
|
Use the path segment at the given index to obtain the version. |
|
|
Use the query parameter with the given name to obtain the version. |
|
|
|
Whether to enable the PersistenceExceptionTranslationPostProcessor. |
|
|
Whether initialization should continue when an error occurs when applying a schema script. |
|
|
Preferred JSON and CBOR mapper to use. |
|
|
Charset of HTTP requests and responses. |
|
|
Whether to enable Servlet HTTP encoding support. |
|
Whether to force the encoding to the configured charset on HTTP requests and responses. |
|
|
Whether to force the encoding to the configured charset on HTTP requests. |
|
|
Whether to force the encoding to the configured charset on HTTP responses. |
|
|
|
Cron expression for expired session cleanup job. |
|
|
The configure action to apply when no user-defined ConfigureRedisAction or ConfigureReactiveRedisAction bean is present. |
|
|
Sessions flush mode. |
|
|
Namespace for keys used to store sessions. |
|
|
Type of Redis session repository to configure. |
|
|
Sessions save mode. |
|
|
Whether initialization should continue when an error occurs when applying a schema script. |
|
|
Whether to cancel remaining tasks on close. |
|
|
Whether metrics export should be auto-configured in tests. |
|
|
Whether tracing export should be auto-configured in tests. |
|
Default version that should be used for each request. |
|
|
Whether supported versions should be detected from controllers. |
|
|
Whether the API version is required with each request. |
|
|
Supported versions. |
|
|
Use the HTTP header with the given name to obtain the version. |
|
|
Use the media type parameter with the given name to obtain the version. |
|
|
Use the path segment at the given index to obtain the version. |
|
|
Use the query parameter with the given name to obtain the version. |
| Key | Replacement | Reason |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
Deprecated in Micrometer 1.15.0 |
|
|
||
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
Wavefront is end-of-life. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Deprecated in Flyway 10.18 and removed in Flyway 11.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Partially replaced by 'spring.jackson.json.read'. |
|
|
Partially replaced by 'spring.jackson.json.write'. |
|
|
|
|
|
|
|
|
||
|
||
|
||
|
||
|
||
|
|
|
|
Use 'management.metrics.enable' to restrict certain metrics. |
|
|
||
|
||
|
||
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Superseded by 'spring.test.metrics.export' and 'spring.test.tracing.export'. |