Deprecated Application Properties

The following deprecated properties can be specified inside your application.properties file, inside your application.yaml file, or as command line switches. Support for these properties will be removed in a future release and should you should migrate away from them.

Spring Boot includes a useful spring-boot-properties-migrator tool to help you migrate away from deprecated properties. To use the property migrator tool, add the following dependency to your project:

  • Maven

  • Gradle

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-properties-migrator</artifactId>
	<scope>runtime</scope>
</dependency>
runtimeOnly("org.springframework.boot:spring-boot-properties-migrator")

Once added as a dependency to your project, the tool will not only analyze your application’s environment and print diagnostics at startup, but also temporarily migrate properties at runtime for you.

Remember to remove the dependency when your migration is complete.

Deprecated Actuator Properties

Name Description Default Value

management.endpoint.auditevents.enabled

Replaced by management.endpoint.auditevents.access

true

management.endpoint.beans.enabled

Replaced by management.endpoint.beans.access

true

management.endpoint.caches.enabled

Replaced by management.endpoint.caches.access

true

management.endpoint.conditions.enabled

Replaced by management.endpoint.conditions.access

true

management.endpoint.configprops.enabled

Replaced by management.endpoint.configprops.access

true

management.endpoint.env.enabled

Replaced by management.endpoint.env.access

true

management.endpoint.flyway.enabled

Replaced by management.endpoint.flyway.access

true

management.endpoint.health.enabled

Replaced by management.endpoint.health.access

true

management.endpoint.heapdump.enabled

Replaced by management.endpoint.heapdump.access

false

management.endpoint.httpexchanges.enabled

Replaced by management.endpoint.httpexchanges.access

true

management.endpoint.info.enabled

Replaced by management.endpoint.info.access

true

management.endpoint.integrationgraph.enabled

Replaced by management.endpoint.integrationgraph.access

true

management.endpoint.liquibase.enabled

Replaced by management.endpoint.liquibase.access

true

management.endpoint.logfile.enabled

Replaced by management.endpoint.logfile.access

true

management.endpoint.loggers.enabled

Replaced by management.endpoint.loggers.access

true

management.endpoint.mappings.enabled

Replaced by management.endpoint.mappings.access

true

management.endpoint.metrics.enabled

Replaced by management.endpoint.metrics.access

true

management.endpoint.prometheus.enabled

Replaced by management.endpoint.prometheus.access

true

management.endpoint.quartz.enabled

Replaced by management.endpoint.quartz.access

true

management.endpoint.sbom.enabled

Replaced by management.endpoint.sbom.access

true

management.endpoint.scheduledtasks.enabled

Replaced by management.endpoint.scheduledtasks.access

true

management.endpoint.sessions.enabled

Replaced by management.endpoint.sessions.access

true

management.endpoint.shutdown.enabled

Replaced by management.endpoint.shutdown.access

false

management.endpoint.startup.enabled

Replaced by management.endpoint.startup.access

true

management.endpoint.threaddump.enabled

Replaced by management.endpoint.threaddump.access

true

management.endpoints.enabled-by-default

Replaced by management.endpoints.access.default

management.health.probes.enabled

Replaced by management.endpoint.health.probes.enabled

false

management.signalfx.metrics.export.access-token

Deprecated in Micrometer 1.15.0

management.signalfx.metrics.export.batch-size

Deprecated in Micrometer 1.15.0

10000

management.signalfx.metrics.export.connect-timeout

Deprecated in Micrometer 1.15.0

1s

management.signalfx.metrics.export.enabled

Deprecated in Micrometer 1.15.0

true

management.signalfx.metrics.export.published-histogram-type

Deprecated in Micrometer 1.15.0

default

management.signalfx.metrics.export.read-timeout

Deprecated in Micrometer 1.15.0

10s

management.signalfx.metrics.export.source

Deprecated in Micrometer 1.15.0

management.signalfx.metrics.export.step

Deprecated in Micrometer 1.15.0

10s

management.signalfx.metrics.export.uri

Deprecated in Micrometer 1.15.0

https://ingest.signalfx.com

Deprecated JSON Properties

Name Description Default Value

spring.gson.lenient

Replaced by spring.gson.strictness

Deprecated Server Properties

Name Description Default Value

server.undertow.allow-encoded-slash

Replaced by server.undertow.decode-slash

false

Deprecated Web Properties