From 083a0a68afac5a4efedb969eb296e4de10986014 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 13 Nov 2025 15:17:29 +0000 Subject: [PATCH] Polish "Add since to deprecations in config metadata JSON files" This restores properties that were accidentally removed in the changes for gh-48122. --- .../additional-spring-configuration-metadata.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/module/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index ae3c7fc7f29..4d50d5d2d44 100644 --- a/module/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -44,10 +44,20 @@ } }, { - "name": "management.endpoints.jackson.isolated-object-mapper", + "name": "management.endpoints.jackson.isolated-json-mapper", + "type": "java.lang.Boolean", + "description": "Whether to use an isolated JsonMapper to serialize endpoint JSON.", + "defaultValue": true + }, + { + "name": "management.endpoints.jackson2.isolated-object-mapper", "type": "java.lang.Boolean", "description": "Whether to use an isolated object mapper to serialize endpoint JSON.", - "defaultValue": true + "defaultValue": true, + "deprecation": { + "reason": "Jackson 3 is preferred.", + "since": "4.0.0" + } }, { "name": "management.endpoints.jmx.domain",