diff --git a/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureCheck.java b/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureCheck.java index 7211718d49f..4a9528db275 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureCheck.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureCheck.java @@ -26,6 +26,7 @@ import java.nio.file.StandardOpenOption; import java.util.ArrayList; import java.util.Collections; import java.util.List; +import java.util.Map; import java.util.concurrent.Callable; import java.util.function.Supplier; import java.util.stream.Stream; @@ -42,6 +43,7 @@ import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.FileCollection; import org.gradle.api.file.FileTree; import org.gradle.api.provider.ListProperty; +import org.gradle.api.provider.MapProperty; import org.gradle.api.provider.Property; import org.gradle.api.provider.Provider; import org.gradle.api.provider.SetProperty; @@ -72,19 +74,27 @@ import org.gradle.api.tasks.VerificationException; */ public abstract class ArchitectureCheck extends DefaultTask { + static final String CONDITIONAL_ON_CLASS = "ConditionalOnClass"; + + static final String DEPRECATED_CONFIGURATION_PROPERTY = "DeprecatedConfigurationProperty"; + private static final String CONDITIONAL_ON_CLASS_ANNOTATION = "org.springframework.boot.autoconfigure.condition.ConditionalOnClass"; + private static final String DEPRECATED_CONFIGURATION_PROPERTY_ANNOTATION = "org.springframework.boot.context.properties.DeprecatedConfigurationProperty"; + private FileCollection classes; public ArchitectureCheck() { getOutputDirectory().convention(getProject().getLayout().getBuildDirectory().dir(getName())); - getConditionalOnClassAnnotation().convention(CONDITIONAL_ON_CLASS_ANNOTATION); + getAnnotationClasses().convention(Map.of(CONDITIONAL_ON_CLASS, CONDITIONAL_ON_CLASS_ANNOTATION, + DEPRECATED_CONFIGURATION_PROPERTY, DEPRECATED_CONFIGURATION_PROPERTY_ANNOTATION)); getRules().addAll(getProhibitObjectsRequireNonNull().convention(true) .map(whenTrue(ArchitectureRules::noClassesShouldCallObjectsRequireNonNull))); getRules().addAll(ArchitectureRules.standard()); - getRules().addAll(whenMainSources(() -> List - .of(ArchitectureRules.allBeanMethodsShouldReturnNonPrivateType(), ArchitectureRules - .allBeanMethodsShouldNotHaveConditionalOnClassAnnotation(getConditionalOnClassAnnotation().get())))); + getRules().addAll(whenMainSources(() -> ArchitectureRules + .beanMethods(annotationClassFor(CONDITIONAL_ON_CLASS, CONDITIONAL_ON_CLASS_ANNOTATION)))); + getRules().addAll(whenMainSources(() -> ArchitectureRules.configurationProperties( + annotationClassFor(DEPRECATED_CONFIGURATION_PROPERTY, DEPRECATED_CONFIGURATION_PROPERTY_ANNOTATION)))); getRules().addAll(and(getNullMarkedEnabled(), isMainSourceSet()).map(whenTrue(() -> Collections.singletonList( ArchitectureRules.packagesShouldBeAnnotatedWithNullMarked(getNullMarkedIgnoredPackages().get()))))); getRuleDescriptions().set(getRules().map(this::asDescriptions)); @@ -110,6 +120,10 @@ public abstract class ArchitectureCheck extends DefaultTask { return rules.stream().map(ArchRule::getDescription).toList(); } + private String annotationClassFor(String name, String defaultValue) { + return getAnnotationClasses().get().getOrDefault(name, defaultValue); + } + @TaskAction void checkArchitecture() throws Exception { withCompileClasspath(() -> { @@ -209,7 +223,7 @@ public abstract class ArchitectureCheck extends DefaultTask { @Internal abstract SetProperty getNullMarkedIgnoredPackages(); - @Internal - abstract Property getConditionalOnClassAnnotation(); + @Input + abstract MapProperty getAnnotationClasses(); } diff --git a/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureRules.java b/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureRules.java index 6c836ac3873..a6f72135850 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureRules.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/architecture/ArchitectureRules.java @@ -116,7 +116,16 @@ final class ArchitectureRules { return List.copyOf(rules); } - static ArchRule allBeanMethodsShouldReturnNonPrivateType() { + static List beanMethods(String annotationName) { + return List.of(allBeanMethodsShouldReturnNonPrivateType(), + allBeanMethodsShouldNotHaveConditionalOnClassAnnotation(annotationName)); + } + + static List configurationProperties(String annotationName) { + return List.of(allDeprecatedConfigurationPropertiesShouldIncludeSince(annotationName)); + } + + private static ArchRule allBeanMethodsShouldReturnNonPrivateType() { return methodsThatAreAnnotatedWith("org.springframework.context.annotation.Bean").should(check( "not return types declared with the %s modifier, as such types are incompatible with Spring AOT processing" .formatted(JavaModifier.PRIVATE), @@ -130,7 +139,7 @@ final class ArchitectureRules { .allowEmptyShould(true); } - static ArchRule allBeanMethodsShouldNotHaveConditionalOnClassAnnotation(String annotationName) { + private static ArchRule allBeanMethodsShouldNotHaveConditionalOnClassAnnotation(String annotationName) { return methodsThatAreAnnotatedWith("org.springframework.context.annotation.Bean").should() .notBeAnnotatedWith(annotationName) .because("@ConditionalOnClass on @Bean methods is ineffective - it doesn't prevent " @@ -374,6 +383,20 @@ final class ArchitectureRules { .allowEmptyShould(true); } + private static ArchRule allDeprecatedConfigurationPropertiesShouldIncludeSince(String annotationName) { + return methodsThatAreAnnotatedWith(annotationName) + .should(check("include a non-empty 'since' attribute", (method, events) -> { + JavaAnnotation annotation = method.getAnnotationOfType(annotationName); + Map properties = annotation.getProperties(); + Object since = properties.get("since"); + if (!(since instanceof String) || ((String) since).isEmpty()) { + addViolation(events, method, annotation.getDescription() + + " should include a non-empty 'since' attribute of @DeprecatedConfigurationProperty"); + } + })) + .allowEmptyShould(true); + } + private static ArchRule autoConfigurationClassesShouldBePublicAndFinal() { return ArchRuleDefinition.classes() .that(areRegularAutoConfiguration()) diff --git a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAdditionalSpringConfigurationMetadata.java b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAdditionalSpringConfigurationMetadata.java index 2ca87f20ae6..3e8c8d77371 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAdditionalSpringConfigurationMetadata.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAdditionalSpringConfigurationMetadata.java @@ -59,6 +59,7 @@ public abstract class CheckAdditionalSpringConfigurationMetadata extends SourceT ConfigurationPropertiesAnalyzer analyzer = new ConfigurationPropertiesAnalyzer(getSource().getFiles()); Report report = new Report(this.projectDir); analyzer.analyzeSort(report); + analyzer.analyzeDeprecationSince(report); File reportFile = getReportLocation().get().getAsFile(); report.write(reportFile); if (report.hasProblems()) { diff --git a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckManualSpringConfigurationMetadata.java b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckManualSpringConfigurationMetadata.java index 91ed37e1fb4..0f61062c3a1 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckManualSpringConfigurationMetadata.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckManualSpringConfigurationMetadata.java @@ -66,6 +66,7 @@ public abstract class CheckManualSpringConfigurationMetadata extends DefaultTask Report report = new Report(this.projectDir); analyzer.analyzeSort(report); analyzer.analyzePropertyDescription(report, getExclusions().get()); + analyzer.analyzeDeprecationSince(report); File reportFile = getReportLocation().get().getAsFile(); report.write(reportFile); if (report.hasProblems()) { diff --git a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzer.java b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzer.java index 2a1b457abb5..4e8ffbbf134 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzer.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzer.java @@ -134,6 +134,26 @@ class ConfigurationPropertiesAnalyzer { return property.get("description") != null; } + void analyzeDeprecationSince(Report report) throws IOException { + for (File source : this.sources) { + report.registerAnalysis(source, analyzeDeprecationSince(source)); + } + } + + @SuppressWarnings("unchecked") + private Analysis analyzeDeprecationSince(File source) throws IOException { + Analysis analysis = new Analysis("The following properties are deprecated without a 'since' version:"); + Map json = readJsonContent(source); + List> properties = (List>) json.get("properties"); + properties.stream().filter((property) -> property.containsKey("deprecation")).forEach((property) -> { + Map deprecation = (Map) property.get("deprecation"); + if (!deprecation.containsKey("since")) { + analysis.addItem(property.get("name").toString()); + } + }); + return analysis; + } + @SuppressWarnings("unchecked") private Map readJsonContent(File source) { return this.jsonMapperSupplier.obtain().readValue(source, Map.class); diff --git a/buildSrc/src/test/java/org/springframework/boot/build/architecture/ArchitectureCheckTests.java b/buildSrc/src/test/java/org/springframework/boot/build/architecture/ArchitectureCheckTests.java index 25000681d0b..7cb90768412 100644 --- a/buildSrc/src/test/java/org/springframework/boot/build/architecture/ArchitectureCheckTests.java +++ b/buildSrc/src/test/java/org/springframework/boot/build/architecture/ArchitectureCheckTests.java @@ -19,9 +19,11 @@ package org.springframework.boot.build.architecture; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; +import java.nio.file.NoSuchFileException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; +import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Map; @@ -42,6 +44,7 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.EnumSource; import org.springframework.boot.build.architecture.annotations.TestConditionalOnClass; +import org.springframework.boot.build.architecture.annotations.TestDeprecatedConfigurationProperty; import org.springframework.util.ClassUtils; import org.springframework.util.CollectionUtils; import org.springframework.util.FileSystemUtils; @@ -340,6 +343,16 @@ class ArchitectureCheckTests { build(gradleBuild, Task.CHECK_ARCHITECTURE_TEST); } + @Test + void whenDeprecatedConfigurationPropertyIsMissingSinceShouldFailAndWriteReport() throws IOException { + prepareTask(Task.CHECK_ARCHITECTURE_MAIN, "configurationproperties", "annotations"); + GradleBuild gradleBuild = this.gradleBuild.withDependencies(SPRING_CONTEXT) + .withDeprecatedConfigurationPropertyAnnotation(TestDeprecatedConfigurationProperty.class.getName()); + buildAndFail(gradleBuild, Task.CHECK_ARCHITECTURE_MAIN, + "should include a non-empty 'since' attribute of @DeprecatedConfigurationProperty", + "DeprecatedConfigurationPropertySince.getProperty"); + } + private void prepareTask(Task task, String... sourceDirectories) throws IOException { for (String sourceDirectory : sourceDirectories) { FileSystemUtils.copyRecursively( @@ -372,7 +385,12 @@ class ArchitectureCheckTests { try { BuildResult buildResult = gradleBuild.buildAndFail(task.toString()); assertThat(buildResult.taskPaths(TaskOutcome.FAILED)).as(buildResult.getOutput()).contains(":" + task); - assertThat(task.getFailureReport(gradleBuild.getProjectDir())).contains(messages); + try { + assertThat(task.getFailureReport(gradleBuild.getProjectDir())).contains(messages); + } + catch (NoSuchFileException ex) { + throw new AssertionError("Expected failure report not found\n" + buildResult.getOutput()); + } } catch (UnexpectedBuildSuccess ex) { throw new AssertionError("Expected build to fail but it succeeded\n" + ex.getBuildResult().getOutput(), ex); @@ -436,9 +454,18 @@ class ArchitectureCheckTests { return this; } - GradleBuild withConditionalOnClassAnnotation(String annotationName) { + GradleBuild withConditionalOnClassAnnotation(String annotationClass) { for (Task task : Task.values()) { - configureTask(task, (configuration) -> configuration.withConditionalOnClassAnnotation(annotationName)); + configureTask(task, (configuration) -> configuration + .withAnnotation(ArchitectureCheck.CONDITIONAL_ON_CLASS, annotationClass)); + } + return this; + } + + GradleBuild withDeprecatedConfigurationPropertyAnnotation(String annotationClass) { + for (Task task : Task.values()) { + configureTask(task, (configuration) -> configuration + .withAnnotation(ArchitectureCheck.DEPRECATED_CONFIGURATION_PROPERTY, annotationClass)); } return this; } @@ -498,18 +525,18 @@ class ArchitectureCheckTests { for (String dependency : this.dependencies) { buildFile.append("\n implementation ").append(StringUtils.quote(dependency)); } - buildFile.append("}\n"); + buildFile.append("\n}\n\n"); } this.taskConfigurations.forEach((task, configuration) -> { buildFile.append(task).append(" {"); - if (configuration.conditionalOnClassAnnotation() != null) { - buildFile.append("\n conditionalOnClassAnnotation = ") - .append(StringUtils.quote(configuration.conditionalOnClassAnnotation())); - } if (configuration.prohibitObjectsRequireNonNull() != null) { buildFile.append("\n prohibitObjectsRequireNonNull = ") .append(configuration.prohibitObjectsRequireNonNull()); } + if (configuration.annotations() != null && !configuration.annotations().isEmpty()) { + buildFile.append("\n annotationClasses = ") + .append(toGroovyMapString(configuration.annotations())); + } buildFile.append("\n}\n"); }); NullMarkedExtension nullMarkedExtension = this.nullMarkedExtension; @@ -536,6 +563,13 @@ class ArchitectureCheckTests { .withPluginClasspath(); } + static String toGroovyMapString(Map map) { + return map.entrySet() + .stream() + .map((entry) -> "'" + entry.getKey() + "' : '" + entry.getValue() + "'") + .collect(Collectors.joining(", ", "[", "]")); + } + private record NullMarkedExtension(Boolean enabled, Set ignoredPackages) { private NullMarkedExtension withEnabled(Boolean enabled) { @@ -548,15 +582,24 @@ class ArchitectureCheckTests { } - private record TaskConfiguration(Boolean prohibitObjectsRequireNonNull, String conditionalOnClassAnnotation) { + private record TaskConfiguration(Boolean prohibitObjectsRequireNonNull, Map annotations) { - private TaskConfiguration withConditionalOnClassAnnotation(String annotationName) { - return new TaskConfiguration(this.prohibitObjectsRequireNonNull, annotationName); + public TaskConfiguration { + if (annotations == null) { + annotations = new HashMap<>(); + } } private TaskConfiguration withProhibitObjectsRequireNonNull(Boolean prohibitObjectsRequireNonNull) { - return new TaskConfiguration(prohibitObjectsRequireNonNull, this.conditionalOnClassAnnotation); + return new TaskConfiguration(prohibitObjectsRequireNonNull, this.annotations); } + + private TaskConfiguration withAnnotation(String name, String annotationClass) { + Map map = new HashMap<>(this.annotations); + map.put(name, annotationClass); + return new TaskConfiguration(this.prohibitObjectsRequireNonNull, map); + } + } } diff --git a/buildSrc/src/test/java/org/springframework/boot/build/architecture/annotations/TestDeprecatedConfigurationProperty.java b/buildSrc/src/test/java/org/springframework/boot/build/architecture/annotations/TestDeprecatedConfigurationProperty.java new file mode 100644 index 00000000000..9ff801b7b1d --- /dev/null +++ b/buildSrc/src/test/java/org/springframework/boot/build/architecture/annotations/TestDeprecatedConfigurationProperty.java @@ -0,0 +1,49 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.springframework.boot.build.architecture.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * {@code @DeprecatedConfigurationProperty} analogue for architecture checks. + */ +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +public @interface TestDeprecatedConfigurationProperty { + + /** + * The reason for the deprecation. + * @return the deprecation reason + */ + String reason() default ""; + + /** + * The field that should be used instead (if any). + * @return the replacement field + */ + String replacement() default ""; + + /** + * The version in which the property became deprecated. + * @return the version + */ + String since() default ""; + +} diff --git a/buildSrc/src/test/java/org/springframework/boot/build/architecture/configurationproperties/DeprecatedConfigurationPropertySince.java b/buildSrc/src/test/java/org/springframework/boot/build/architecture/configurationproperties/DeprecatedConfigurationPropertySince.java new file mode 100644 index 00000000000..3cc3185dd16 --- /dev/null +++ b/buildSrc/src/test/java/org/springframework/boot/build/architecture/configurationproperties/DeprecatedConfigurationPropertySince.java @@ -0,0 +1,35 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.springframework.boot.build.architecture.configurationproperties; + +import org.springframework.boot.build.architecture.annotations.TestDeprecatedConfigurationProperty; + +public class DeprecatedConfigurationPropertySince { + + private String property; + + @TestDeprecatedConfigurationProperty(reason = "no longer used") + @Deprecated + public String getProperty() { + return this.property; + } + + public void setProperty(String property) { + this.property = property; + } + +} diff --git a/buildSrc/src/test/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzerTests.java b/buildSrc/src/test/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzerTests.java index 0d261fa51db..959ba4ad6c9 100644 --- a/buildSrc/src/test/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzerTests.java +++ b/buildSrc/src/test/java/org/springframework/boot/build/context/properties/ConfigurationPropertiesAnalyzerTests.java @@ -115,6 +115,32 @@ class ConfigurationPropertiesAnalyzerTests { .satisfies(((analysis) -> assertThat(analysis.getItems()).containsExactly("def"))); } + @Test + void analyzeDeprecatedPropertyWithMissingSince(@TempDir File tempDir) throws IOException { + File metadata = new File(tempDir, "metadata.json"); + Files.writeString(metadata.toPath(), """ + { "properties": [ + { + "name": "abc", + "description": "This is abc.", + "deprecation": { "reason": "abc reason", "since": "3.0.0" } + }, + { "name": "def", "description": "This is def." }, + { + "name": "xyz", + "description": "This is xyz.", + "deprecation": { "reason": "xyz reason" } + } + ] + }"""); + Report report = new Report(tempDir); + ConfigurationPropertiesAnalyzer analyzer = new ConfigurationPropertiesAnalyzer(List.of(metadata)); + analyzer.analyzeDeprecationSince(report); + assertThat(report.hasProblems()).isTrue(); + assertThat(report.getAnalyses(metadata)).singleElement() + .satisfies(((analysis) -> assertThat(analysis.getItems()).containsExactly("xyz"))); + } + @Test void writeEmptyReport(@TempDir File tempDir) throws IOException { assertThat(writeToFile(tempDir, new Report(tempDir))).hasContent("No problems found."); diff --git a/core/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1ebc87bf4e8..34a5b9630c2 100644 --- a/core/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/core/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -36,7 +36,8 @@ "description": "Resource reference to a generated git info properties file.", "deprecation": { "replacement": "spring.info.git.location", - "level": "error" + "level": "error", + "since": "1.4.0" } }, { @@ -58,7 +59,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.add-mappings", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -66,7 +68,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.cache-private", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -74,7 +77,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.cache-public", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -82,7 +86,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.max-age", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -90,7 +95,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.must-revalidate", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -98,7 +104,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.no-cache", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -106,7 +113,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.no-store", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -114,7 +122,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.no-transform", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -122,7 +131,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.proxy-revalidate", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -130,7 +140,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.s-max-age", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -138,7 +149,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.stale-if-error", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -146,7 +158,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.web.resources.cache.cachecontrol.stale-while-revalidate", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -154,7 +167,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.web.resources.cache.period", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -162,7 +176,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.cache.use-last-modified", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -170,7 +185,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.cache", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -178,7 +194,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.compressed", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -186,7 +203,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.enabled", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -194,14 +212,16 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.compressed", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { "name": "spring.resources.chain.html-application-cache", "type": "java.lang.Boolean", "deprecation": { - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -209,7 +229,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.strategy.content.enabled", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -217,7 +238,8 @@ "type": "java.lang.String[]", "deprecation": { "replacement": "spring.web.resources.chain.strategy.content.paths", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -225,7 +247,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.web.resources.chain.strategy.fixed.enabled", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -233,7 +256,8 @@ "type": "java.lang.String[]", "deprecation": { "replacement": "spring.web.resources.chain.strategy.fixed.paths", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -241,7 +265,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.web.resources.chain.strategy.fixed.version", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -249,7 +274,8 @@ "type": "java.lang.String[]", "deprecation": { "replacement": "spring.web.resources.static-locations", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { diff --git a/core/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json b/core/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json index 3670d8af1ef..a10774c5626 100644 --- a/core/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json +++ b/core/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json @@ -9,8 +9,9 @@ { "name": "spring.test.observability.auto-configure", "deprecation": { + "level": "error", "reason": "Superseded by 'spring.test.metrics.export' and 'spring.test.tracing.export'.", - "level": "error" + "since": "4.0.0" } }, { diff --git a/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 26d63493f92..3afaffa0cdd 100644 --- a/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/core/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -48,7 +48,8 @@ "description": "Log file name (for instance, `myapp.log`). Names can be an exact location or relative to the current directory.", "deprecation": { "replacement": "logging.file.name", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -58,7 +59,8 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": false, "deprecation": { - "replacement": "logging.logback.rollingpolicy.clean-history-on-start" + "replacement": "logging.logback.rollingpolicy.clean-history-on-start", + "since": "2.4.0" } }, { @@ -68,7 +70,8 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": 7, "deprecation": { - "replacement": "logging.logback.rollingpolicy.max-history" + "replacement": "logging.logback.rollingpolicy.max-history", + "since": "2.4.0" } }, { @@ -78,7 +81,8 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": "10MB", "deprecation": { - "replacement": "logging.logback.rollingpolicy.max-file-size" + "replacement": "logging.logback.rollingpolicy.max-file-size", + "since": "2.4.0" } }, { @@ -100,7 +104,8 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": "0B", "deprecation": { - "replacement": "logging.logback.rollingpolicy.total-size-cap" + "replacement": "logging.logback.rollingpolicy.total-size-cap", + "since": "2.4.0" } }, { @@ -175,7 +180,8 @@ "description": "Location of the log file. For instance, `/var/log`.", "deprecation": { "replacement": "logging.file.path", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -217,7 +223,8 @@ "sourceType": "org.springframework.boot.context.logging.LoggingApplicationListener", "defaultValue": "${LOG_FILE}.%d{yyyy-MM-dd}.%i.gz", "deprecation": { - "replacement": "logging.logback.rollingpolicy.file-name-pattern" + "replacement": "logging.logback.rollingpolicy.file-name-pattern", + "since": "2.4.0" } }, { @@ -355,7 +362,8 @@ "description": "Application index.", "deprecation": { "level": "error", - "reason": "Application context ids are now unique by default." + "reason": "Application context ids are now unique by default.", + "since": "2.0.0" } }, { @@ -380,7 +388,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -388,7 +397,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -396,7 +406,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -404,7 +415,8 @@ "type": "org.springframework.core.io.Resource", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -412,7 +424,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -420,7 +433,8 @@ "type": "org.springframework.boot.ImageBanner$PixelMode", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -428,7 +442,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Support for image banners has been removed." + "reason": "Support for image banners has been removed.", + "since": "3.0.0" } }, { @@ -547,7 +562,8 @@ "description": "Display the banner when the application runs.", "defaultValue": true, "deprecation": { - "replacement": "spring.main.banner-mode" + "replacement": "spring.main.banner-mode", + "since": "1.3.0" } }, { @@ -568,7 +584,8 @@ "sourceType": "org.springframework.boot.SpringApplication", "description": "Run the application in a web environment (auto-detected by default).", "deprecation": { - "replacement": "spring.main.web-application-type" + "replacement": "spring.main.web-application-type", + "since": "2.0.0" } }, { diff --git a/documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.java b/documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.java index e52370fae6b..16f4c4ea7c9 100644 --- a/documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.java +++ b/documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.java @@ -33,7 +33,7 @@ public class MyProperties { } @Deprecated - @DeprecatedConfigurationProperty(replacement = "my.app.name") + @DeprecatedConfigurationProperty(replacement = "my.app.name", since = "1.2.0") public String getTarget() { return this.name; } diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.kt index 53eee9a578a..b09c08108fd 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix/configurationmetadata/format/property/MyProperties.kt @@ -23,7 +23,7 @@ import org.springframework.boot.context.properties.DeprecatedConfigurationProper class MyProperties(val name: String?) { var target: String? = null - @Deprecated("") @DeprecatedConfigurationProperty(replacement = "my.app.name") get + @Deprecated("") @DeprecatedConfigurationProperty(replacement = "my.app.name", since = "1.2.0") get @Deprecated("") set } diff --git a/module/spring-boot-activemq/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-activemq/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 806052f4864..1c8816b7b03 100644 --- a/module/spring-boot-activemq/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-activemq/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -21,7 +21,8 @@ "description": "Whether to create a connection on startup. Can be used to warm up the pool on startup.", "defaultValue": true, "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -37,7 +38,8 @@ "description": "Connection expiration timeout.", "defaultValue": "0ms", "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -64,7 +66,8 @@ { "name": "spring.activemq.pool.maximum-active-session-per-connection", "deprecation": { - "replacement": "spring.activemq.pool.max-sessions-per-connection" + "replacement": "spring.activemq.pool.max-sessions-per-connection", + "since": "2.1.0" } }, { @@ -73,7 +76,8 @@ "description": "Reset the connection when a \"JMSException\" occurs.", "defaultValue": true, "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { 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 c287efb0013..ae3c7fc7f29 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,20 +44,10 @@ } }, { - "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", + "name": "management.endpoints.jackson.isolated-object-mapper", "type": "java.lang.Boolean", "description": "Whether to use an isolated object mapper to serialize endpoint JSON.", - "defaultValue": true, - "deprecation": { - "reason": "Jackson 3 is preferred.", - "since": "4.0.0" - } + "defaultValue": true }, { "name": "management.endpoints.jmx.domain", @@ -73,7 +63,8 @@ "description": "Whether unique runtime object names should be ensured.", "deprecation": { "replacement": "spring.jmx.unique-names", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -161,28 +152,32 @@ "type": "java.lang.String", "deprecation": { "replacement": "management.server.base-path", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "management.trace.http.enabled", "deprecation": { "replacement": "management.httpexchanges.recording.enabled", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "management.trace.http.include", "deprecation": { "replacement": "management.httpexchanges.recording.include", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "management.trace.include", "deprecation": { "replacement": "management.httpexchanges.recording.include", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -190,7 +185,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -198,7 +194,8 @@ "type": "org.springframework.boot.actuate.autoconfigure.wavefront.WavefrontProperties$TokenType", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -206,7 +203,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -214,7 +212,8 @@ "type": "java.util.Map", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -222,7 +221,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -230,7 +230,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -238,7 +239,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -246,7 +248,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -254,7 +257,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -262,7 +266,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -270,7 +275,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -278,7 +284,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -286,7 +293,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -294,7 +302,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -302,7 +311,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -310,7 +320,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -318,7 +329,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -326,7 +338,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -334,7 +347,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -342,7 +356,8 @@ "type": "org.springframework.util.unit.DataSize", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -350,7 +365,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -358,7 +374,8 @@ "type": "java.util.Set", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -366,7 +383,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } }, { @@ -374,7 +392,8 @@ "type": "java.net.URI", "deprecation": { "level": "error", - "reason": "Wavefront is end-of-life." + "reason": "Wavefront is end-of-life.", + "since": "4.0.0" } } ], diff --git a/module/spring-boot-amqp/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-amqp/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6624bfce5c6..bec1cd4b49e 100644 --- a/module/spring-boot-amqp/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-amqp/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -17,14 +17,16 @@ "name": "spring.rabbitmq.listener.simple.transaction-size", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "spring.rabbitmq.publisher-confirms", "type": "java.lang.Boolean", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -32,7 +34,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.rabbitmq.template.default-receive-queue", - "level": "error" + "level": "error", + "since": "2.2.0" } } ] diff --git a/module/spring-boot-artemis/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-artemis/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 34746888903..4244e92ef75 100644 --- a/module/spring-boot-artemis/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-artemis/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -10,7 +10,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.artemis.broker-url", - "level": "error" + "level": "error", + "since": "2.5.0" } }, { @@ -58,7 +59,8 @@ { "name": "spring.artemis.pool.maximum-active-session-per-connection", "deprecation": { - "replacement": "spring.artemis.pool.max-sessions-per-connection" + "replacement": "spring.artemis.pool.max-sessions-per-connection", + "since": "2.1.0" } }, { @@ -80,7 +82,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.artemis.broker-url", - "level": "error" + "level": "error", + "since": "2.5.0" } } ] diff --git a/module/spring-boot-batch-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-batch-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1747492d8c0..bdefe168c9b 100644 --- a/module/spring-boot-batch-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-batch-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,7 +5,8 @@ "type": "org.springframework.boot.sql.init.DatabaseInitializationMode", "deprecation": { "replacement": "spring.batch.jdbc.initialize-schema", - "level": "error" + "level": "error", + "since": "2.5.0" } }, { @@ -14,7 +15,8 @@ "description": "Create the required batch tables on startup if necessary. Enabled automatically\n if no custom table prefix is set or if a custom schema is configured.", "deprecation": { "replacement": "spring.batch.jdbc.initialize-schema", - "level": "error" + "level": "error", + "since": "2.0.0" } }, { @@ -22,7 +24,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.batch.jdbc.schema", - "level": "error" + "level": "error", + "since": "2.5.0" } }, { @@ -30,7 +33,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.batch.jdbc.table-prefix", - "level": "error" + "level": "error", + "since": "2.5.0" } } ] diff --git a/module/spring-boot-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json index aa96aa44b32..fb77e557e45 100644 --- a/module/spring-boot-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -54,7 +54,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.cassandra.ssl.enabled", - "level": "error" + "level": "error", + "since": "3.1.0" } } ], diff --git a/module/spring-boot-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 545d927c69d..dc69fc9497a 100644 --- a/module/spring-boot-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -13,7 +13,8 @@ "description": "Timeout for getting the Bucket information from the server.", "defaultValue": "1000ms", "deprecation": { - "level": "error" + "level": "error", + "since": "2.0.6" } }, { @@ -22,7 +23,8 @@ "description": "Couchbase nodes (host or IP address) to bootstrap from.", "deprecation": { "replacement": "spring.couchbase.connection-string", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -31,7 +33,8 @@ "description": "Name of the bucket to connect to.", "deprecation": { "reason": "A bucket is no longer auto-configured.", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -40,7 +43,8 @@ "description": "Password of the bucket.", "deprecation": { "reason": "A bucket is no longer auto-configured.", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -48,7 +52,8 @@ "type": "java.lang.Integer", "description": "Port for the HTTP bootstrap.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -56,7 +61,8 @@ "type": "java.lang.Integer", "description": "Port for the HTTPS bootstrap.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -64,7 +70,8 @@ "type": "java.lang.Integer", "description": "Number of sockets per node against the key/value service.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -72,7 +79,8 @@ "type": "java.lang.Integer", "description": "Number of sockets per node against the query (N1QL) service.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -81,7 +89,8 @@ "description": "Maximum number of sockets per node.", "deprecation": { "replacement": "spring.couchbase.env.io.max-endpoints", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -90,7 +99,8 @@ "description": "Minimum number of sockets per node.", "deprecation": { "replacement": "spring.couchbase.env.io.min-endpoints", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -98,7 +108,8 @@ "type": "java.lang.Integer", "description": "Number of sockets per node against the view service.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -107,7 +118,8 @@ "description": "Maximum number of sockets per node.", "deprecation": { "replacement": "spring.couchbase.env.io.max-endpoints", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -116,7 +128,8 @@ "description": "Minimum number of sockets per node.", "deprecation": { "replacement": "spring.couchbase.env.io.min-endpoints", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -144,7 +157,8 @@ "type": "java.time.Duration", "description": "Socket connect connections timeout.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } } ] diff --git a/module/spring-boot-data-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 27367bba9c8..a5ae9a39eac 100644 --- a/module/spring-boot-data-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-cassandra/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,7 +6,8 @@ "defaultValue": "none", "deprecation": { "replacement": "spring.cassandra.compression", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -14,7 +15,8 @@ "type": "org.springframework.core.io.Resource", "deprecation": { "replacement": "spring.cassandra.config", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -22,7 +24,8 @@ "defaultValue": "5s", "deprecation": { "replacement": "spring.cassandra.connection.connect-timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -30,7 +33,8 @@ "defaultValue": "5s", "deprecation": { "replacement": "spring.cassandra.connection.init-query-timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -40,7 +44,8 @@ ], "deprecation": { "replacement": "spring.cassandra.contact-points", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -48,7 +53,8 @@ "defaultValue": "5s", "deprecation": { "replacement": "spring.cassandra.controlconnection.timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -57,7 +63,8 @@ "description": "Whether to enable JMX reporting. Default to false as Cassandra JMX reporting is not compatible with Dropwizard Metrics.", "deprecation": { "reason": "Cassandra no longer provides JMX metrics.", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -65,7 +72,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.keyspace-name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -73,7 +81,8 @@ "type": "java.lang.Class", "description": "Class name of the load balancing policy. The class must have a default constructor.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -81,7 +90,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.local-datacenter", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -89,7 +99,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.password", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -97,7 +108,8 @@ "defaultValue": "30s", "deprecation": { "replacement": "spring.cassandra.pool.heartbeat-interval", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -105,7 +117,8 @@ "defaultValue": "5s", "deprecation": { "replacement": "spring.cassandra.pool.idle-timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -113,7 +126,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.cassandra.request.throttler.max-queue-size", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -122,7 +136,8 @@ "description": "Pool timeout when trying to acquire a connection from a host's pool.", "deprecation": { "reason": "No longer available.", - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -130,7 +145,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.cassandra.port", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -138,7 +154,8 @@ "type": "java.lang.Class", "description": "Class name of the reconnection policy. The class must have a default constructor.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -152,7 +169,8 @@ "type": "com.datastax.oss.driver.api.core.DefaultConsistencyLevel", "deprecation": { "replacement": "spring.cassandra.request.consistency", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -160,7 +178,8 @@ "defaultValue": 5000, "deprecation": { "replacement": "spring.cassandra.request.page-size", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -168,7 +187,8 @@ "type": "com.datastax.oss.driver.api.core.DefaultConsistencyLevel", "deprecation": { "replacement": "spring.cassandra.request.serial-consistency", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -176,7 +196,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.cassandra.request.throttler.drain-interval", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -184,7 +205,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.cassandra.request.throttler.max-concurrent-requests", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -192,7 +214,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.cassandra.request.throttler.max-queue-size", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -200,7 +223,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.cassandra.request.throttler.max-requests-per-second", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -208,7 +232,8 @@ "defaultValue": "none", "deprecation": { "replacement": "spring.cassandra.request.throttler.type", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -216,7 +241,8 @@ "defaultValue": "2s", "deprecation": { "replacement": "spring.cassandra.request.timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -224,7 +250,8 @@ "type": "java.lang.Class", "description": "Class name of the retry policy. The class must have a default constructor.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -232,7 +259,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.schema-action", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -240,7 +268,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.session-name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -248,7 +277,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.cassandra.ssl.enabled", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -256,7 +286,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.cassandra.username", - "level": "error" + "level": "error", + "since": "3.0.0" } } ] diff --git a/module/spring-boot-data-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json index a84e0a3a9c6..92334904e41 100644 --- a/module/spring-boot-data-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-couchbase/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,7 +5,8 @@ "name": "spring.data.couchbase.consistency", "type": "org.springframework.data.couchbase.core.query.Consistency", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { diff --git a/module/spring-boot-data-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json index d170e6cb003..a5b8211f079 100644 --- a/module/spring-boot-data-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,7 +6,8 @@ "type": "java.lang.String", "description": "Elasticsearch cluster name.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -14,7 +15,8 @@ "type": "java.lang.String", "description": "Comma-separated list of cluster node addresses.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -22,7 +24,8 @@ "type": "java.util.Map", "description": "Additional properties used to configure the client.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { diff --git a/module/spring-boot-data-mongodb/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-mongodb/src/main/resources/META-INF/additional-spring-configuration-metadata.json index dee10308783..d1da21a87a5 100644 --- a/module/spring-boot-data-mongodb/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-mongodb/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -19,7 +19,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.mongodb.gridfs.database", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { diff --git a/module/spring-boot-data-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json index fcaa6e4afa8..00de3e98b2d 100644 --- a/module/spring-boot-data-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -7,7 +7,8 @@ "defaultValue": "none", "deprecation": { "reason": "Automatic index creation is no longer supported.", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -16,7 +17,8 @@ "description": "Whether to enable embedded mode if the embedded driver is available.", "deprecation": { "reason": "Embedded mode is no longer supported, please use Testcontainers instead.", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -24,7 +26,8 @@ "type": "java.lang.Boolean", "description": "Register OpenSessionInViewInterceptor that binds a Neo4j Session to the thread for the entire processing of the request.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -33,7 +36,8 @@ "description": "Login password of the server.", "deprecation": { "replacement": "spring.neo4j.authentication.password", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -43,7 +47,8 @@ "defaultValue": true, "deprecation": { "replacement": "spring.data.neo4j.repositories.type", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -58,7 +63,8 @@ "description": "URI used by the driver. Auto-detected by default.", "deprecation": { "replacement": "spring.neo4j.uri", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -67,7 +73,8 @@ "description": "Whether to use Neo4j native types wherever possible.", "deprecation": { "reason": "Native type support is now built-in.", - "level": "error" + "level": "error", + "since": "2.4.0" } }, { @@ -76,7 +83,8 @@ "description": "Login user of the server.", "deprecation": { "replacement": "spring.neo4j.authentication.username", - "level": "error" + "level": "error", + "since": "2.4.0" } } ] diff --git a/module/spring-boot-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 05e28bd7c6e..9977e54ee54 100644 --- a/module/spring-boot-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -18,7 +18,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.data.redis.ssl.enabled", - "level": "error" + "level": "error", + "since": "3.1.0" } }, { @@ -26,7 +27,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.client-name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -34,7 +36,8 @@ "type": "org.springframework.boot.data.redis.autoconfigure.DataRedisProperties$ClientType", "deprecation": { "replacement": "spring.data.redis.client-type", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -42,7 +45,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.data.redis.cluster.max-redirects", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -50,7 +54,8 @@ "type": "java.util.List", "deprecation": { "replacement": "spring.data.redis.cluster.nodes", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -58,7 +63,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.data.redis.connect-timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -66,7 +72,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.data.redis.database", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -74,49 +81,56 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.host", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.enabled", "type": "java.lang.Boolean", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.max-active", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.max-idle", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.max-wait", "type": "java.time.Duration", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.min-idle", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.jedis.pool.time-between-eviction-runs", "type": "java.time.Duration", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -124,7 +138,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.data.redis.lettuce.cluster.refresh.adaptive", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -132,7 +147,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.data.redis.lettuce.cluster.refresh.dynamic-refresh-sources", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -140,49 +156,56 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.data.redis.lettuce.cluster.refresh.period", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.enabled", "type": "java.lang.Boolean", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.max-active", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.max-idle", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.max-wait", "type": "java.time.Duration", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.min-idle", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { "name": "spring.redis.lettuce.pool.time-between-eviction-runs", "type": "java.time.Duration", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -190,7 +213,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.data.redis.lettuce.shutdown-timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -198,7 +222,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.password", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -206,7 +231,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.data.redis.port", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -214,7 +240,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.sentinel.master", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -222,7 +249,8 @@ "type": "java.util.List", "deprecation": { "replacement": "spring.data.redis.sentinel.nodes", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -230,7 +258,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.sentinel.password", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -238,7 +267,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.sentinel.username", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -246,7 +276,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.data.redis.ssl", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -254,7 +285,8 @@ "type": "java.time.Duration", "deprecation": { "replacement": "spring.data.redis.timeout", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -262,7 +294,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.url", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -270,7 +303,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "spring.data.redis.username", - "level": "error" + "level": "error", + "since": "3.0.0" } } ], diff --git a/module/spring-boot-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json index eb026829f27..7f3b2b8e550 100644 --- a/module/spring-boot-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-elasticsearch/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -12,7 +12,8 @@ "type": "java.util.List", "description": "Comma-separated index names.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -20,7 +21,8 @@ "type": "java.time.Duration", "description": "Time to wait for a response from the cluster.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -28,7 +30,8 @@ "type": "java.time.Duration", "description": "Connection timeout.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -36,7 +39,8 @@ "type": "java.lang.Boolean", "description": "Whether to enable connection requests from multiple execution threads.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -44,7 +48,8 @@ "type": "java.lang.String", "description": "Login password.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -52,7 +57,8 @@ "type": "java.lang.String", "description": "Proxy host the HTTP client should use.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -60,7 +66,8 @@ "type": "java.lang.Integer", "description": "Proxy port the HTTP client should use.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -68,7 +75,8 @@ "type": "java.time.Duration", "description": "Read timeout.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -76,7 +84,8 @@ "type": "java.util.List", "description": "Comma-separated list of the Elasticsearch instances to use.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -84,7 +93,8 @@ "type": "java.lang.String", "description": "Login username.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.3.0" } }, { @@ -99,7 +109,8 @@ "description": "Limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated.", "deprecation": { "level": "error", - "reason": "Reactive Elasticsearch client no longer uses WebClient." + "reason": "Reactive Elasticsearch client no longer uses WebClient.", + "since": "3.0.0" } } ] diff --git a/module/spring-boot-graphql/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-graphql/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 78f7cf91540..c6eb50c9498 100644 --- a/module/spring-boot-graphql/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-graphql/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -7,7 +7,8 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Requests are timed automatically." + "reason": "Requests are timed automatically.", + "since": "3.0.0" } }, { @@ -15,7 +16,8 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles." + "reason": "Should be configured globally via management.metrics.distribution.percentiles.", + "since": "3.0.0" } }, { @@ -24,7 +26,8 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram.", + "since": "3.0.0" } }, { diff --git a/module/spring-boot-health/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-health/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1c53a4a092f..836ec0613ab 100644 --- a/module/spring-boot-health/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-health/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -45,7 +45,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "InfluxDB support has been removed." + "reason": "InfluxDB support has been removed.", + "since": "3.2.0" } }, { @@ -67,7 +68,8 @@ "defaultValue": false, "deprecation": { "level": "error", - "replacement": "management.endpoint.health.probes.enabled" + "replacement": "management.endpoint.health.probes.enabled", + "since": "2.3.2" } }, { diff --git a/module/spring-boot-hibernate/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-hibernate/src/main/resources/META-INF/additional-spring-configuration-metadata.json index ccb70ad131e..6784391dedd 100644 --- a/module/spring-boot-hibernate/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-hibernate/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -7,7 +7,8 @@ "description": "Whether to use Hibernate's newer IdentifierGenerator for AUTO, TABLE and SEQUENCE. This is actually a shortcut for the \"hibernate.id.new_generator_mappings\" property. When not specified will default to \"true\".", "deprecation": { "level": "error", - "reason": "Hibernate no longer supports disabling the use of new ID generator mappings." + "reason": "Hibernate no longer supports disabling the use of new ID generator mappings.", + "since": "3.0.0" } } ], diff --git a/module/spring-boot-jackson/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-jackson/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 2513176191a..a24cc17c8fe 100644 --- a/module/spring-boot-jackson/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-jackson/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -12,7 +12,8 @@ "name": "spring.jackson.generator", "deprecation": { "level": "error", - "reason": "Partially replaced by 'spring.jackson.json.read'." + "reason": "Partially replaced by 'spring.jackson.json.read'.", + "since": "4.0.0" } }, { @@ -20,14 +21,16 @@ "type": "java.lang.String", "description": "Joda date time format string. If not configured, \"date-format\" is used as a fallback if it is configured with a format string.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "spring.jackson.parser", "deprecation": { "level": "error", - "reason": "Partially replaced by 'spring.jackson.json.write'." + "reason": "Partially replaced by 'spring.jackson.json.write'.", + "since": "4.0.0" } }, { @@ -37,7 +40,8 @@ "sourceType": "org.springframework.boot.jackson.autoconfigure.JacksonProperties", "deprecation": { "level": "error", - "replacement": "spring.jackson.json.read" + "replacement": "spring.jackson.json.read", + "since": "4.0.0" } }, { @@ -47,7 +51,8 @@ "sourceType": "org.springframework.boot.jackson.autoconfigure.JacksonProperties", "deprecation": { "level": "error", - "replacement": "spring.jackson.json.write" + "replacement": "spring.jackson.json.write", + "since": "4.0.0" } } ] diff --git a/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/autoconfigure/Jackson2Properties.java b/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/autoconfigure/Jackson2Properties.java index e3efb82de6c..4ae86b2b57f 100644 --- a/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/autoconfigure/Jackson2Properties.java +++ b/module/spring-boot-jackson2/src/main/java/org/springframework/boot/jackson2/autoconfigure/Jackson2Properties.java @@ -123,7 +123,7 @@ public class Jackson2Properties { private final Datatype datatype = new Datatype(); - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable String getDateFormat() { return this.dateFormat; } @@ -132,7 +132,7 @@ public class Jackson2Properties { this.dateFormat = dateFormat; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable String getPropertyNamingStrategy() { return this.propertyNamingStrategy; } @@ -141,37 +141,37 @@ public class Jackson2Properties { this.propertyNamingStrategy = propertyNamingStrategy; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getVisibility() { return this.visibility; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getSerialization() { return this.serialization; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getDeserialization() { return this.deserialization; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getMapper() { return this.mapper; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getParser() { return this.parser; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getGenerator() { return this.generator; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public JsonInclude.@Nullable Include getDefaultPropertyInclusion() { return this.defaultPropertyInclusion; } @@ -180,7 +180,7 @@ public class Jackson2Properties { this.defaultPropertyInclusion = defaultPropertyInclusion; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable Boolean getDefaultLeniency() { return this.defaultLeniency; } @@ -189,7 +189,7 @@ public class Jackson2Properties { this.defaultLeniency = defaultLeniency; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable ConstructorDetectorStrategy getConstructorDetector() { return this.constructorDetector; } @@ -198,7 +198,7 @@ public class Jackson2Properties { this.constructorDetector = constructorDetector; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable TimeZone getTimeZone() { return this.timeZone; } @@ -207,7 +207,7 @@ public class Jackson2Properties { this.timeZone = timeZone; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public @Nullable Locale getLocale() { return this.locale; } @@ -257,12 +257,12 @@ public class Jackson2Properties { */ private final Map jsonNode = new EnumMap<>(JsonNodeFeature.class); - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getEnum() { return this.enumFeatures; } - @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3") + @DeprecatedConfigurationProperty(reason = "Deprecated in favor of Jackson 3", since = "4.0.0") public Map getJsonNode() { return this.jsonNode; } diff --git a/module/spring-boot-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json index c35f676e45c..923934e86ef 100644 --- a/module/spring-boot-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-jdbc/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -11,7 +11,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "spring.sql.init.continue-on-error" + "replacement": "spring.sql.init.continue-on-error", + "since": "2.5.0" } }, { @@ -19,7 +20,8 @@ "type": "java.util.List", "deprecation": { "level": "error", - "replacement": "spring.sql.init.data-locations" + "replacement": "spring.sql.init.data-locations", + "since": "2.5.0" } }, { @@ -27,7 +29,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.password" + "replacement": "spring.sql.init.password", + "since": "2.5.0" } }, { @@ -35,7 +38,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.username" + "replacement": "spring.sql.init.username", + "since": "2.5.0" } }, { @@ -43,7 +47,8 @@ "type": "org.springframework.boot.jdbc.DataSourceInitializationMode", "deprecation": { "level": "error", - "replacement": "spring.sql.init.mode" + "replacement": "spring.sql.init.mode", + "since": "2.5.0" } }, { @@ -53,7 +58,8 @@ "defaultValue": false, "deprecation": { "level": "error", - "replacement": "spring.datasource.tomcat.jmx-enabled" + "replacement": "spring.datasource.tomcat.jmx-enabled", + "since": "2.2.0" } }, { @@ -61,7 +67,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.platform" + "replacement": "spring.sql.init.platform", + "since": "2.5.0" } }, { @@ -69,7 +76,8 @@ "type": "java.util.List", "deprecation": { "level": "error", - "replacement": "spring.sql.init.schema-locations" + "replacement": "spring.sql.init.schema-locations", + "since": "2.5.0" } }, { @@ -77,7 +85,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.password" + "replacement": "spring.sql.init.password", + "since": "2.5.0" } }, { @@ -85,7 +94,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.username" + "replacement": "spring.sql.init.username", + "since": "2.5.0" } }, { @@ -93,7 +103,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "spring.sql.init.separator" + "replacement": "spring.sql.init.separator", + "since": "2.5.0" } }, { @@ -101,7 +112,8 @@ "type": "java.nio.charset.Charset", "deprecation": { "level": "error", - "replacement": "spring.sql.init.encoding" + "replacement": "spring.sql.init.encoding", + "since": "2.5.0" } } ], diff --git a/module/spring-boot-jetty/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-jetty/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 51c6d7bdd71..6472d30fd38 100644 --- a/module/spring-boot-jetty/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-jetty/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,49 +5,56 @@ "name": "server.jetty.accesslog.date-format", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.extended-format", "deprecation": { "replacement": "server.jetty.accesslog.format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.locale", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.log-cookies", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.log-latency", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.log-server", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { "name": "server.jetty.accesslog.time-zone", "deprecation": { "replacement": "server.jetty.accesslog.custom-format", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -55,7 +62,8 @@ "type": "org.springframework.util.unit.DataSize", "deprecation": { "replacement": "server.jetty.max-http-form-post-size", - "level": "error" + "level": "error", + "since": "2.2.0" } } ] diff --git a/module/spring-boot-kafka/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-kafka/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 133fbdd4b58..ffb9c715bf3 100644 --- a/module/spring-boot-kafka/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-kafka/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,7 +6,8 @@ "description": "Location of the key store file.", "deprecation": { "replacement": "spring.kafka.admin.ssl.key-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -15,7 +16,8 @@ "description": "Store password for the key store file.", "deprecation": { "replacement": "spring.kafka.admin.ssl.key-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -24,7 +26,8 @@ "description": "Location of the trust store file.", "deprecation": { "replacement": "spring.kafka.admin.ssl.trust-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -33,7 +36,8 @@ "description": "Store password for the trust store file.", "deprecation": { "replacement": "spring.kafka.admin.ssl.trust-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -42,7 +46,8 @@ "description": "Location of the key store file.", "deprecation": { "replacement": "spring.kafka.consumer.ssl.key-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -51,7 +56,8 @@ "description": "Store password for the key store file.", "deprecation": { "replacement": "spring.kafka.consumer.ssl.key-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -60,7 +66,8 @@ "description": "Location of the trust store file.", "deprecation": { "replacement": "spring.kafka.consumer.ssl.trust-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -69,7 +76,8 @@ "description": "Store password for the trust store file.", "deprecation": { "replacement": "spring.kafka.consumer.ssl.trust-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -79,7 +87,8 @@ "description": "Whether to suppress the entire record from being written to the log when retries are being attempted.", "deprecation": { "reason": "Use KafkaUtils#setConsumerRecordFormatter instead.", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -88,7 +97,8 @@ "description": "Location of the key store file.", "deprecation": { "replacement": "spring.kafka.producer.ssl.key-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -97,7 +107,8 @@ "description": "Store password for the key store file.", "deprecation": { "replacement": "spring.kafka.producer.ssl.key-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -106,7 +117,8 @@ "description": "Location of the trust store file.", "deprecation": { "replacement": "spring.kafka.producer.ssl.trust-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -115,7 +127,8 @@ "description": "Store password for the trust store file.", "deprecation": { "replacement": "spring.kafka.producer.ssl.trust-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -123,7 +136,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.kafka.retry.topic.backoff.jitter", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { @@ -138,7 +152,7 @@ "name": "spring.kafka.retry.topic.max-delay", "type": "java.time.Duration", "deprecation": { - "replacement": "spring.kafka.retry.topic.backoff.max-delay", + "replacement": "spring.kafka.retry.topic.backoff.maxDelay", "since": "3.4.0" } }, @@ -164,7 +178,8 @@ "description": "Location of the key store file.", "deprecation": { "replacement": "spring.kafka.ssl.key-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -173,7 +188,8 @@ "description": "Store password for the key store file.", "deprecation": { "replacement": "spring.kafka.ssl.key-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -182,7 +198,8 @@ "description": "Location of the trust store file.", "deprecation": { "replacement": "spring.kafka.ssl.trust-store-location", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -191,7 +208,8 @@ "description": "Store password for the trust store file.", "deprecation": { "replacement": "spring.kafka.ssl.trust-store-password", - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -199,7 +217,8 @@ "type": "java.lang.Integer", "deprecation": { "replacement": "spring.kafka.streams.state-store-cache-max-size", - "level": "error" + "level": "error", + "since": "2.2.0" } }, { diff --git a/module/spring-boot-liquibase/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-liquibase/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 7ae15170895..38c94a35f09 100644 --- a/module/spring-boot-liquibase/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-liquibase/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -7,14 +7,16 @@ "defaultValue": true, "deprecation": { "reason": "Liquibase has its own check that checks if the change log location exists making this property redundant.", - "level": "error" + "level": "error", + "since": "2.1.7" } }, { "name": "spring.liquibase.labels", "deprecation": { "replacement": "spring.liquibase.label-filter", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { diff --git a/module/spring-boot-micrometer-metrics/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-micrometer-metrics/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 4b32b1d1fb1..9c496983e42 100644 --- a/module/spring-boot-micrometer-metrics/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-micrometer-metrics/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -14,7 +14,9 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Instead, filter 'process.files' metrics." + "replacement": "management.metrics.enable.process.files", + "reason": "Instead, filter 'process.files' metrics.", + "since": "2.1.0" } }, { @@ -24,7 +26,9 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Instead, disable JvmMetricsAutoConfiguration or filter 'jvm' metrics." + "replacement": "management.metrics.enable.jvm", + "reason": "Instead, disable JvmMetricsAutoConfiguration or filter 'jvm' metrics.", + "since": "2.1.0" } }, { @@ -34,7 +38,9 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Instead, disable LogbackMetricsAutoConfiguration or filter 'logback' metrics." + "replacement": "management.metrics.enable.logback", + "reason": "Instead, disable LogbackMetricsAutoConfiguration or filter 'logback' metrics.", + "since": "2.1.0" } }, { @@ -44,7 +50,8 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Instead, filter 'system.cpu' and 'process.cpu' metrics." + "reason": "Instead, filter 'system.cpu' and 'process.cpu' metrics.", + "since": "2.1.0" } }, { @@ -54,7 +61,8 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Instead, filter 'process.uptime' and 'process.start.time' metrics." + "reason": "Instead, filter 'process.uptime' and 'process.start.time' metrics.", + "since": "2.1.0" } }, { @@ -62,7 +70,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.api-token" + "replacement": "management.appoptics.metrics.export.api-token", + "since": "3.0.0" } }, { @@ -70,7 +79,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.batch-size" + "replacement": "management.appoptics.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -78,7 +88,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.connect-timeout" + "replacement": "management.appoptics.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -86,7 +97,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.enabled" + "replacement": "management.appoptics.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -94,7 +106,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.floor-times" + "replacement": "management.appoptics.metrics.export.floor-times", + "since": "3.0.0" } }, { @@ -102,14 +115,16 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.host-tag" + "replacement": "management.appoptics.metrics.export.host-tag", + "since": "3.0.0" } }, { "name": "management.metrics.export.appoptics.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -117,7 +132,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.read-timeout" + "replacement": "management.appoptics.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -125,7 +141,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.step" + "replacement": "management.appoptics.metrics.export.step", + "since": "3.0.0" } }, { @@ -133,7 +150,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.appoptics.metrics.export.uri" + "replacement": "management.appoptics.metrics.export.uri", + "since": "3.0.0" } }, { @@ -141,7 +159,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.batch-size" + "replacement": "management.atlas.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -149,7 +168,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.config-refresh-frequency" + "replacement": "management.atlas.metrics.export.config-refresh-frequency", + "since": "3.0.0" } }, { @@ -157,7 +177,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.config-time-to-live" + "replacement": "management.atlas.metrics.export.config-time-to-live", + "since": "3.0.0" } }, { @@ -165,7 +186,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.config-uri" + "replacement": "management.atlas.metrics.export.config-uri", + "since": "3.0.0" } }, { @@ -173,7 +195,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.connect-timeout" + "replacement": "management.atlas.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -181,7 +204,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.enabled" + "replacement": "management.atlas.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -189,7 +213,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.eval-uri" + "replacement": "management.atlas.metrics.export.eval-uri", + "since": "3.0.0" } }, { @@ -197,7 +222,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.lwc-enabled" + "replacement": "management.atlas.metrics.export.lwc-enabled", + "since": "3.0.0" } }, { @@ -205,14 +231,16 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.meter-time-to-live" + "replacement": "management.atlas.metrics.export.meter-time-to-live", + "since": "3.0.0" } }, { "name": "management.metrics.export.atlas.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -220,7 +248,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.read-timeout" + "replacement": "management.atlas.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -228,7 +257,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.step" + "replacement": "management.atlas.metrics.export.step", + "since": "3.0.0" } }, { @@ -236,7 +266,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.atlas.metrics.export.uri" + "replacement": "management.atlas.metrics.export.uri", + "since": "3.0.0" } }, { @@ -244,7 +275,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.api-key" + "replacement": "management.datadog.metrics.export.api-key", + "since": "3.0.0" } }, { @@ -252,7 +284,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.application-key" + "replacement": "management.datadog.metrics.export.application-key", + "since": "3.0.0" } }, { @@ -260,7 +293,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.batch-size" + "replacement": "management.datadog.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -268,7 +302,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.connect-timeout" + "replacement": "management.datadog.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -276,7 +311,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.descriptions" + "replacement": "management.datadog.metrics.export.descriptions", + "since": "3.0.0" } }, { @@ -284,7 +320,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.enabled" + "replacement": "management.datadog.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -292,14 +329,16 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.host-tag" + "replacement": "management.datadog.metrics.export.host-tag", + "since": "3.0.0" } }, { "name": "management.metrics.export.datadog.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -307,7 +346,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.read-timeout" + "replacement": "management.datadog.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -315,7 +355,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.step" + "replacement": "management.datadog.metrics.export.step", + "since": "3.0.0" } }, { @@ -323,7 +364,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.datadog.metrics.export.uri" + "replacement": "management.datadog.metrics.export.uri", + "since": "3.0.0" } }, { @@ -331,7 +373,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.defaults.metrics.export.enabled" + "replacement": "management.defaults.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -339,7 +382,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.api-token" + "replacement": "management.dynatrace.metrics.export.api-token", + "since": "3.0.0" } }, { @@ -347,7 +391,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.batch-size" + "replacement": "management.dynatrace.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -355,7 +400,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.connect-timeout" + "replacement": "management.dynatrace.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -363,7 +409,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.device-id" + "replacement": "management.dynatrace.metrics.export.device-id", + "since": "3.0.0" } }, { @@ -371,7 +418,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.enabled" + "replacement": "management.dynatrace.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -379,14 +427,16 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.group" + "replacement": "management.dynatrace.metrics.export.group", + "since": "3.0.0" } }, { "name": "management.metrics.export.dynatrace.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -394,7 +444,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.read-timeout" + "replacement": "management.dynatrace.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -402,7 +453,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.step" + "replacement": "management.dynatrace.metrics.export.step", + "since": "3.0.0" } }, { @@ -410,7 +462,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.technology-type" + "replacement": "management.dynatrace.metrics.export.technology-type", + "since": "3.0.0" } }, { @@ -418,7 +471,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.uri" + "replacement": "management.dynatrace.metrics.export.uri", + "since": "3.0.0" } }, { @@ -426,7 +480,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.device-id" + "replacement": "management.dynatrace.metrics.export.v1.device-id", + "since": "3.0.0" } }, { @@ -434,7 +489,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.group" + "replacement": "management.dynatrace.metrics.export.v1.group", + "since": "3.0.0" } }, { @@ -442,7 +498,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v1.technology-type" + "replacement": "management.dynatrace.metrics.export.v1.technology-type", + "since": "3.0.0" } }, { @@ -450,7 +507,8 @@ "type": "java.util.Map", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v2.default-dimensions" + "replacement": "management.dynatrace.metrics.export.v2.default-dimensions", + "since": "3.0.0" } }, { @@ -458,7 +516,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v2.enrich-with-dynatrace-metadata" + "replacement": "management.dynatrace.metrics.export.v2.enrich-with-dynatrace-metadata", + "since": "3.0.0" } }, { @@ -466,7 +525,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.dynatrace.metrics.export.v2.metric-key-prefix" + "replacement": "management.dynatrace.metrics.export.v2.metric-key-prefix", + "since": "3.0.0" } }, { @@ -474,7 +534,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.api-key-credentials" + "replacement": "management.elastic.metrics.export.api-key-credentials", + "since": "3.0.0" } }, { @@ -482,7 +543,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.auto-create-index" + "replacement": "management.elastic.metrics.export.auto-create-index", + "since": "3.0.0" } }, { @@ -490,7 +552,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.batch-size" + "replacement": "management.elastic.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -498,7 +561,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.connect-timeout" + "replacement": "management.elastic.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -506,7 +570,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.enabled" + "replacement": "management.elastic.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -514,7 +579,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.host" + "replacement": "management.elastic.metrics.export.host", + "since": "3.0.0" } }, { @@ -522,7 +588,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.index" + "replacement": "management.elastic.metrics.export.index", + "since": "3.0.0" } }, { @@ -530,7 +597,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.index-date-format" + "replacement": "management.elastic.metrics.export.index-date-format", + "since": "3.0.0" } }, { @@ -538,14 +606,16 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.index-date-separator" + "replacement": "management.elastic.metrics.export.index-date-separator", + "since": "3.0.0" } }, { "name": "management.metrics.export.elastic.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -553,7 +623,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.password" + "replacement": "management.elastic.metrics.export.password", + "since": "3.0.0" } }, { @@ -561,7 +632,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.pipeline" + "replacement": "management.elastic.metrics.export.pipeline", + "since": "3.0.0" } }, { @@ -569,7 +641,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.read-timeout" + "replacement": "management.elastic.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -577,7 +650,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.step" + "replacement": "management.elastic.metrics.export.step", + "since": "3.0.0" } }, { @@ -585,7 +659,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.timestamp-field-name" + "replacement": "management.elastic.metrics.export.timestamp-field-name", + "since": "3.0.0" } }, { @@ -593,7 +668,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.elastic.metrics.export.user-name" + "replacement": "management.elastic.metrics.export.user-name", + "since": "3.0.0" } }, { @@ -601,7 +677,8 @@ "type": "info.ganglia.gmetric4j.gmetric.GMetric$UDPAddressingMode", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.addressing-mode" + "replacement": "management.ganglia.metrics.export.addressing-mode", + "since": "3.0.0" } }, { @@ -609,7 +686,8 @@ "type": "java.util.concurrent.TimeUnit", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.duration-units" + "replacement": "management.ganglia.metrics.export.duration-units", + "since": "3.0.0" } }, { @@ -617,7 +695,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.enabled" + "replacement": "management.ganglia.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -625,7 +704,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.host" + "replacement": "management.ganglia.metrics.export.host", + "since": "3.0.0" } }, { @@ -633,14 +713,16 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.port" + "replacement": "management.ganglia.metrics.export.port", + "since": "3.0.0" } }, { "name": "management.metrics.export.ganglia.rate-units", "type": "java.util.concurrent.TimeUnit", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -648,7 +730,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.step" + "replacement": "management.ganglia.metrics.export.step", + "since": "3.0.0" } }, { @@ -656,7 +739,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.ganglia.metrics.export.time-to-live" + "replacement": "management.ganglia.metrics.export.time-to-live", + "since": "3.0.0" } }, { @@ -664,7 +748,8 @@ "type": "java.util.concurrent.TimeUnit", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.duration-units" + "replacement": "management.graphite.metrics.export.duration-units", + "since": "3.0.0" } }, { @@ -672,7 +757,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.enabled" + "replacement": "management.graphite.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -680,7 +766,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.graphite-tags-enabled" + "replacement": "management.graphite.metrics.export.graphite-tags-enabled", + "since": "3.0.0" } }, { @@ -688,7 +775,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.host" + "replacement": "management.graphite.metrics.export.host", + "since": "3.0.0" } }, { @@ -696,7 +784,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.port" + "replacement": "management.graphite.metrics.export.port", + "since": "3.0.0" } }, { @@ -704,7 +793,8 @@ "type": "io.micrometer.graphite.GraphiteProtocol", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.protocol" + "replacement": "management.graphite.metrics.export.protocol", + "since": "3.0.0" } }, { @@ -712,7 +802,8 @@ "type": "java.util.concurrent.TimeUnit", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.rate-units" + "replacement": "management.graphite.metrics.export.rate-units", + "since": "3.0.0" } }, { @@ -720,7 +811,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.step" + "replacement": "management.graphite.metrics.export.step", + "since": "3.0.0" } }, { @@ -728,7 +820,8 @@ "type": "java.lang.String[]", "deprecation": { "level": "error", - "replacement": "management.graphite.metrics.export.tags-as-prefix" + "replacement": "management.graphite.metrics.export.tags-as-prefix", + "since": "3.0.0" } }, { @@ -736,7 +829,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.api-token" + "replacement": "management.humio.metrics.export.api-token", + "since": "3.0.0" } }, { @@ -744,7 +838,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.batch-size" + "replacement": "management.humio.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -752,7 +847,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.connect-timeout" + "replacement": "management.humio.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -760,14 +856,16 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.enabled" + "replacement": "management.humio.metrics.export.enabled", + "since": "3.0.0" } }, { "name": "management.metrics.export.humio.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -775,13 +873,15 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.read-timeout" + "replacement": "management.humio.metrics.export.read-timeout", + "since": "3.0.0" } }, { "name": "management.metrics.export.humio.repository", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -789,7 +889,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.step" + "replacement": "management.humio.metrics.export.step", + "since": "3.0.0" } }, { @@ -797,7 +898,8 @@ "type": "java.util.Map", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.tags" + "replacement": "management.humio.metrics.export.tags", + "since": "3.0.0" } }, { @@ -805,7 +907,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.humio.metrics.export.uri" + "replacement": "management.humio.metrics.export.uri", + "since": "3.0.0" } }, { @@ -813,7 +916,8 @@ "type": "io.micrometer.influx.InfluxApiVersion", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.api-version" + "replacement": "management.influx.metrics.export.api-version", + "since": "3.0.0" } }, { @@ -821,7 +925,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.auto-create-db" + "replacement": "management.influx.metrics.export.auto-create-db", + "since": "3.0.0" } }, { @@ -829,7 +934,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.batch-size" + "replacement": "management.influx.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -837,7 +943,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.bucket" + "replacement": "management.influx.metrics.export.bucket", + "since": "3.0.0" } }, { @@ -845,7 +952,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.compressed" + "replacement": "management.influx.metrics.export.compressed", + "since": "3.0.0" } }, { @@ -853,7 +961,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.connect-timeout" + "replacement": "management.influx.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -861,7 +970,8 @@ "type": "io.micrometer.influx.InfluxConsistency", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.consistency" + "replacement": "management.influx.metrics.export.consistency", + "since": "3.0.0" } }, { @@ -869,7 +979,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.db" + "replacement": "management.influx.metrics.export.db", + "since": "3.0.0" } }, { @@ -877,14 +988,16 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.enabled" + "replacement": "management.influx.metrics.export.enabled", + "since": "3.0.0" } }, { "name": "management.metrics.export.influx.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -892,7 +1005,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.org" + "replacement": "management.influx.metrics.export.org", + "since": "3.0.0" } }, { @@ -900,7 +1014,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.password" + "replacement": "management.influx.metrics.export.password", + "since": "3.0.0" } }, { @@ -908,7 +1023,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.read-timeout" + "replacement": "management.influx.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -916,7 +1032,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.retention-duration" + "replacement": "management.influx.metrics.export.retention-duration", + "since": "3.0.0" } }, { @@ -924,7 +1041,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.retention-policy" + "replacement": "management.influx.metrics.export.retention-policy", + "since": "3.0.0" } }, { @@ -932,7 +1050,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.retention-replication-factor" + "replacement": "management.influx.metrics.export.retention-replication-factor", + "since": "3.0.0" } }, { @@ -940,7 +1059,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.retention-shard-duration" + "replacement": "management.influx.metrics.export.retention-shard-duration", + "since": "3.0.0" } }, { @@ -948,7 +1068,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.step" + "replacement": "management.influx.metrics.export.step", + "since": "3.0.0" } }, { @@ -956,7 +1077,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.token" + "replacement": "management.influx.metrics.export.token", + "since": "3.0.0" } }, { @@ -964,7 +1086,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.uri" + "replacement": "management.influx.metrics.export.uri", + "since": "3.0.0" } }, { @@ -972,7 +1095,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.influx.metrics.export.user-name" + "replacement": "management.influx.metrics.export.user-name", + "since": "3.0.0" } }, { @@ -980,7 +1104,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.jmx.metrics.export.domain" + "replacement": "management.jmx.metrics.export.domain", + "since": "3.0.0" } }, { @@ -988,7 +1113,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.jmx.metrics.export.enabled" + "replacement": "management.jmx.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -996,7 +1122,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.jmx.metrics.export.step" + "replacement": "management.jmx.metrics.export.step", + "since": "3.0.0" } }, { @@ -1004,7 +1131,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.batch-size" + "replacement": "management.kairos.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -1012,7 +1140,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.connect-timeout" + "replacement": "management.kairos.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -1020,14 +1149,16 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.enabled" + "replacement": "management.kairos.metrics.export.enabled", + "since": "3.0.0" } }, { "name": "management.metrics.export.kairos.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1035,7 +1166,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.password" + "replacement": "management.kairos.metrics.export.password", + "since": "3.0.0" } }, { @@ -1043,7 +1175,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.read-timeout" + "replacement": "management.kairos.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -1051,7 +1184,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.step" + "replacement": "management.kairos.metrics.export.step", + "since": "3.0.0" } }, { @@ -1059,7 +1193,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.uri" + "replacement": "management.kairos.metrics.export.uri", + "since": "3.0.0" } }, { @@ -1067,7 +1202,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.kairos.metrics.export.user-name" + "replacement": "management.kairos.metrics.export.user-name", + "since": "3.0.0" } }, { @@ -1075,7 +1211,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.account-id" + "replacement": "management.newrelic.metrics.export.account-id", + "since": "3.0.0" } }, { @@ -1083,7 +1220,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.api-key" + "replacement": "management.newrelic.metrics.export.api-key", + "since": "3.0.0" } }, { @@ -1091,7 +1229,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.batch-size" + "replacement": "management.newrelic.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -1099,7 +1238,8 @@ "type": "io.micrometer.newrelic.ClientProviderType", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.client-provider-type" + "replacement": "management.newrelic.metrics.export.client-provider-type", + "since": "3.0.0" } }, { @@ -1107,7 +1247,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.connect-timeout" + "replacement": "management.newrelic.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -1115,7 +1256,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.enabled" + "replacement": "management.newrelic.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -1123,7 +1265,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.event-type" + "replacement": "management.newrelic.metrics.export.event-type", + "since": "3.0.0" } }, { @@ -1131,14 +1274,16 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.meter-name-event-type-enabled" + "replacement": "management.newrelic.metrics.export.meter-name-event-type-enabled", + "since": "3.0.0" } }, { "name": "management.metrics.export.newrelic.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1146,7 +1291,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.read-timeout" + "replacement": "management.newrelic.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -1154,7 +1300,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.step" + "replacement": "management.newrelic.metrics.export.step", + "since": "3.0.0" } }, { @@ -1162,7 +1309,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.newrelic.metrics.export.uri" + "replacement": "management.newrelic.metrics.export.uri", + "since": "3.0.0" } }, { @@ -1170,7 +1318,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.descriptions" + "replacement": "management.prometheus.metrics.export.descriptions", + "since": "3.0.0" } }, { @@ -1178,7 +1327,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.enabled" + "replacement": "management.prometheus.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -1186,7 +1336,8 @@ "type": "io.micrometer.prometheus.HistogramFlavor", "deprecation": { "level": "error", - "reason": "No longer supported by the Prometheus client." + "replacement": "management.prometheus.metrics.export.histogram-flavor", + "since": "3.0.0" } }, { @@ -1194,7 +1345,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.address" + "replacement": "management.prometheus.metrics.export.pushgateway.base-url", + "since": "3.0.0" } }, { @@ -1202,7 +1354,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.enabled" + "replacement": "management.prometheus.metrics.export.pushgateway.enabled", + "since": "3.0.0" } }, { @@ -1210,7 +1363,8 @@ "type": "java.util.Map", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.grouping-key" + "replacement": "management.prometheus.metrics.export.pushgateway.grouping-key", + "since": "3.0.0" } }, { @@ -1218,7 +1372,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.job" + "replacement": "management.prometheus.metrics.export.pushgateway.job", + "since": "3.0.0" } }, { @@ -1226,7 +1381,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.password" + "replacement": "management.prometheus.metrics.export.pushgateway.password", + "since": "3.0.0" } }, { @@ -1234,7 +1390,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.push-rate" + "replacement": "management.prometheus.metrics.export.pushgateway.push-rate", + "since": "3.0.0" } }, { @@ -1242,7 +1399,8 @@ "type": "org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager$ShutdownOperation", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.shutdown-operation" + "replacement": "management.prometheus.metrics.export.pushgateway.shutdown-operation", + "since": "3.0.0" } }, { @@ -1250,7 +1408,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.username" + "replacement": "management.prometheus.metrics.export.pushgateway.username", + "since": "3.0.0" } }, { @@ -1258,7 +1417,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.step" + "replacement": "management.prometheus.metrics.export.step", + "since": "3.0.0" } }, { @@ -1266,7 +1426,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.access-token", + "since": "3.0.0" } }, { @@ -1274,7 +1435,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -1282,7 +1444,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -1290,7 +1453,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -1298,14 +1462,15 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "since": "3.0.0" } }, { "name": "management.metrics.export.signalfx.published-histogram-type", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.published-histogram-type", + "since": "3.0.0" } }, { @@ -1313,7 +1478,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -1321,7 +1487,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.source", + "since": "3.0.0" } }, { @@ -1329,7 +1496,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.step", + "since": "3.0.0" } }, { @@ -1337,7 +1505,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "reason": "SignalFX is no longer supported." + "replacement": "management.signalfx.metrics.export.uri", + "since": "3.0.0" } }, { @@ -1345,7 +1514,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.simple.metrics.export.enabled" + "replacement": "management.simple.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -1353,7 +1523,8 @@ "type": "io.micrometer.core.instrument.simple.CountingMode", "deprecation": { "level": "error", - "replacement": "management.simple.metrics.export.mode" + "replacement": "management.simple.metrics.export.mode", + "since": "3.0.0" } }, { @@ -1361,7 +1532,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.simple.metrics.export.step" + "replacement": "management.simple.metrics.export.step", + "since": "3.0.0" } }, { @@ -1369,7 +1541,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.batch-size" + "replacement": "management.stackdriver.metrics.export.batch-size", + "since": "3.0.0" } }, { @@ -1377,7 +1550,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.connect-timeout" + "replacement": "management.stackdriver.metrics.export.connect-timeout", + "since": "3.0.0" } }, { @@ -1385,14 +1559,16 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.enabled" + "replacement": "management.stackdriver.metrics.export.enabled", + "since": "3.0.0" } }, { "name": "management.metrics.export.stackdriver.num-threads", "type": "java.lang.Integer", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1400,7 +1576,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.project-id" + "replacement": "management.stackdriver.metrics.export.project-id", + "since": "3.0.0" } }, { @@ -1408,7 +1585,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.read-timeout" + "replacement": "management.stackdriver.metrics.export.read-timeout", + "since": "3.0.0" } }, { @@ -1416,7 +1594,8 @@ "type": "java.util.Map", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.resource-labels" + "replacement": "management.stackdriver.metrics.export.resource-labels", + "since": "3.0.0" } }, { @@ -1424,7 +1603,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.resource-type" + "replacement": "management.stackdriver.metrics.export.resource-type", + "since": "3.0.0" } }, { @@ -1432,7 +1612,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.step" + "replacement": "management.stackdriver.metrics.export.step", + "since": "3.0.0" } }, { @@ -1440,7 +1621,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.stackdriver.metrics.export.use-semantic-metric-types" + "replacement": "management.stackdriver.metrics.export.use-semantic-metric-types", + "since": "3.0.0" } }, { @@ -1448,7 +1630,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.enabled" + "replacement": "management.statsd.metrics.export.enabled", + "since": "3.0.0" } }, { @@ -1456,7 +1639,8 @@ "type": "io.micrometer.statsd.StatsdFlavor", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.flavor" + "replacement": "management.statsd.metrics.export.flavor", + "since": "3.0.0" } }, { @@ -1464,7 +1648,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.host" + "replacement": "management.statsd.metrics.export.host", + "since": "3.0.0" } }, { @@ -1472,7 +1657,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.max-packet-length" + "replacement": "management.statsd.metrics.export.max-packet-length", + "since": "3.0.0" } }, { @@ -1480,7 +1666,8 @@ "type": "java.time.Duration", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.polling-frequency" + "replacement": "management.statsd.metrics.export.polling-frequency", + "since": "3.0.0" } }, { @@ -1488,7 +1675,8 @@ "type": "java.lang.Integer", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.port" + "replacement": "management.statsd.metrics.export.port", + "since": "3.0.0" } }, { @@ -1496,7 +1684,8 @@ "type": "io.micrometer.statsd.StatsdProtocol", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.protocol" + "replacement": "management.statsd.metrics.export.protocol", + "since": "3.0.0" } }, { @@ -1504,13 +1693,15 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "replacement": "management.statsd.metrics.export.publish-unchanged-meters" + "replacement": "management.statsd.metrics.export.publish-unchanged-meters", + "since": "3.0.0" } }, { "name": "management.metrics.export.statsd.queue-size", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1526,7 +1717,8 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Requests are timed automatically." + "reason": "Requests are timed automatically.", + "since": "3.0.0" } }, { @@ -1534,7 +1726,8 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles." + "reason": "Should be configured globally via management.metrics.distribution.percentiles.", + "since": "3.0.0" } }, { @@ -1543,7 +1736,8 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram.", + "since": "3.0.0" } }, { @@ -1551,7 +1745,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "management.observations.http.client.requests.name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1559,7 +1754,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "management.observations.http.client.requests.name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1567,7 +1763,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "management.metrics.web.server.request.autotime.enabled", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1576,7 +1773,8 @@ "defaultValue": true, "deprecation": { "level": "error", - "reason": "Requests are timed automatically." + "reason": "Requests are timed automatically.", + "since": "3.0.0" } }, { @@ -1584,7 +1782,8 @@ "description": "Computed non-aggregable percentiles to publish.", "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles." + "reason": "Should be configured globally via management.metrics.distribution.percentiles.", + "since": "3.0.0" } }, { @@ -1593,7 +1792,8 @@ "defaultValue": false, "deprecation": { "level": "error", - "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram." + "reason": "Should be configured globally via management.metrics.distribution.percentiles-histogram.", + "since": "3.0.0" } }, { @@ -1601,7 +1801,8 @@ "type": "java.lang.Boolean", "deprecation": { "level": "error", - "reason": "Not needed anymore, direct instrumentation in Spring MVC." + "reason": "Not needed anymore, direct instrumentation in Spring MVC.", + "since": "3.0.0" } }, { @@ -1609,7 +1810,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "management.observations.http.server.requests.name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1617,7 +1819,8 @@ "type": "java.lang.String", "deprecation": { "replacement": "management.observations.http.server.requests.name", - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -1625,7 +1828,8 @@ "type": "java.lang.String", "deprecation": { "level": "error", - "replacement": "management.prometheus.metrics.export.pushgateway.address" + "replacement": "management.prometheus.metrics.export.pushgateway.address", + "since": "3.5.0" } } ] diff --git a/module/spring-boot-micrometer-observation/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-micrometer-observation/src/main/resources/META-INF/additional-spring-configuration-metadata.json index ccf805c5566..358dc1cb771 100644 --- a/module/spring-boot-micrometer-observation/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-micrometer-observation/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,14 +6,6 @@ "type": "java.lang.Boolean", "description": "Whether auto-configuration of Micrometer annotations is enabled.", "defaultValue": false - }, - { - "name": "management.observations.long-task-timer.enabled", - "type": "java.lang.Boolean", - "deprecation": { - "level": "error", - "replacement": "management.metrics.observations.ignored-meters" - } } ] } diff --git a/module/spring-boot-micrometer-tracing-brave/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-micrometer-tracing-brave/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 3436b564c8d..1458a61096c 100644 --- a/module/spring-boot-micrometer-tracing-brave/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-micrometer-tracing-brave/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,7 +5,8 @@ "name": "management.tracing.brave.span-joining-supported", "deprecation": { "replacement": "management.brave.tracing.span-joining-supported", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { @@ -18,7 +19,8 @@ "name": "management.zipkin.tracing.export.enabled", "deprecation": { "replacement": "management.tracing.export.zipkin.enabled", - "level": "error" + "level": "error", + "since": "4.0.0" } } ] diff --git a/module/spring-boot-micrometer-tracing-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-micrometer-tracing-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 8309288923d..1777ce89671 100644 --- a/module/spring-boot-micrometer-tracing-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-micrometer-tracing-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,49 +5,56 @@ "name": "management.otlp.tracing.compression", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.compression", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.connect-timeout", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.connect-timeout", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.endpoint", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.endpoint", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.export.enabled", "deprecation": { "replacement": "management.tracing.export.otlp.enabled", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.headers", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.headers", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.timeout", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.timeout", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.otlp.tracing.transport", "deprecation": { "replacement": "management.opentelemetry.tracing.export.otlp.transport", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { @@ -60,35 +67,40 @@ "name": "management.tracing.opentelemetry.export.include-unsampled", "deprecation": { "replacement": "management.opentelemetry.tracing.export.include-unsampled", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.tracing.opentelemetry.export.max-batch-size", "deprecation": { "replacement": "management.opentelemetry.tracing.export.max-batch-size", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.tracing.opentelemetry.export.max-queue-size", "deprecation": { "replacement": "management.opentelemetry.tracing.export.max-queue-size", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.tracing.opentelemetry.export.schedule-delay", "deprecation": { "replacement": "management.opentelemetry.tracing.export.schedule-delay", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { "name": "management.tracing.opentelemetry.export.timeout", "deprecation": { "replacement": "management.opentelemetry.tracing.export.timeout", - "level": "error" + "level": "error", + "since": "4.0.0" } } ] diff --git a/module/spring-boot-micrometer-tracing/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-micrometer-tracing/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 53b763f2b13..d5821478c16 100644 --- a/module/spring-boot-micrometer-tracing/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-micrometer-tracing/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,7 +5,8 @@ "name": "management.tracing.enabled", "deprecation": { "replacement": "management.tracing.export.enabled", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { diff --git a/module/spring-boot-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1444e8722c3..335f1c3723e 100644 --- a/module/spring-boot-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-neo4j/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -12,7 +12,8 @@ "type": "java.lang.Boolean", "deprecation": { "reason": "Use 'management.metrics.enable' to restrict certain metrics.", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { diff --git a/module/spring-boot-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1a698477766..9dd16d32dad 100644 --- a/module/spring-boot-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-opentelemetry/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,18 +4,29 @@ { "name": "management.logging.export.otlp.enabled", "type": "java.lang.Boolean", - "defaultValue": true, + "defaultValue": true, "description": "Whether auto-configuration of logging is enabled to export logs over OTLP." - }, + }, { + "name": "management.otlp.logging", + "type": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", + "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", + "deprecation": { + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp", + "since": "4.0.0" + } + }, + { "name": "management.otlp.logging.compression", "type": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties$Compression", "description": "Method used to compress the payload.", "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "defaultValue": "none", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.compression", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.compression", + "since": "4.0.0" } }, { @@ -25,8 +36,9 @@ "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "defaultValue": "10s", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.connect-timeout", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.connect-timeout", + "since": "4.0.0" } }, { @@ -35,15 +47,17 @@ "description": "URL to the OTel collector's HTTP API.", "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.endpoint", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.endpoint", + "since": "4.0.0" } }, - { + { "name": "management.otlp.logging.export.enabled", "deprecation": { - "replacement": "management.logging.export.otlp.enabled", - "level": "error" + "level": "error", + "replacement": "management.logging.export.otlp.enabled", + "since": "4.0.0" } }, { @@ -52,8 +66,9 @@ "description": "Custom HTTP headers you want to pass to the collector, for example auth headers.", "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.headers", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.headers", + "since": "4.0.0" } }, { @@ -63,8 +78,9 @@ "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "defaultValue": "10s", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.timeout", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.timeout", + "since": "4.0.0" } }, { @@ -74,8 +90,9 @@ "sourceType": "org.springframework.boot.opentelemetry.actuate.autoconfigure.logging.OpenTelemetryLoggingExportProperties", "defaultValue": "http", "deprecation": { - "replacement": "management.opentelemetry.logging.export.otlp.transport", - "level": "error" + "level": "error", + "replacement": "management.opentelemetry.logging.export.otlp.transport", + "since": "4.0.0" } } ], diff --git a/module/spring-boot-persistence/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-persistence/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 8b19c747776..e7887d718ba 100644 --- a/module/spring-boot-persistence/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-persistence/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,7 +5,8 @@ "type": "java.lang.Boolean", "deprecation": { "replacement": "spring.persistence.exceptiontranslation.enabled", - "level": "error" + "level": "error", + "since": "4.0.0" } }, { diff --git a/module/spring-boot-reactor-netty/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-reactor-netty/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 210c2117205..f149b50a169 100644 --- a/module/spring-boot-reactor-netty/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-reactor-netty/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,8 +4,9 @@ { "name": "server.netty.max-chunk-size", "deprecation": { + "level": "error", "reason": "Deprecated for removal in Reactor Netty.", - "level": "error" + "since": "3.0.0" } } ] diff --git a/module/spring-boot-reactor/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-reactor/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 437f81bd634..df4eb43eefb 100644 --- a/module/spring-boot-reactor/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-reactor/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,7 +6,8 @@ "description": "Whether Reactor should collect stacktrace information at runtime.", "defaultValue": false, "deprecation": { - "replacement": "spring.reactor.debug-agent.enabled" + "replacement": "spring.reactor.debug-agent.enabled", + "since": "2.2.0" } } ] diff --git a/module/spring-boot-security-oauth2-resource-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-security-oauth2-resource-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json index ccbb1dd449c..8fcd3398be6 100644 --- a/module/spring-boot-security-oauth2-resource-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-security-oauth2-resource-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,8 +5,9 @@ "name": "spring.security.oauth2.resourceserver.jwt.jws-algorithm", "type": "java.lang.String", "deprecation": { + "level": "error", "replacement": "spring.security.oauth2.resourceserver.jwt.jws-algorithms", - "level": "error" + "since": "3.0.0" } } ] diff --git a/module/spring-boot-servlet/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-servlet/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 78428c95f43..7315805c8c1 100644 --- a/module/spring-boot-servlet/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-servlet/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,8 +6,9 @@ "type": "java.nio.charset.Charset", "description": "Charset of HTTP requests and responses. Added to the Content-Type header if not set explicitly.", "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.charset", - "level": "error" + "since": "2.3.0" } }, { @@ -16,8 +17,9 @@ "description": "Whether to enable http encoding support.", "defaultValue": true, "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.enabled", - "level": "error" + "since": "2.3.0" } }, { @@ -26,8 +28,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP requests and responses.", "defaultValue": false, "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.force", - "level": "error" + "since": "2.3.0" } }, { @@ -36,8 +39,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP requests. Defaults to true when force has not been specified.", "defaultValue": true, "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.force-request", - "level": "error" + "since": "2.3.0" } }, { @@ -46,8 +50,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP responses.", "defaultValue": false, "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.force-response", - "level": "error" + "since": "2.3.0" } }, { @@ -55,8 +60,9 @@ "type": "java.util.Map", "description": "Locale in which to encode mapping.", "deprecation": { + "level": "error", "replacement": "server.servlet.encoding.mapping", - "level": "error" + "since": "2.3.0" } }, { @@ -65,8 +71,9 @@ "description": "Whether logging of (potentially sensitive) request details at DEBUG and TRACE level is allowed.", "defaultValue": false, "deprecation": { + "level": "error", "replacement": "spring.mvc.log-request-details", - "level": "error" + "since": "2.3.0" } }, { diff --git a/module/spring-boot-session-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-session-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 0be336c21b0..7d9bc078771 100644 --- a/module/spring-boot-session-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-session-data-redis/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -9,7 +9,8 @@ "description": "Cron expression for expired session cleanup job. Only supported when repository-type is set to indexed. Not supported with a reactive session repository.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.cleanup-cron" + "replacement": "spring.session.data.redis.cleanup-cron", + "since": "4.0.0" } }, { @@ -17,7 +18,8 @@ "description": "The configure action to apply when no user-defined ConfigureRedisAction or ConfigureReactiveRedisAction bean is present.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.configure-action" + "replacement": "spring.session.data.redis.configure-action", + "since": "4.0.0" } }, { @@ -25,7 +27,8 @@ "description": "Sessions flush mode. Determines when session changes are written to the session store. Not supported with a reactive session repository.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.flush-mode" + "replacement": "spring.session.data.redis.flush-mode", + "since": "4.0.0" } }, { @@ -33,7 +36,8 @@ "description": "Namespace for keys used to store sessions.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.namespace" + "replacement": "spring.session.data.redis.namespace", + "since": "4.0.0" } }, { @@ -41,7 +45,8 @@ "description": "Type of Redis session repository to configure.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.repository-type" + "replacement": "spring.session.data.redis.repository-type", + "since": "4.0.0" } }, { @@ -49,7 +54,8 @@ "description": "Sessions save mode. Determines how session changes are tracked and saved to the session store.", "deprecation": { "level": "error", - "replacement": "spring.session.data.redis.save-mode" + "replacement": "spring.session.data.redis.save-mode", + "since": "4.0.0" } } ] diff --git a/module/spring-boot-sql/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-sql/src/main/resources/META-INF/additional-spring-configuration-metadata.json index c7df526ef4e..e97ed534f31 100644 --- a/module/spring-boot-sql/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-sql/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,8 +6,9 @@ "description": "Whether basic script-based initialization of an SQL database is enabled.", "defaultValue": true, "deprecation": { + "level": "warning", "replacement": "spring.sql.init.mode", - "level": "warning" + "since": "2.5.1" } } ], diff --git a/module/spring-boot-tomcat/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-tomcat/src/main/resources/META-INF/additional-spring-configuration-metadata.json index eba24ad2423..c912eda4d4a 100644 --- a/module/spring-boot-tomcat/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-tomcat/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,14 +5,16 @@ "name": "server.tomcat.max-http-post-size", "type": "org.springframework.util.unit.DataSize", "deprecation": { + "level": "error", "replacement": "server.tomcat.max-http-form-post-size", - "level": "error" + "since": "2.3.0" } }, { "name": "server.tomcat.reject-illegal-header", "deprecation": { - "level": "error" + "level": "error", + "since": "2.7.12" } } ], diff --git a/module/spring-boot-web-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-web-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json index f04fdaac14b..858e8eff87e 100644 --- a/module/spring-boot-web-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-web-server/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,8 +4,9 @@ "name": "server.connection-timeout", "type": "java.time.Duration", "deprecation": { + "level": "error", "reason": "Each server behaves differently. Use server specific properties instead.", - "level": "error" + "since": "2.1.0" } }, { @@ -46,8 +47,9 @@ { "name": "server.max-http-header-size", "deprecation": { + "level": "error", "replacement": "server.max-http-request-header-size", - "level": "error" + "since": "3.0.0" } }, { @@ -56,8 +58,9 @@ "description": "Maximum size in bytes of the HTTP post content.", "defaultValue": 0, "deprecation": { + "level": "error", "reason": "Use dedicated property for each container.", - "level": "error" + "since": "3.0.0" } }, { @@ -101,8 +104,9 @@ "type": "java.nio.charset.Charset", "description": "Charset of HTTP requests and responses. Added to the Content-Type header if not set explicitly.", "deprecation": { + "level": "error", "replacement": "spring.servlet.encoding.charset", - "level": "error" + "since": "4.0.0" } }, { @@ -111,8 +115,9 @@ "description": "Whether to enable http encoding support.", "defaultValue": true, "deprecation": { + "level": "error", "replacement": "spring.servlet.encoding.enabled", - "level": "error" + "since": "4.0.0" } }, { @@ -121,8 +126,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP requests and responses.", "defaultValue": false, "deprecation": { + "level": "error", "replacement": "spring.servlet.encoding.force", - "level": "error" + "since": "4.0.0" } }, { @@ -131,8 +137,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP requests. Defaults to true when force has not been specified.", "defaultValue": true, "deprecation": { + "level": "error", "replacement": "spring.servlet.encoding.force-request", - "level": "error" + "since": "4.0.0" } }, { @@ -141,8 +148,9 @@ "description": "Whether to force the encoding to the configured charset on HTTP responses.", "defaultValue": false, "deprecation": { + "level": "error", "replacement": "spring.servlet.encoding.force-response", - "level": "error" + "since": "4.0.0" } }, { @@ -160,15 +168,17 @@ "description": "Path of the main dispatcher servlet.", "defaultValue": "/", "deprecation": { + "level": "error", "replacement": "spring.mvc.servlet.path", - "level": "error" + "since": "2.1.0" } }, { "name": "server.servlet.session.cookie.comment", "description": "Comment for the cookie.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.1.0" } }, { @@ -208,9 +218,10 @@ "name": "server.use-forward-headers", "type": "java.lang.Boolean", "deprecation": { + "level": "error", "reason": "Replaced to support additional strategies.", "replacement": "server.forward-headers-strategy", - "level": "error" + "since": "4.0.0" } } ] diff --git a/module/spring-boot-webflux/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-webflux/src/main/resources/META-INF/additional-spring-configuration-metadata.json index bb00b3730ca..43e3239a513 100644 --- a/module/spring-boot-webflux/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-webflux/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -11,8 +11,9 @@ "name": "spring.webflux.multipart.streaming", "type": "java.lang.Boolean", "deprecation": { + "level": "error", "reason": "Replaced by the PartEventHttpMessageReader and the PartEvent API.", - "level": "error" + "since": "3.0.0" } } ], diff --git a/module/spring-boot-webmvc/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-webmvc/src/main/resources/META-INF/additional-spring-configuration-metadata.json index d62e279feb9..bc4237f287c 100644 --- a/module/spring-boot-webmvc/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-webmvc/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,7 +6,8 @@ "type": "java.lang.String", "description": "Date format to use, for example 'dd/MM/yyyy'.", "deprecation": { - "level": "error" + "level": "error", + "since": "3.0.0" } }, { @@ -14,7 +15,8 @@ "type": "java.lang.Boolean", "description": "Whether to enable resolution of favicon.ico.", "deprecation": { - "level": "error" + "level": "error", + "since": "2.2.0" } }, { @@ -29,8 +31,9 @@ "description": "Whether to enable Spring's HttpPutFormContentFilter.", "defaultValue": true, "deprecation": { + "level": "error", "replacement": "spring.mvc.formcontent.filter.enabled", - "level": "error" + "since": "2.1.0" } }, { @@ -42,31 +45,35 @@ { "name": "spring.mvc.ignore-default-model-on-redirect", "deprecation": { + "level": "error", "reason": "Deprecated for removal in Spring MVC.", - "level": "error" + "since": "3.0.0" } }, { "name": "spring.mvc.locale", "type": "java.util.Locale", "deprecation": { + "level": "error", "replacement": "spring.web.locale", - "level": "error" + "since": "2.4.0" } }, { "name": "spring.mvc.locale-resolver", "type": "org.springframework.boot.autoconfigure.web.WebProperties$LocaleResolver", "deprecation": { + "level": "error", "replacement": "spring.web.locale-resolver", - "level": "error" + "since": "2.4.0" } }, { "name": "spring.mvc.throw-exception-if-no-handler-found", "deprecation": { - "reason": "DispatcherServlet property is deprecated for removal and should no longer need to be configured.", - "level": "error" + "level": "error", + "reason": "DispatcherServlet property is deprecated for removal and should no longer need to be configured.", + "since": "3.2.0" } } ], diff --git a/module/spring-boot-zipkin/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/module/spring-boot-zipkin/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 7fde18760f9..5be2308fc48 100644 --- a/module/spring-boot-zipkin/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/module/spring-boot-zipkin/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -4,29 +4,33 @@ { "name": "management.zipkin.tracing.connect-timeout", "deprecation": { + "level": "error", "replacement": "management.tracing.export.zipkin.connect-timeout", - "level": "error" + "since": "3.2.0" } }, { "name": "management.zipkin.tracing.encoding", "deprecation": { + "level": "error", "replacement": "management.tracing.export.zipkin.encoding", - "level": "error" + "since": "3.2.0" } }, { "name": "management.zipkin.tracing.endpoint", "deprecation": { + "level": "error", "replacement": "management.tracing.export.zipkin.endpoint", - "level": "error" + "since": "3.2.0" } }, { "name": "management.zipkin.tracing.read-timeout", "deprecation": { + "level": "error", "replacement": "management.tracing.export.zipkin.read-timeout", - "level": "error" + "since": "3.2.0" } } ],