Releases: spring-projects/spring-boot
Releases · spring-projects/spring-boot
v2.7.6
🐞 Bug Fixes
ScheduledBeanLazyInitializationExcludeFilter
is auto-configured even when annotation-based scheduled has not been enabled #33283- SpringBootContextLoader prints banner twice when using a
@ContextHierarchy
#33262 - Properties migrator causes an application to fail to start if it tries to map a property whose metadata data entry contains an invalid configuration property name #33249
- Configuration property binding does not deal with bridge methods #33211
- Configuring management.server.port via a config tree results in a ConverterNotFoundException when the management context is refreshed #33168
- Dependency management for XMLUnit is incomplete #32999
- Spring Boot's Lettuce metrics enable histrograms by default and it's hard to switch them off #32989
- Dependency management for Selenium is incomplete #32861
- NumberFormatException when configuring spring.redis.sentinel.nodes with an IPv6 address #32836
📔 Documentation
- Align Tomcat multiple connectors example with recommendation to configure SSL declaratively #33331
- ConditionalOnClass not working for Bean methods on Java 8 #33328
- Actuator document is misleading about k8s startup probe #33326
- Link to Micrometer's
@Timed
documentation #33265 - Clarify use of the
spring.cache.type
property with Hazelcast #33257 - Example git.commit.time in the Actuator API documentation is thousands of years in the future #33255
- Links to Features describes sections that have moved elsewhere #33213
- Fix kafka streams auto start description typo in reference docs #33101
- OAuth 2 configuration example uses unrecognized value for authorization grant type #33068
- Fix typos in logging.adoc #32820
- Harmonize code sample in the "Type-safe Configuration Properties" section #32818
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.19 #33272
- Upgrade to Dropwizard Metrics 4.2.13 #33321
- Upgrade to Ehcache3 3.10.8 #33322
- Upgrade to Elasticsearch 7.17.7 #33171
- Upgrade to Hazelcast 5.1.5 #33172
- Upgrade to Hibernate 5.6.14.Final #33173
- Upgrade to HttpClient5 5.1.4 #33323
- Upgrade to HttpCore5 5.1.5 #33174
- Upgrade to Janino 3.1.9 #33274
- Upgrade to Jaybird 4.0.7.java8 #33175
- Upgrade to MariaDB 3.0.9 #33176
- Upgrade to Micrometer 1.9.6 #33129
- Upgrade to Netty 4.1.85.Final #33177
- Upgrade to Postgresql 42.3.8 #33338
- Upgrade to Reactor 2020.0.25 #33130
- Upgrade to Spring AMQP 2.4.8 #33223
- Upgrade to Spring Data 2021.2.6 #33132
- Upgrade to Spring Framework 5.3.24 #33131
- Upgrade to Spring GraphQL 1.0.3 #33150
- Upgrade to Spring Kafka 2.8.11 #33133
- Upgrade to Spring REST Docs 2.0.7.RELEASE #33134
- Upgrade to Spring Security 5.7.5 #33178
- Upgrade to Spring WS 3.1.4 #33179
- Upgrade to Tomcat 9.0.69 #33180
❤️ Contributors
Thank you to all the contributors who worked on this release:
@EricGao888, @biergit, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @izeye, @jamessoun93, and @sdeleuze
v2.6.14
🐞 Bug Fixes
ScheduledBeanLazyInitializationExcludeFilter
is auto-configured even when annotation-based scheduled has not been enabled #33276- Configuration property binding does not deal with bridge methods #33105
- SpringBootContextLoader prints banner twice when using a
@ContextHierarchy
#33079 - Dependency management for XMLUnit is incomplete #32998
- Spring Boot's Lettuce metrics enable histrograms by default and it's hard to switch them off #32985
- Configuring management.server.port via a config tree results in a ConverterNotFoundException when the management context is refreshed #32941
- NumberFormatException when configuring spring.redis.sentinel.nodes with an IPv6 address #32762
- Properties migrator causes an application to fail to start if it tries to map a property whose metadata data entry contains an invalid configuration property name #32729
- Dependency management for Selenium is incomplete #32721
📔 Documentation
- Link to Micrometer's
@Timed
documentation #33264 - Clarify use of the
spring.cache.type
property with Hazelcast #33245 - Example git.commit.time in the Actuator API documentation is thousands of years in the future #33237
- Links to Features describes sections that have moved elsewhere #33207
- Fix kafka streams auto start description typo in reference docs #33098
- OAuth 2 configuration example uses unrecognized value for authorization grant type #32931
- Fix typos in logging.adoc #32812
- Harmonize code sample in the "Type-safe Configuration Properties" section #32644
- Align Tomcat multiple connectors example with recommendation to configure SSL declaratively #28707
- Actuator document is misleading about k8s startup probe #28432
- ConditionalOnClass not working for Bean methods on Java 8 #27846
🔨 Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.2.13 #33319
- Upgrade to Hibernate 5.6.14.Final #33157
- Upgrade to HttpClient5 5.1.4 #33320
- Upgrade to HttpCore5 5.1.5 #33158
- Upgrade to Janino 3.1.9 #33271
- Upgrade to Jaybird 4.0.7.java8 #33159
- Upgrade to MariaDB 2.7.7 #33160
- Upgrade to Micrometer 1.8.12 #33122
- Upgrade to Netty 4.1.85.Final #33161
- Upgrade to Postgresql 42.3.8 #33337
- Upgrade to Reactor 2020.0.25 #33123
- Upgrade to Spring AMQP 2.4.8 #33222
- Upgrade to Spring Data 2021.1.10 #33125
- Upgrade to Spring Framework 5.3.24 #33124
- Upgrade to Spring Kafka 2.8.11 #33126
- Upgrade to Spring REST Docs 2.0.7.RELEASE #33127
- Upgrade to Spring Security 5.6.9 #33162
- Upgrade to Spring WS 3.1.4 #33163
- Upgrade to Tomcat 9.0.69 #33164
❤️ Contributors
Thank you to all the contributors who worked on this release:
@EricGao888, @dreis2211, @eurythmia, @hpoettker, @iamgd67, @jamessoun93, and @sdeleuze
v3.0.0-RC2
⭐ New Features
- Switch to the Eclipse Angus Jakarta Mail Reference Implementation #33059
- Remove dependency management for unused EL-related dependencies #33035
- Unify actuator descriptor class names #33022
- Rename spring-session.bom.version property to spring-session.version to align with changes to Spring Session's version scheme and bom #32952
- Add support for CNB platform API 0.10 #32949
- Rename httptrace endpoint and related classes to httpexchanges #32885
- Support isolated actuator ObjectMapper #20291
🐞 Bug Fixes
- When replacing any database,
@AutoConfigureTestDatabase
does not work in a native test #33100 - Auto-configured OtelTracer does not back off when another kind of Tracer bean is defined #33097
- Auto-configured BraveTracer does not back off when another kind of Tracer bean is defined #33095
- Unnecessary javax Servlet and JSTL dependencies in spring-boot-dependencies #33094
- NullPointerException in LazyTracingSpanContextSupplier when TraceContext.sampled() returns null #33093
- Default security filter dispatcher types are not aligned with Spring Security's defaults #33090
- Inner classes of a
@JsonComponent
are ignored in a native image #33089 - Unlike Spring Cloud Sleuth tracing auto-configuration does not provide span customizer beans #33087
- Configuring spring.jackson.property-naming-strategy fails in a native image #33080
- Dependency management for Selenium is incomplete #33076
- management.endpoints.jmx.exposure.include meta-data json contains incorrect default value #33072
- Context refresh may deadlock when using Prometheus Exemplars #33070
- ConfigurationProperties constructor
@Autowired
detection fails for proxy classes #33061 - Logback
<if>
blocks cannot read spring properties #33028 - Spring Boot 3.0 no longer logs guidance to enable debug logging to see the condition evaluation report when the app fails to start #33027
- Dependency management for XMLUnit is incomplete #33000
- Spring Boot's Lettuce metrics enable histrograms by default and it's hard to switch them off #32990
- Spring Boot's auto-configuration for Lettuce metrics enables histograms by default #32986
- management.observations.http.server.requests.name is ignored when auto-configuring meter filters for maximum allowable uri tags #32973
- The version of Hazelcast Hibernate is managed unnecessarily #32953
@JsonMixin
not working in native-image #32929- Missing runtime hints for default Liquibase migration file #32926
- Build failures caused by using a version of GraalVM that does not meet our minimum requirements are hard to diagnose #32924
- Execution optimizations have been disabled for task
processAot
withkapt
Gradle Plugin #32919 - Logging hostname at startup can take a prohibitively long time #32908
- Micrometer Tracer not available in integration tests #32907
- Auto configuration for data-elasticsearch does not configure mapper that can handle MapDocument payload #32906
- OTel W3C doesn't propagate remote fields #32898
- Missing resource hint for banner.txt #32882
- HttpGraphQlTesterContextCustomizer runs twice when using AOT #32872
- OutputCaptureExtension fails in native image tests: NoSuchMethodException: OutputCapture.
<init>
#32870 @RestClientTest
fails in native image tests: Failed to instantiate SimpleRequestExpectationManager #32867- EmbeddedDatabaseConnection was unintentionally initialized at build time when using
@DataJpaTest
#32865 - Cyclic dependency between
@JsonComponents
and ObjectMapper causes JsonComponents to be ignored #32863 - Properties not available when using SpringBootTest.UseMainMethod.ALWAYS #32860
- Native testing of a WebFlux-based app using a random or defined port fails with "Runtime reflection is not supported for WebTestClientContextCustomizer$WebTestClientRegistrar" #32859
- JsonTesters do not work in native tests #32858
- Setting a RestTemplateBuilder read timeout results in an IllegalStateException due to deprecations in HttpComponentsClientHttpRequestFactory #32857
- Package-private ResourceProviderCustomizer prevents external usage of FlywayAutoConfiguration class #32849
TestRestTemplate
is not compatible with Native Image #32848- Native image built with Gradle fails to start when
spring-boot-devtools
is included as developmentOnly dependency #32843 - When building with Maven, only resources generated beneath META-INF/native-image are available for inclusion in a native image #32841
- Configuring com.github.loki4j.logback.Loki4jAppender in logback.xml does not work in a native image #32839
- NumberFormatException when configuring spring.redis.sentinel.nodes with an IPv6 address #32837
- Manifests of jars built with Gradle do not have a Build-Jdk-Spec entry #32829
- Application Context initialized twice during test when exception thrown during initialization #31793
- MeterBinder beans that directly or indirectly depend on MeterRegistry beans cause a cycle #30636
📔 Documentation
- Fix kafka streams auto start description typo in reference docs #33102
- OAuth 2 configuration example uses unrecognized value for authorization grant type #33069
- Reference documentation refers to artemis-jms-server but artemis-jakarta-server should now be used instead #33065
- Remove legacy cookie processor documentation #33021
- Change references to Spring Cloud Sleuth for SpanContextSupplier to Micrometer Tracing #32994
- Remove Infinispan's Spring Boot Starter in README #32974
- Document how to observe JDBC project with Spring Boot and micrometer-observations #32912
- Remove mention of MetricsWebFilter from reference documentation #32909
- Remove note about Infinispan's Spring Boot Starter as it is not yet 3.0-compatible #32896
- Delete WebSecurityConfigurerAdapter from Javadoc in SpringBootWebSecurityConfiguration / SecurityProperties #32879
- Add documentation for micrometer observation [#32833](https://github.com/spring-projects/spring-boot/i...
v3.0.0-RC1
⭐ New Features
- Use GraphQL Observation instrumentation #32794
- Make consistent use of Property for Gradle task configuration #32769
- When the GraalVM Native Image Gradle plugin is applied, configure bootBuildImage to build a native image #32768
- When the native Maven profile is enabled, configure build-image to build a native image #32764
- Process logback.xml ahead-of-time to allow its configuration to be used in a native image #32756
- When using Brave, auto-configure a CompositeSpanHandler with span exporting predicates, filters, and reporters #32753
- Generate native-image argfile containing reachability metadata excludes for buildpacks to use #32738
- When the GraalVM Native Image Gradle plugin is applied, configure bootJar to contain the output of collectReachabilityMetadata #32737
- Provide maven configuration for native-build-tools reachability metadata goal #32736
- Log4J2 configuration URLs should respect system settings #32735
- Support profile specific Log4j2 configuration #32734
- Add Log4J2 PropertySource backed by the Spring Environment #32733
- Add Log4j2 StrLookup backed by the Spring Environment #32732
- Add Spring Environment to Log4j2 LoggerContext #32731
- Add support 'log4j.configurationFile' system property #32730
- Relocate
@ConstructorBinding
to bind package and update default behavior #32660 - Remove spring.webflux.multipart.streaming property #32658
- Auto-configure ProblemDetails support for Spring MVC and Spring WebFlux #32634
- Make auto-configured Brave Tracer more compliant with OTel tracer #32615
- Allow the auto-configured Rabbit Stream Environment to be customized #32580
- Add support for specifying application arguments when application is processed ahead-of-time #32579
- Provide extensions that remove the need for the log4j-spring-boot log4j2 module #32578
- Allow user to replace auto-configured Spring Data JDBC beans with their own #32571
- Remove remaining properties and APIs that were deprecated in Spring Boot 2.x #32548
- Move WebFlux metrics auto-configuration to the new Observation instrumentation #32539
- Move MVC metrics auto-configuration to the new Observation instrumentation #32538
- Prefer WebClient to RestTemplate when creating the Zipkin Sender #32529
- Update WebClient metrics auto-configuration to the new Observation instrumentation #32518
- Require micrometer-tracing-bridge-otel to auto-configure OpenTelemetry #32503
- Require micrometer-tracing-bridge-brave to auto-configure Brave #32502
- Update RestTemplate metrics auto-configuration to the new Observation instrumentation #32484
- MDC & Baggage AutoConfiguration for Micrometer Tracing with Brave and OpenTelemetry #32480
- Allow a Rabbit Stream Environment and Template to be auto-configured when not using a streaming listener container factory #32477
- Adapt to HttpComponentClientHttpRequestFactory changes #32461
- Add auto-configuration for Prometheus Exemplars #32415
- Auto-configure a TracingAwareMeterObservationHandler to make tracing interoperable with metrics #32399
- Add logging at INFO level if AOT is enabled and working #32396
- Output auto-configuration report for context processed ahead-of-time #32109
- Add native-image support for Flyway #31999
- Allow "native" Maven profile to support both NBT and buildpacks #31770
- Change phases of WebServer start-stop and graceful shutdown lifecycles to allow other smart lifecycles to run before graceful shutdown #31714
- Allow ThreadDumpEndpoint to call ThreadMXBean in a native image #31680
- Deprecate server.max-http-header-size in favor of new server.max-http-request-header-size property #29382
- Make the runScripts method on AbstractScriptDatabaseInitializer more extensible #29137
🐞 Bug Fixes
- Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32778
- Actuator configprops endpoint does not display DataSize properties correctly #32776
@Bean
methods in KafkaAutoConfiguration provide less type information than they could #32774- PEM formatted elliptic-curve TLS keys are an unrecognized private key format #32682
- Auto-configuration of ObservationRestTemplateCustomizer fails when micrometer-core is not on the classpath #32676
- Correct configuration of native and AOT-related tasks depends on plugin application order #32661
- ConstructorBinding default detection is considered with a private constructor #32639
- ConfigDataProperties is missing RuntimeHints #32608
- Killing
mvn spring-boot:run
does not kill child process #32607 - Assertion calls on CapturedOutput with Kotlin are very slow #32576
- Classpath scanning of Jackson mixin modules does not work in a native image #32567
- Empty
@DefaultValue
cannot be used on collections, maps, arrays or optional values #32564 - Native tests fail when using
@SpringBootTest
with RANDOM_PORT or DEFINED_PORT #32542 - Use of reflection in AbstractCompositeHealthContributorConfiguration can cause an app using actuator to fail to start in a native image #32541
- WebClient- and RestTemplate-based Zipkin senders can cause a bean dependency cycle #32528
- AOT processing does not work when Devtools is on the classpath #32517
- CouchbaseReactiveHealthIndicator uses blocking API to retrieve the cluster diagnostics #32514
- BootBuildImage's archiveFile property is annotated as an
@Input
but should be annotated as an@InputFile
#32500 - Response from loggers endpoint is incomplete in a native image #32486
- Logging beans are missing during AOT processing #32483
- EmbeddedLdapContextConfiguration LdapContextSource bean creation not populating base property #23030
📔 Documentation
- Fix typos in logging.adoc #32821
- Harmonize code sample in the "Type-safe Configuration Properties" section [#32819](https://github.com/spring-projects/spring-bo...
v2.7.5
🐞 Bug Fixes
- Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32777
- Actuator configprops endpoint does not display DataSize properties correctly #32775
@Bean
methods in KafkaAutoConfiguration provide less type information than they could #32773- PEM formatted elliptic-curve TLS keys are an unrecognized private key format #32681
- Assertion calls on CapturedOutput with Kotlin are very slow #32575
- Empty
@DefaultValue
cannot be used on collections, maps, arrays or optional values #32563 - CouchbaseReactiveHealthIndicator uses blocking API to retrieve the cluster diagnostics #32513
- BootBuildImage's archiveFile property is annotated as an
@Input
but should be annotated as an@InputFile
#32499
📔 Documentation
- Remove redundant
@ExtendWith
(SpringExtension.class) from MyJmxTests example #32515
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.18 #32697
- Upgrade to Dependency Management Plugin 1.0.15.RELEASE #32786
- Upgrade to Ehcache3 3.10.2 #32663
- Upgrade to Embedded Mongo 3.4.11 #32664
- Upgrade to Glassfish JAXB 2.3.7 #32787
- Upgrade to Hazelcast 5.1.4 #32698
- Upgrade to Hibernate 5.6.12.Final #32665
- Upgrade to Infinispan 13.0.12.Final #32788
- Upgrade to Jackson Bom 2.13.4.20221013 #32724
- Upgrade to Jetty Reactive HTTPClient 1.1.13 #32699
- Upgrade to Lettuce 6.1.10.RELEASE #32666
- Upgrade to Micrometer 1.9.5 #32591
- Upgrade to MySQL 8.0.31 and extend dependency management to new Maven identifiers #32781
- Upgrade to Netty 4.1.84.Final #32700
- Upgrade to Reactor 2020.0.24 #32592
- Upgrade to Spring Data 2021.2.5 #32595
- Upgrade to Spring Kafka 2.8.10 #32596
- Upgrade to Spring Retry 1.3.4 #32594
- Upgrade to Spring Security 5.7.4 #32597
- Upgrade to Tomcat 9.0.68 #32667
- Upgrade to Undertow 2.2.20.Final #32668
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.13
🐞 Bug Fixes
@Bean
methods in KafkaAutoConfiguration provide less type information than they could #32770- PEM formatted elliptic-curve TLS keys are an unrecognized private key format #32646
- Actuator configprops endpoint does not display DataSize properties correctly #32645
- Empty
@DefaultValue
cannot be used on collections, maps, arrays or optional values #32559 - Multi-Document-Separators "#---" comment checks do not account for '!' prefixed comments #32521
- CouchbaseReactiveHealthIndicator uses blocking API to retrieve the cluster diagnostics #32505
- BootBuildImage's archiveFile property is annotated as an
@Input
but should be annotated as an@InputFile
#32495 - Assertion calls on CapturedOutput with Kotlin are very slow #32033
📔 Documentation
- Remove redundant
@ExtendWith
(SpringExtension.class) from MyJmxTests example #32476
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.0.15.RELEASE #32784
- Upgrade to Ehcache3 3.9.10 #32648
- Upgrade to Glassfish JAXB 2.3.7 #32785
- Upgrade to Hibernate 5.6.12.Final #32649
- Upgrade to Jackson Bom 2.13.4.20221013 #32722
- Upgrade to Jetty Reactive HTTPClient 1.1.13 #32723
- Upgrade to Lettuce 6.1.10.RELEASE #32669
- Upgrade to Micrometer 1.8.11 #32586
- Upgrade to MySQL 8.0.31 and extend dependency management to new Maven identifiers #32747
- Upgrade to Netty 4.1.84.Final #32695
- Upgrade to Reactor 2020.0.24 #32587
- Upgrade to Spring Data 2021.1.9 #32588
- Upgrade to Spring Kafka 2.8.10 #32589
- Upgrade to Spring Retry 1.3.4 #32593
- Upgrade to Spring Security 5.6.8 #32590
- Upgrade to Tomcat 9.0.68 #32650
- Upgrade to Undertow 2.2.20.Final #32651
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v3.0.0-M5
⭐ New Features
- Update Gradle plugin to skip processAot when there is no main source and to skip processTestAot when there is no test source #32424
- Provide GraalVM metadata repository files in Spring Boot jar built with Gradle #32408
- Configure Batch with the auto-configured PlatformTransactionManager #32330
- Add reflection hints to allow the configured and actual ports to be retrieved when using Undertow in a native image #32303
- Provide a public API for SpringApplication hooks #32301
- Allow application listeners to register additional listeners in early events #32300
- Make EventPublishingRunListener package private #32299
- Remove grab, install, jar, run, uninstall, and war commands from the CLI #32263
- Add NINETEEN to JavaVersion enum #32261
- Remove AnsiColors #32209
- Add support for configuring Spring Session Redis repository #32205
- Add Gradle plugin support for processing test contexts ahead-of-time #32192
- Add Maven plugin support for processing test contexts ahead-of-time #32191
- Refine
ConfigurationPropertiesReflectionHintsProcessor
#32186 - Remove ANTLR 2 dependency management #32149
- Avoid proxy in ValidationAutoConfiguration #32134
- Allow multiple hosts to be set in MongoProperties #32125
- Add native hints for default LDIF file #32084
- Add native-image support for Freemarker #32052
- Add socketKeepAlive configuration property for Elasticsearch #32051
- Simplify Flway auto-configuration by dropping support for older versions #32036
- Remove use of reflection in MustacheViewResolver #32030
- Align default JMX endpoint exposure with default web endpoint exposure #32005
- Add disk space health indicator's path to its details and log message #31998
- Update SpringBootContextLoader to support AOT #31965
- Harmonize AOT goal/task names #31918
- Add native-image support for RestTemplateBuilder #31888
- Remove custom classifier in the native profile in favor of configuring NBT's classesDirectory #31848
- Avoid creating compileAotJava and processAotResources tasks at configuration time #31844
- Reinstate Spring for GraphQL auto-configuration #31809
- Add support for customizing WebJars resource handler path pattern #31769
- Migrate to AuthorizationFilter in Spring Security auto-config #31255
- Support Mongo's Stable API in MongoHealthIndicator #30849
- Reinstate support for Jersey #28637
- Rework HeapDumper strategy interface to be less HotSpot-specific #27533
- Make it easier to apply customisations to the SpringApplication created by
@SpringBootTest
#22405 - Update data properties to make it clear which stores do and do not require Spring Data #11574
🐞 Bug Fixes
- Execution optimisations are disabled for generateResourcesConfigFile and nativeCompile #32465
- Tracing and metrics handlers are registered in the wrong order #32463
- Auto-configured DefaultMeterObservationHandler does not back off when the user defines their own MeterObservationHandler #32462
- Generated classes are not available with nativeTest #32428
- Constructor binding of
@ConfigurationProperties
to a Kotlin Data Class with default values doesn't work any more #32416 - DataSource logging in H2 console auto-configuration causes Hikari's threads to have the wrong thread context class loader #32407
- IntelliJ IDEA cannot resolve references to AOT-generated classes in AOT-generated source #32395
- ConnectionFactoryBuilder does not map minIdle #32332
- Generated classes are not available in the compiler's classpath #32304
- Hazelcast auto-configuration recognizes hazelcast.xml and hazelcast.yaml files but not hazelcast.yml #32248
- Hazelcast shutdown logs are not available out-of-the-box #32246
- Detection of PeriodStyle.ISO8601 does not support lower-case input #32245
- Detection of DurationStyle.ISO8601 does not support lower-case input #32232
- YAML timestamps not handled properly with SnakeYaml 1.31 #32230
- Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32146
- Error "/var/run/docker.sock: connect: permission denied" occurs when building an image using podman on Fedora with SELinux enabled #32122
- Misleading error message when using JarMode Layertools and the source is not an archive #32098
- ClassNotFoundException can be thrown for classes in nested jars when under GC pressure #32086
- Flyway Callbacks and JavaMigrations configured in FlywayConfigurationCustomizer are overwritten by beans of the same type #32070
- BasicJsonParser does not protect against deeply nested maps #32032
- OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port #31985
- When building with Gradle, transitive runtime dependencies are not available during AOT processing #31970
- Servlet WebServerStartStopLifecycle doesn't set running to false on stop #31968
- JUL-based logging performed during close of application context is lost #31964
- Wrong timeunit for timeouts in Zipkins URLConnectionSender #31957
- WavefrontSenderConfiguration is ineffective #31954
- The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact #31950
- management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups #31927
- UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 #31922
- Dev Tools restart failures caused by a too short quiet period are hard to diagnose #31907
- HealthContributor beans managed by a CompositeHealthContributor are recreated on each call #31880
- Dependency management for REST Assured is incomplete [#31878](https://github.com/spring-p...
v2.7.4
⭐ New Features
- Add NINETEEN to JavaVersion enum #32260
🐞 Bug Fixes
- DataSource logging in H2 console auto-configuration causes Hikari's threads to have the wrong thread context class loader #32406
- Hazelcast auto-configuration recognizes hazelcast.xml and hazelcast.yaml files but not hazelcast.yml #32247
- Detection of PeriodStyle.ISO8601 does not support lower-case input #32244
- Detection of DurationStyle.ISO8601 does not support lower-case input #32231
- YAML timestamps not handled properly with SnakeYaml 1.31 #32229
- Hazelcast shutdown logs are not available out-of-the-box #32184
- Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32145
- Error "/var/run/docker.sock: connect: permission denied" occurs when building an image using podman on Fedora with SELinux enabled #32000
📔 Documentation
- Document support for JDK 19 #32402
- Clarify documentation of config sub-directory from which external application properties are read #32291
- Clarify documentation on disabling web client request metrics #32198
- Kotlin sample is missing for constructor binding #32177
- Remove out-of-date link from auto-configuration documentation #32174
- Improve
@ConditionalOnClass
javadoc regarding use on@Bean
methods #32167 - Document classpath* location for looking up GraphQL schemas across modules #31772
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.17 #32454
- Upgrade to Couchbase Client 3.3.4 #32315
- Upgrade to Dependency Management Plugin 1.0.14.RELEASE #32459
- Upgrade to Dropwizard Metrics 4.2.12 #32316
- Upgrade to Ehcache3 3.10.1 #32317
- Upgrade to Elasticsearch 7.17.6 #32318
- Upgrade to Embedded Mongo 3.4.9 #32319
- Upgrade to Groovy 3.0.13 #32443
- Upgrade to Hibernate 5.6.11.Final #32320
- Upgrade to Hibernate Validator 6.2.5.Final #32321
- Upgrade to Infinispan 13.0.11.Final #32322
- Upgrade to Jackson Bom 2.13.4 #32323
- Upgrade to Janino 3.1.8 #32324
- Upgrade to Jetty 9.4.49.v20220914 #32444
- Upgrade to Johnzon 1.2.19 #32325
- Upgrade to Kafka 3.1.2 #32326
- Upgrade to MariaDB 3.0.8 #32445
- Upgrade to Micrometer 1.9.4 #32272
- Upgrade to Netty 4.1.82.Final #32327
- Upgrade to Postgresql 42.3.7 #32243
- Upgrade to R2DBC Bom Borca-SR2 #32328
- Upgrade to Reactor 2020.0.23 #32273
- Upgrade to RSocket 1.1.3 #32380
- Upgrade to Spring AMQP 2.4.7 #32276
- Upgrade to Spring Batch 4.3.7 #32278
- Upgrade to Spring Data 2021.2.3 #32275
- Upgrade to Spring Framework 5.3.23 #32274
- Upgrade to Spring GraphQL 1.0.2 #32426
- Upgrade to Spring HATEOAS 1.5.2 #32378
- Upgrade to Spring Integration 5.5.15 #32453
- Upgrade to Spring Kafka 2.8.9 #32277
- Upgrade to UnboundID LDAPSDK 6.0.6 #32329
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.6.12
⭐ New Features
- Add NINETEEN to JavaVersion enum #32226
🐞 Bug Fixes
- DataSource logging in H2 console auto-configuration causes Hikari's threads to have the wrong thread context class loader #32382
- Detection of PeriodStyle.ISO8601 does not support lower-case input #32235
- YAML timestamps not handled properly with SnakeYaml 1.31 #32228
- Detection of DurationStyle.ISO8601 does not support lower-case input #32223
- Netty 'spring.netty leak detection' default property value is always applied to resource leak detector #32144
- Hazelcast auto-configuration recognizes hazelcast.xml and hazelcast.yaml files but not hazelcast.yml #32142
📔 Documentation
- Document support for JDK 19 #32259
- Clarify documentation of config sub-directory from which external application properties are read #32224
- Improve
@ConditionalOnClass
javadoc regarding use on@Bean
methods #32166 - Clarify documentation on disabling web client request metrics #32136
🔨 Dependency Upgrades
- Upgrade to Dependency Management Plugin 1.0.14.RELEASE #32458
- Upgrade to Dropwizard Metrics 4.2.12 #32305
- Upgrade to Groovy 3.0.13 #32440
- Upgrade to Hibernate 5.6.11.Final #32306
- Upgrade to Hibernate Validator 6.2.5.Final #32307
- Upgrade to Jackson Bom 2.13.4 #32308
- Upgrade to Janino 3.1.8 #32309
- Upgrade to Jetty 9.4.49.v20220914 #32441
- Upgrade to Johnzon 1.2.19 #32310
- Upgrade to Kafka 3.0.2 #32311
- Upgrade to Micrometer 1.8.10 #32265
- Upgrade to Netty 4.1.82.Final #32312
- Upgrade to Postgresql 42.3.7 #32242
- Upgrade to Rector 2020.0.23 #32266
- Upgrade to RSocket 1.1.3 #32379
- Upgrade to Spring AMQP 2.4.7 #32269
- Upgrade to Spring Batch 4.3.7 #32271
- Upgrade to Spring Data 2021.1.7 #32268
- Upgrade to Spring Framework 5.3.23 #32267
- Upgrade to Spring HATEOAS 1.4.5 #32400
- Upgrade to Spring Integration 5.5.15 #32452
- Upgrade to Spring Kafka 2.8.9 #32270
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
v2.7.3
🐞 Bug Fixes
- Misleading error message when using JarMode Layertools and the source is not an archive #32097
- ClassNotFoundException can be thrown for classes in nested jars when under GC pressure #32085
- Flyway auto-configuration fails with Flyway 9 #32034
- BasicJsonParser does not protect against deeply nested maps #32031
- OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port #31984
- Servlet WebServerStartStopLifecycle doesn't set running to false on stop #31967
- JUL-based logging performed during close of application context is lost #31963
- The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact #31949
- management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups #31926
- UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 #31921
- Dev Tools restart failures caused by a too short quiet period are hard to diagnose #31906
- HealthContributor beans managed by a CompositeHealthContributor are recreated on each call #31879
- Dependency management for REST Assured is incomplete #31877
- Jar Handler never clears PROTOCOL_HANDLER system property #31875
- BasicJsonParser can fail with a timeout or stackoverflow with malformed map JSON #31873
- BasicJsonParser can fail with a stackoverflow exception #31871
📔 Documentation
- Review Git contribution documentation #32099
- Documentation for Maven Plugin classifier has an unresolved external reference #32043
- Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default #32026
- Example log output is out-of-date and inconsistent #31987
- Document that Undertow's record-request-start-time server option must be enabled for %D to work in access logging #31976
- Update documentation on using H2C to consider running behind a proxy that's performing TLS termination #31974
- Some properties in the Common Application Properties appendix have no description #31971
- Fix links in documentations #31951
- External configuration documentation uses incorrect placeholder syntax #31943
- server.reactive.session.cookie properties are not listed in the application properties appendix #31914
- Remove documentation and metadata references to ConfigFileApplicationListener #31901
- Metadata for 'spring.beaninfo.ignore' has incorrect SourceType #31899
- Remove reference to nitrite-spring-boot-starter #31893
- Remove reference to Azure Application Insights #31890
- Fix typos in code and documentation #31865
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.12.13 #32013
- Upgrade to Couchbase Client 3.3.3 #32014
- Upgrade to Dependency Management Plugin 1.0.13.RELEASE #32056
- Upgrade to Dropwizard Metrics 4.2.11 #32015
- Upgrade to Embedded Mongo 3.4.8 #32016
- Upgrade to GraphQL Java 18.3 #31945
- Upgrade to Groovy 3.0.12 #32017
- Upgrade to Gson 2.9.1 #32018
- Upgrade to Hazelcast 5.1.3 #32019
- Upgrade to Hibernate Validator 6.2.4.Final #32020
- Upgrade to MariaDB 3.0.7 #32021
- Upgrade to Maven Javadoc Plugin 3.4.1 #32089
- Upgrade to Micrometer 1.9.3 #32022
- Upgrade to MySQL 8.0.30 #32023
- Upgrade to Reactor 2020.0.22 #32038
- Upgrade to Spring Security 5.7.3 #32040
- Upgrade to Undertow 2.2.19.Final #32090
❤️ Contributors
We'd like to thank all the contributors who worked on this release!