spring-projects/spring-boot
### [`v2.5.2`](https://togithub.com/spring-projects/spring-boot/releases/v2.5.2)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.5.1...v2.5.2)
#### :beetle: Bug Fixes
- Instantiator is called without a classloader [#27074](https://togithub.com/spring-projects/spring-boot/issues/27074)
- EnvironmentPostProcessors aren't instantiated with correct ClassLoader [#27073](https://togithub.com/spring-projects/spring-boot/issues/27073)
- EnvironmentPostProcessors aren't instantiated with correct ClassLoader [#27072](https://togithub.com/spring-projects/spring-boot/issues/27072)
- Instantiator is called without a classloader [#27071](https://togithub.com/spring-projects/spring-boot/issues/27071)
- Failure when binding the name of a non-existent class to a Class\> property isn't very helpful [#27061](https://togithub.com/spring-projects/spring-boot/issues/27061)
- Failure when binding the name of a non-existent class to a Class\> property isn't very helpful [#27060](https://togithub.com/spring-projects/spring-boot/issues/27060)
- Unable to exclude dependencies on repackaging war [#27057](https://togithub.com/spring-projects/spring-boot/issues/27057)
- Unable to exclude dependencies on repackaging war [#27056](https://togithub.com/spring-projects/spring-boot/issues/27056)
- Deadlock when the application context is closed and System.exit(int) is then called during application context refresh [#27049](https://togithub.com/spring-projects/spring-boot/issues/27049)
- Default value for NettyProperties.leakDetection is not aligned with Netty's default [#27046](https://togithub.com/spring-projects/spring-boot/issues/27046)
- Profile-specific resolution should still happen when processing 'spring.config.import' properties [#27006](https://togithub.com/spring-projects/spring-boot/issues/27006)
- Profile-specific resolution should still happen when processing 'spring.config.import' properties [#27005](https://togithub.com/spring-projects/spring-boot/issues/27005)
- Gradle build fails with "invocation of 'Task.project' at execution time is unsupported" when using the configuration cache in a project that depends on org.springframework.boot:spring-boot-configuration-processor [#26997](https://togithub.com/spring-projects/spring-boot/issues/26997)
- NoSuchMethodError with Jetty 10 when trying to use HTTP/2 over TLS (h2) [#26988](https://togithub.com/spring-projects/spring-boot/issues/26988)
- SpringApplicationShutdownHook throws ClassCastException when use log4j2 [#26953](https://togithub.com/spring-projects/spring-boot/issues/26953)
- Gradle 6.9.x is not listed as a supported version when the Gradle version is < 6.8 [#26952](https://togithub.com/spring-projects/spring-boot/issues/26952)
- Kotlin plugin's version shouldn't be read if the kotlin.version extra property has been set [#26947](https://togithub.com/spring-projects/spring-boot/issues/26947)
- Profile-specific files should still be considered when processing 'spring.config.import' properties [#26939](https://togithub.com/spring-projects/spring-boot/issues/26939)
- Misleading type information reported by BeanNotOfRequiredTypeFailureAnalyzer [#26935](https://togithub.com/spring-projects/spring-boot/issues/26935)
- SQL initialization in 2.5 does not handle connection errors gracefully anymore [#26926](https://togithub.com/spring-projects/spring-boot/issues/26926)
- Script-based database initialization should not check the database's type unless it has scripts to apply [#26925](https://togithub.com/spring-projects/spring-boot/issues/26925)
- Memory leak in MetricsClientHttpRequestInterceptor when auto-timing is disabled [#26923](https://togithub.com/spring-projects/spring-boot/issues/26923)
- DevTools' LiveReload support's HTTP header handling is case sensitive [#26920](https://togithub.com/spring-projects/spring-boot/issues/26920)
- DevTools' LiveReload support's HTTP header handling is case sensitive [#26919](https://togithub.com/spring-projects/spring-boot/issues/26919)
- App fails to start when using Flyway or Liquibase with a spring.flyway.url or spring.liquibase.url without spring-jdbc on the classpath [#26917](https://togithub.com/spring-projects/spring-boot/issues/26917)
- A bean factory post processor cannot be configured to run after `DependsOnDatabaseInitializationPostProcessor` [#26899](https://togithub.com/spring-projects/spring-boot/issues/26899)
- WebSocket auto-configuration throws a CNFE with Jetty 10 [#26847](https://togithub.com/spring-projects/spring-boot/issues/26847)
#### :notebook_with_decorative_cover: Documentation
- Description of spring.datasource.name property is inaccurate [#27063](https://togithub.com/spring-projects/spring-boot/issues/27063)
- Description of spring.datasource.name property is inaccurate [#27062](https://togithub.com/spring-projects/spring-boot/issues/27062)
- Update reference documentation to reflect `@SpringBootApplication`'s use of `@SpringBootConfiguration` [#27024](https://togithub.com/spring-projects/spring-boot/issues/27024)
- Document uuid support in RandomValuePropertySource [#27010](https://togithub.com/spring-projects/spring-boot/issues/27010)
- Misleading doc about application startup exposure [#26978](https://togithub.com/spring-projects/spring-boot/issues/26978)
- Add missing space for asciidoc ordered list [#26955](https://togithub.com/spring-projects/spring-boot/pull/26955)
- Add Azure info to the cloud deployment docs [#26910](https://togithub.com/spring-projects/spring-boot/pull/26910)
- Make the documentation versions more apparent [#26891](https://togithub.com/spring-projects/spring-boot/issues/26891)
#### :hammer: Dependency Upgrades
- Upgrade to Cassandra Driver 4.11.2 [#26990](https://togithub.com/spring-projects/spring-boot/issues/26990)
- Upgrade to Dropwizard Metrics 4.1.24 [#27035](https://togithub.com/spring-projects/spring-boot/issues/27035)
- Upgrade to Hazelcast 4.1.4 [#27069](https://togithub.com/spring-projects/spring-boot/issues/27069)
- Upgrade to Jedis 3.6.1 [#26992](https://togithub.com/spring-projects/spring-boot/issues/26992)
- Upgrade to Jetty EL 9.0.48 [#26993](https://togithub.com/spring-projects/spring-boot/issues/26993)
- Upgrade to Kotlin 1.5.20 [#27088](https://togithub.com/spring-projects/spring-boot/issues/27088)
- Upgrade to Kotlin 1.5.20 [#27086](https://togithub.com/spring-projects/spring-boot/issues/27086)
- Upgrade to Lettuce 6.1.3.RELEASE [#27036](https://togithub.com/spring-projects/spring-boot/issues/27036)
- Upgrade to Micrometer 1.7.1 [#27015](https://togithub.com/spring-projects/spring-boot/issues/27015)
- Upgrade to Neo4j Java Driver 4.2.7 [#27037](https://togithub.com/spring-projects/spring-boot/issues/27037)
- Upgrade to Netty tcNative 2.0.40.Final [#27070](https://togithub.com/spring-projects/spring-boot/issues/27070)
- Upgrade to Nimbus JOSE JWT 9.10 [#27039](https://togithub.com/spring-projects/spring-boot/issues/27039)
- Upgrade to OAuth2 OIDC SDK 9.9 [#27038](https://togithub.com/spring-projects/spring-boot/issues/27038)
- Upgrade to Postgresql 42.2.22 [#26994](https://togithub.com/spring-projects/spring-boot/issues/26994)
- Upgrade to Reactor 2020.0.8 [#26968](https://togithub.com/spring-projects/spring-boot/issues/26968)
- Upgrade to SLF4J 1.7.31 [#26995](https://togithub.com/spring-projects/spring-boot/issues/26995)
- Upgrade to Spring AMQP 2.3.9 [#26972](https://togithub.com/spring-projects/spring-boot/issues/26972)
- Upgrade to Spring Data 2021.0.2 [#26970](https://togithub.com/spring-projects/spring-boot/issues/26970)
- Upgrade to Spring HATEOAS 1.3.2 [#26969](https://togithub.com/spring-projects/spring-boot/issues/26969)
- Upgrade to Spring Integration 5.5.1 [#26974](https://togithub.com/spring-projects/spring-boot/issues/26974)
- Upgrade to Spring Kafka 2.7.3 [#26973](https://togithub.com/spring-projects/spring-boot/issues/26973)
- Upgrade to Spring Security 5.5.1 [#26945](https://togithub.com/spring-projects/spring-boot/issues/26945)
- Upgrade to Spring Session 2021.0.1 [#26971](https://togithub.com/spring-projects/spring-boot/issues/26971)
- Upgrade to Tomcat 9.0.48 [#26996](https://togithub.com/spring-projects/spring-boot/issues/26996)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@hrybs](https://togithub.com/hrybs)
- [@izeye](https://togithub.com/izeye)
- [@dreis2211](https://togithub.com/dreis2211)
- [@aclement](https://togithub.com/aclement)
- [@francislavoie](https://togithub.com/francislavoie)
- [@quaff](https://togithub.com/quaff)
- [@limo520](https://togithub.com/limo520)
### [`v2.5.1`](https://togithub.com/spring-projects/spring-boot/releases/v2.5.1)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.5.0...v2.5.1)
#### :beetle: Bug Fixes
- SqlInitializationAutoConfiguration fails when there is a DataSource bean and no spring-jdbc or a ConnectionFactory bean and no spring-r2dbc [#26850](https://togithub.com/spring-projects/spring-boot/issues/26850)
- MetricsRestTemplateCustomizer and LocalHostUriTemplateHandler cannot be used together when building a RestTemplate with RestTemplateBuilder [#26827](https://togithub.com/spring-projects/spring-boot/issues/26827)
- CompositeHealth.getDetails() does not serialize if MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS is disabled [#26823](https://togithub.com/spring-projects/spring-boot/issues/26823)
- ConnectionFactoryBuilder.derivefrom should be named derivedFrom to align with DataSourceBuilder [#26810](https://togithub.com/spring-projects/spring-boot/issues/26810)
- Profile-specific property files are incorrectly ordered when both '.' and './config' folders are used in the same application [#26782](https://togithub.com/spring-projects/spring-boot/issues/26782)
- A spring.config.import declared in an application-.properties file calls ConfigDataLocationResolver.resolveProfileSpecific [#26755](https://togithub.com/spring-projects/spring-boot/issues/26755)
- A spring.config.import declared in an application.properties file also attempts to import profile-specific files [#26754](https://togithub.com/spring-projects/spring-boot/issues/26754)
- Jar startup fails on JDK 11 with a SecurityManager enabled [#26744](https://togithub.com/spring-projects/spring-boot/issues/26744)
- Possible divide by zero bugs when using RandomValuePropertySource [#26739](https://togithub.com/spring-projects/spring-boot/issues/26739)
- Resolving properties with a target type can cause ConversionFailedException [#26732](https://togithub.com/spring-projects/spring-boot/issues/26732)
- Upgrading to Spring Boot 2.5.0 leads to a startup warning from Jackson about Kotlin [#26727](https://togithub.com/spring-projects/spring-boot/issues/26727)
- LoggingSystem should not return LogbackLoggingSystem if logback-classic is not available [#26725](https://togithub.com/spring-projects/spring-boot/issues/26725)
- bootBuildImage runs forever when a custom image name is used and the version contains an illegal character [#26703](https://togithub.com/spring-projects/spring-boot/issues/26703)
- Non-static nested `@Configuration` in JerseySameManagementContextConfiguration [#26697](https://togithub.com/spring-projects/spring-boot/issues/26697)
- Restore run order of `data.sql`/`schema.sql` against high-level database migration tools [#26692](https://togithub.com/spring-projects/spring-boot/issues/26692)
- Gradle plugin does not provided public constant for the productionRuntimeClasspath configuration [#26687](https://togithub.com/spring-projects/spring-boot/issues/26687)
- Non-embedded databases have schema/data.sql scripts applied by default [#26682](https://togithub.com/spring-projects/spring-boot/issues/26682)
- Custom username/password properties are not picked up by DataSourceInitializationConfiguration [#26676](https://togithub.com/spring-projects/spring-boot/issues/26676)
- No subdirectories found for mandatory directory location 'file:./config/\*/' is thrown when config dir exists [#26672](https://togithub.com/spring-projects/spring-boot/issues/26672)
- LoggingSystem not available on shutdown to log DisposableBean#destroy invocations [#26660](https://togithub.com/spring-projects/spring-boot/issues/26660)
- Image Building with custom buildpacks fails with permission denied on Arch Linux [#26658](https://togithub.com/spring-projects/spring-boot/issues/26658)
- SingleSignOnService Binding from SAML IdP metadata gets overridden by default [#26649](https://togithub.com/spring-projects/spring-boot/issues/26649)
- UnsupportedDataSourcePropertyException is thrown when attempting to set URL for SQL Server [#26647](https://togithub.com/spring-projects/spring-boot/issues/26647)
- Flyway and Liquibase custom datasource without an url leads to java.lang.ClassCastException [#26644](https://togithub.com/spring-projects/spring-boot/issues/26644)
- Empty value for spring.datasource.password can cause NullPointerException [#26633](https://togithub.com/spring-projects/spring-boot/issues/26633)
- UnsupportedDataSourcePropertyException is thrown when attempting to set driverClassName for H2 [#26631](https://togithub.com/spring-projects/spring-boot/issues/26631)
- Some metrics are lost when Spring Data is on the classpath [#26630](https://togithub.com/spring-projects/spring-boot/issues/26630)
- ApplicationAvailabilityBean should log at debug level [#26624](https://togithub.com/spring-projects/spring-boot/issues/26624)
#### :notebook_with_decorative_cover: Documentation
- Update optaplanner spring boot starter url [#26816](https://togithub.com/spring-projects/spring-boot/pull/26816)
- Fix typo in 'Reacting to the Maven plugin' title [#26751](https://togithub.com/spring-projects/spring-boot/pull/26751)
- Link to Spring Data JPA points to Spring Data JDBC [#26741](https://togithub.com/spring-projects/spring-boot/issues/26741)
- Clarify when a connection pool is created for Redis [#26735](https://togithub.com/spring-projects/spring-boot/issues/26735)
- Polish description of server.servlet.session.cookie.domain [#26717](https://togithub.com/spring-projects/spring-boot/issues/26717)
- Document Kubernetes terminationGracePeriodSeconds [#26701](https://togithub.com/spring-projects/spring-boot/issues/26701)
- Correct Kotlin version requirements in documentation [#26655](https://togithub.com/spring-projects/spring-boot/issues/26655)
- Document spring.profiles.default property [#26654](https://togithub.com/spring-projects/spring-boot/issues/26654)
- Add link to Maven Git Commit Id Plugin [#26635](https://togithub.com/spring-projects/spring-boot/pull/26635)
- Rework build-image-customization table in docs [#25739](https://togithub.com/spring-projects/spring-boot/issues/25739)
#### :hammer: Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.89 [#26798](https://togithub.com/spring-projects/spring-boot/issues/26798)
- Upgrade to Couchbase Client 3.1.6 [#26799](https://togithub.com/spring-projects/spring-boot/issues/26799)
- Upgrade to Dropwizard Metrics 4.1.22 [#26800](https://togithub.com/spring-projects/spring-boot/issues/26800)
- Upgrade to Ehcache3 3.9.4 [#26801](https://togithub.com/spring-projects/spring-boot/issues/26801)
- Upgrade to Git Commit ID Plugin 4.0.5 [#26845](https://togithub.com/spring-projects/spring-boot/issues/26845)
- Upgrade to Gson 2.8.7 [#26802](https://togithub.com/spring-projects/spring-boot/issues/26802)
- Upgrade to Hibernate 5.4.32.Final [#26803](https://togithub.com/spring-projects/spring-boot/issues/26803)
- Upgrade to Infinispan 12.1.4.Final [#26804](https://togithub.com/spring-projects/spring-boot/issues/26804)
- Upgrade to JBoss Logging 3.4.2.Final [#26805](https://togithub.com/spring-projects/spring-boot/issues/26805)
- Upgrade to Jetty 9.4.42.v20210604 [#26838](https://togithub.com/spring-projects/spring-boot/issues/26838)
- Upgrade to Jetty Reactive HTTPClient 1.1.9 [#26837](https://togithub.com/spring-projects/spring-boot/issues/26837)
- Upgrade to Johnzon 1.2.13 [#26806](https://togithub.com/spring-projects/spring-boot/issues/26806)
- Upgrade to jOOQ 3.14.11 [#26807](https://togithub.com/spring-projects/spring-boot/issues/26807)
- Upgrade to Kotlin 1.5.10 [#26652](https://togithub.com/spring-projects/spring-boot/issues/26652)
- Upgrade to Neo4j Java Driver 4.2.6 [#26808](https://togithub.com/spring-projects/spring-boot/issues/26808)
- Upgrade to RSocket 1.1.1 [#26839](https://togithub.com/spring-projects/spring-boot/issues/26839)
- Upgrade to Spring AMQP 2.3.8 [#26764](https://togithub.com/spring-projects/spring-boot/issues/26764)
- Upgrade to Spring Framework 5.3.8 [#26761](https://togithub.com/spring-projects/spring-boot/issues/26761)
- Upgrade to Spring Kafka 2.7.2 [#26765](https://togithub.com/spring-projects/spring-boot/issues/26765)
- Upgrade to Undertow 2.2.8.Final [#26809](https://togithub.com/spring-projects/spring-boot/issues/26809)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@izeye](https://togithub.com/izeye)
- [@dreis2211](https://togithub.com/dreis2211)
- [@ge0ffrey](https://togithub.com/ge0ffrey)
- [@abelsromero](https://togithub.com/abelsromero)
- [@obfischer](https://togithub.com/obfischer)
- [@weixsun](https://togithub.com/weixsun)
- [@lower-case](https://togithub.com/lower-case)
### [`v2.5.0`](https://togithub.com/spring-projects/spring-boot/releases/v2.5.0)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.4.8...v2.5.0)
For full [upgrade instructions](https://togithub.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes#upgrading-from-spring-boot-24) and [new and noteworthy features](https://togithub.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes#new-and-noteworthy) please see the [release notes](https://togithub.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes).
#### :beetle: Bug Fixes
- Auto-configured resource handlers don't get applied to child contexts [#26623](https://togithub.com/spring-projects/spring-boot/issues/26623)
- Actuator doesn't use the CORS Configuration with default security configuration and Spring Webflux [#26614](https://togithub.com/spring-projects/spring-boot/issues/26614)
- Actuator doesn't use the CORS Configuration with default security configuration and Spring MVC [#26612](https://togithub.com/spring-projects/spring-boot/issues/26612)
- SpringApplication additional profiles and active profiles ordering changed with Spring Boot 2.4 [#26610](https://togithub.com/spring-projects/spring-boot/issues/26610)
- An active request delays Jetty's shutdown by 30 seconds [#26608](https://togithub.com/spring-projects/spring-boot/issues/26608)
- SmartInitializingSingleton beans are not working with lazy initialization [#26606](https://togithub.com/spring-projects/spring-boot/issues/26606)
- MVC and WebFlux metrics filters adversely affect the response when metrics recording fails [#26596](https://togithub.com/spring-projects/spring-boot/issues/26596)
- ConfigDataResolvers cannot signal that they should be skipped [#26585](https://togithub.com/spring-projects/spring-boot/issues/26585)
- Remote devtools endpoint cannot be accessed if actuator and spring security are on the classpath [#26584](https://togithub.com/spring-projects/spring-boot/issues/26584)
- The error message when a wildcard directory location does not match any files is misleading [#26583](https://togithub.com/spring-projects/spring-boot/issues/26583)
- Mandatory locations with pattern fail with exception [#26582](https://togithub.com/spring-projects/spring-boot/issues/26582)
- Non-optional locations with wildcards fail if no files are contributed [#26581](https://togithub.com/spring-projects/spring-boot/issues/26581)
- Profiles programmatically set on the Envionment are no longer merged with active profile properties [#26580](https://togithub.com/spring-projects/spring-boot/issues/26580)
- Use of spring.profiles.include in a profile-specific document is not detected when it's configured as a YAML list [#26575](https://togithub.com/spring-projects/spring-boot/issues/26575)
- ConfigurationProperties is retrieved via classpath scanning but does not indicate it should be indexed [#26463](https://togithub.com/spring-projects/spring-boot/issues/26463)
- BufferingApplicationStartup fails with NoSuchElementException [#26458](https://togithub.com/spring-projects/spring-boot/issues/26458)
- Building an image fails when using a custom buildpack image with long file names [#26445](https://togithub.com/spring-projects/spring-boot/issues/26445)
- Additional profiles are processed too late when legacy processing is used [#26434](https://togithub.com/spring-projects/spring-boot/issues/26434)
- Config data location does not exist error can be thrown if a profile-specific properties file is directly imported [#26402](https://togithub.com/spring-projects/spring-boot/issues/26402)
- StandardConfigDataLoader can import profile specific files in incorrect order [#26401](https://togithub.com/spring-projects/spring-boot/issues/26401)
- Resolvability and consumability of productionRuntimeClasspath are not aligned with runtimeClasspath [#26365](https://togithub.com/spring-projects/spring-boot/issues/26365)
- ObjectMapper provided by JacksonAutoConfiguration via JacksonClusterEnvironmentBuilderCustomizer breaks Couchbase driver [#26363](https://togithub.com/spring-projects/spring-boot/issues/26363)
- Empty value in spring.config.import causes NullPointerException [#26346](https://togithub.com/spring-projects/spring-boot/issues/26346)
- `@DataRedisTest` does not consider `RedisReactiveAutoConfiguration` [#26328](https://togithub.com/spring-projects/spring-boot/issues/26328)
- When a single bean causes a dependency cycle the failure analysis does not clearly illustrate the cycle [#26323](https://togithub.com/spring-projects/spring-boot/issues/26323)
- SpringBootConfiguration is retrieved via classpath scanning but does not indicate it should be indexed [#26318](https://togithub.com/spring-projects/spring-boot/issues/26318)
- Maven spring-boot:build-image ignores ZIP layout [#26313](https://togithub.com/spring-projects/spring-boot/issues/26313)
- bootBuildImage does not pick up targetCompatibility when it's configured after task is customised [#26301](https://togithub.com/spring-projects/spring-boot/issues/26301)
- Configuration item metadata ordering is not consistent [#26277](https://togithub.com/spring-projects/spring-boot/issues/26277)
- `@EnableAutoConfiguration` and `@ImportAutoConfiguration` use different class loaders to find candidate configurations [#26237](https://togithub.com/spring-projects/spring-boot/issues/26237)
- 'spring.web.resources.cache.use-last-modified=false' doesn't work with Spring MVC [#26233](https://togithub.com/spring-projects/spring-boot/issues/26233)
- Restore support for binding configuration properties from RandomValuePropertySource [#26201](https://togithub.com/spring-projects/spring-boot/issues/26201)
- `@Scheduled` method not triggered when spring.main.lazy-initialization=true [#26156](https://togithub.com/spring-projects/spring-boot/issues/26156)
- When classes in spring-core and spring-boot are loaded by different ClassLoaders, spring-boot cannot find its own config data location resolvers [#26155](https://togithub.com/spring-projects/spring-boot/issues/26155)
- ConfigFileApplicationListener#loadPostProcessors can not load EnvironmentPostProcessor in child classLoader [#26126](https://togithub.com/spring-projects/spring-boot/issues/26126)
#### :notebook_with_decorative_cover: Documentation
- Info endpoint in reference doc has outdated defaults [#26591](https://togithub.com/spring-projects/spring-boot/pull/26591)
- Update documentation following the release of Spock Framework 2.0 [#26586](https://togithub.com/spring-projects/spring-boot/pull/26586)
- Update Gradle docs to use module replacement rather than dependency substitution [#26526](https://togithub.com/spring-projects/spring-boot/issues/26526)
- Improve documentation of TestRestTemplate's fault tolerance [#26522](https://togithub.com/spring-projects/spring-boot/issues/26522)
- Document that the heap dump endpoint requires a HotSpot JVM [#26474](https://togithub.com/spring-projects/spring-boot/issues/26474)
- Suggest enabling the default servlet when using Jersey as a filter [#26452](https://togithub.com/spring-projects/spring-boot/issues/26452)
- Document support for Gradle 6.9 [#26409](https://togithub.com/spring-projects/spring-boot/issues/26409)
- Fix wrong reference to Cassandra in DockerImageNames#couchbase [#26406](https://togithub.com/spring-projects/spring-boot/issues/26406)
- PDF documentation include hidden code elements [#26373](https://togithub.com/spring-projects/spring-boot/issues/26373)
- Move Working with the Code from CONTRIBUTING.adoc to the wiki [#26334](https://togithub.com/spring-projects/spring-boot/issues/26334)
- Fix typo in NamedContributors Javadoc [#26325](https://togithub.com/spring-projects/spring-boot/issues/26325)
- Polish README [#26320](https://togithub.com/spring-projects/spring-boot/pull/26320)
- Fix link to Webservices reference docs [#26316](https://togithub.com/spring-projects/spring-boot/pull/26316)
- Document property names to enable reactive health indicators [#26299](https://togithub.com/spring-projects/spring-boot/issues/26299)
- Documentation has wrong key for DataSourceHealthIndicator [#26283](https://togithub.com/spring-projects/spring-boot/issues/26283)
- Reorder a few howtos [#26262](https://togithub.com/spring-projects/spring-boot/issues/26262)
- Align documentation with main default branch name [#26257](https://togithub.com/spring-projects/spring-boot/issues/26257)
- Align Maven version in system requirements with what is actually tested [#26211](https://togithub.com/spring-projects/spring-boot/issues/26211)
- Document that MeterFilters are only applied to the Spring-managed MeterRegistry [#26186](https://togithub.com/spring-projects/spring-boot/issues/26186)
- Use new update site for Spring Java Format's Eclipse plugin [#26172](https://togithub.com/spring-projects/spring-boot/issues/26172)
- spring.profiles.include has outdated sourceType in configuration metadata [#26165](https://togithub.com/spring-projects/spring-boot/issues/26165)
- Include spring.profiles.group in additional-spring-configuration-metadata.json [#26164](https://togithub.com/spring-projects/spring-boot/issues/26164)
- Enhance multiple entity manager factories online documentation [#26160](https://togithub.com/spring-projects/spring-boot/issues/26160)
- SQL init schema-locations and data-locations are missing metadata to cause them to be handled as Resources [#26154](https://togithub.com/spring-projects/spring-boot/issues/26154)
- Replacements for spring.datasource.schema and spring.datasource.data are documented incorrectly [#26150](https://togithub.com/spring-projects/spring-boot/pull/26150)
#### :hammer: Dependency Upgrades
- Upgrade to ActiveMQ 5.16.2 [#26528](https://togithub.com/spring-projects/spring-boot/issues/26528)
- Upgrade to Caffeine 2.9.1 [#26529](https://togithub.com/spring-projects/spring-boot/issues/26529)
- Upgrade to Cassandra Driver 4.11.1 [#26530](https://togithub.com/spring-projects/spring-boot/issues/26530)
- Upgrade to Couchbase Client 3.1.5 [#26531](https://togithub.com/spring-projects/spring-boot/issues/26531)
- Upgrade to Dropwizard Metrics 4.1.21 [#26532](https://togithub.com/spring-projects/spring-boot/issues/26532)
- Upgrade to Ehcache 2.10.9.2 [#26533](https://togithub.com/spring-projects/spring-boot/issues/26533)
- Upgrade to Ehcache3 3.9.3 [#26534](https://togithub.com/spring-projects/spring-boot/issues/26534)
- Upgrade to Elasticsearch 7.12.1 [#26535](https://togithub.com/spring-projects/spring-boot/issues/26535)
- Upgrade to Glassfish JAXB 2.3.4 [#26536](https://togithub.com/spring-projects/spring-boot/issues/26536)
- Upgrade to Groovy 3.0.8 [#26537](https://togithub.com/spring-projects/spring-boot/issues/26537)
- Upgrade to Hazelcast 4.1.3 [#26538](https://togithub.com/spring-projects/spring-boot/issues/26538)
- Upgrade to Hibernate 5.4.31.Final [#26539](https://togithub.com/spring-projects/spring-boot/issues/26539)
- Upgrade to HttpClient5 5.0.4 [#26540](https://togithub.com/spring-projects/spring-boot/issues/26540)
- Upgrade to HttpCore5 5.1.1 [#26541](https://togithub.com/spring-projects/spring-boot/issues/26541)
- Upgrade to Infinispan 12.1.3.Final [#26542](https://togithub.com/spring-projects/spring-boot/issues/26542)
- Upgrade to Janino 3.1.4 [#26543](https://togithub.com/spring-projects/spring-boot/issues/26543)
- Upgrade to JBoss Transaction SPI 7.6.1.Final [#26544](https://togithub.com/spring-projects/spring-boot/issues/26544)
- Upgrade to Jedis 3.6.0 [#26545](https://togithub.com/spring-projects/spring-boot/issues/26545)
- Upgrade to Jetty 9.4.41.v20210516 [#26603](https://togithub.com/spring-projects/spring-boot/issues/26603)
- Upgrade to Jetty Reactive HTTPClient 1.1.8 [#26546](https://togithub.com/spring-projects/spring-boot/issues/26546)
- Upgrade to Johnzon 1.2.11 [#26548](https://togithub.com/spring-projects/spring-boot/issues/26548)
- Upgrade to jOOQ 3.14.9 [#26549](https://togithub.com/spring-projects/spring-boot/issues/26549)
- Upgrade to Json-smart 2.4.7 [#26550](https://togithub.com/spring-projects/spring-boot/issues/26550)
- Upgrade to JUnit Jupiter 5.7.2 [#26551](https://togithub.com/spring-projects/spring-boot/issues/26551)
- Upgrade to Kafka 2.7.1 [#26552](https://togithub.com/spring-projects/spring-boot/issues/26552)
- Upgrade to Kotlin 1.5.0 [#26553](https://togithub.com/spring-projects/spring-boot/issues/26553)
- Upgrade to Kotlin Coroutines 1.5.0 [#26568](https://togithub.com/spring-projects/spring-boot/issues/26568)
- Upgrade to Lettuce 6.1.2.RELEASE [#26554](https://togithub.com/spring-projects/spring-boot/issues/26554)
- Upgrade to Liquibase 4.3.5 [#26555](https://togithub.com/spring-projects/spring-boot/issues/26555)
- Upgrade to MariaDB 2.7.3 [#26556](https://togithub.com/spring-projects/spring-boot/issues/26556)
- Upgrade to Micrometer 1.7.0 [#26379](https://togithub.com/spring-projects/spring-boot/issues/26379)
- Upgrade to MySQL 8.0.25 [#26557](https://togithub.com/spring-projects/spring-boot/issues/26557)
- Upgrade to Neo4j Java Driver 4.2.5 [#26558](https://togithub.com/spring-projects/spring-boot/issues/26558)
- Upgrade to Netty 4.1.65.Final [#26604](https://togithub.com/spring-projects/spring-boot/issues/26604)
- Upgrade to Netty tcNative 2.0.39.Final [#26560](https://togithub.com/spring-projects/spring-boot/issues/26560)
- Upgrade to Pooled JMS 1.2.2 [#26561](https://togithub.com/spring-projects/spring-boot/issues/26561)
- Upgrade to Postgresql 42.2.20 [#26562](https://togithub.com/spring-projects/spring-boot/issues/26562)
- Upgrade to R2DBC Bom Arabba-SR10 [#26563](https://togithub.com/spring-projects/spring-boot/issues/26563)
- Upgrade to Reactor 2020.0.7 [#26359](https://togithub.com/spring-projects/spring-boot/issues/26359)
- Upgrade to SAAJ Impl 1.5.3 [#26564](https://togithub.com/spring-projects/spring-boot/issues/26564)
- Upgrade to Solr 8.8.2 [#26565](https://togithub.com/spring-projects/spring-boot/issues/26565)
- Upgrade to Spring AMQP 2.3.7 [#26384](https://togithub.com/spring-projects/spring-boot/issues/26384)
- Upgrade to Spring Batch 4.3.3 [#26392](https://togithub.com/spring-projects/spring-boot/issues/26392)
- Upgrade to Spring Data 2021.0.1 [#26382](https://togithub.com/spring-projects/spring-boot/issues/26382)
- Upgrade to Spring Framework 5.3.7 [#26361](https://togithub.com/spring-projects/spring-boot/issues/26361)
- Upgrade to Spring HATEOAS 1.3.1 [#26380](https://togithub.com/spring-projects/spring-boot/issues/26380)
- Upgrade to Spring Integration 5.5.0 [#26388](https://togithub.com/spring-projects/spring-boot/issues/26388)
- Upgrade to Spring Kafka 2.7.1 [#26386](https://togithub.com/spring-projects/spring-boot/issues/26386)
- Upgrade to Spring LDAP 2.3.4 [#26394](https://togithub.com/spring-projects/spring-boot/issues/26394)
- Upgrade to Spring Security 5.5.0 [#26387](https://togithub.com/spring-projects/spring-boot/issues/26387)
- Upgrade to Spring Session 2021.0.0 [#26389](https://togithub.com/spring-projects/spring-boot/issues/26389)
- Upgrade to Spring WS 3.1.1 [#26390](https://togithub.com/spring-projects/spring-boot/issues/26390)
- Upgrade to Thymeleaf Layout Dialect 2.5.3 [#26566](https://togithub.com/spring-projects/spring-boot/issues/26566)
- Upgrade to Tomcat 9.0.46 [#26567](https://togithub.com/spring-projects/spring-boot/issues/26567)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@agg505](https://togithub.com/agg505)
- [@zuisong](https://togithub.com/zuisong)
- [@dreis2211](https://togithub.com/dreis2211)
- [@matthiasstock](https://togithub.com/matthiasstock)
- [@nicce](https://togithub.com/nicce)
- [@weixsun](https://togithub.com/weixsun)
- [@crocarneiro](https://togithub.com/crocarneiro)
- [@vsriram92](https://togithub.com/vsriram92)
- [@izeye](https://togithub.com/izeye)
- [@zoosm3](https://togithub.com/zoosm3)
- [@Haarolean](https://togithub.com/Haarolean)
- [@k163377](https://togithub.com/k163377)
- [@nguyensach](https://togithub.com/nguyensach)
- [@xenoterracide](https://togithub.com/xenoterracide)
- [@katielevy1](https://togithub.com/katielevy1)
- [@LichKing-lee](https://togithub.com/LichKing-lee)
- [@slawekjaranowski](https://togithub.com/slawekjaranowski)
- [@zeldigas](https://togithub.com/zeldigas)
- [@hatefpalizgar](https://togithub.com/hatefpalizgar)
### [`v2.4.8`](https://togithub.com/spring-projects/spring-boot/releases/v2.4.8)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.4.7...v2.4.8)
#### :beetle: Bug Fixes
- EnvironmentPostProcessors aren't instantiated with correct ClassLoader [#27043](https://togithub.com/spring-projects/spring-boot/issues/27043)
- Failure when binding the name of a non-existent class to a Class\> property isn't very helpful [#27028](https://togithub.com/spring-projects/spring-boot/issues/27028)
- Profile-specific resolution should still happen when processing 'spring.config.import' properties [#26960](https://togithub.com/spring-projects/spring-boot/issues/26960)
- Kotlin plugin's version shouldn't be read if the kotlin.version extra property has been set [#26946](https://togithub.com/spring-projects/spring-boot/issues/26946)
- Memory leak in MetricsClientHttpRequestInterceptor when auto-timing is disabled [#26915](https://togithub.com/spring-projects/spring-boot/issues/26915)
- Gradle build fails with "invocation of 'Task.project' at execution time is unsupported" when using the configuration cache in a project that depends on org.springframework.boot:spring-boot-configuration-processor [#26880](https://togithub.com/spring-projects/spring-boot/issues/26880)
- Profile-specific files should still be considered when processing 'spring.config.import' properties [#26858](https://togithub.com/spring-projects/spring-boot/issues/26858)
- App fails to start when using Flyway or Liquibase with a spring.flyway.url or spring.liquibase.url without spring-jdbc on the classpath [#26849](https://togithub.com/spring-projects/spring-boot/issues/26849)
- Misleading type information reported by BeanNotOfRequiredTypeFailureAnalyzer [#26821](https://togithub.com/spring-projects/spring-boot/issues/26821)
- DevTools' LiveReload support's HTTP header handling is case sensitive [#26813](https://togithub.com/spring-projects/spring-boot/pull/26813)
- Unable to exclude dependencies on repackaging war [#15808](https://togithub.com/spring-projects/spring-boot/issues/15808)
#### :notebook_with_decorative_cover: Documentation
- Description of spring.datasource.name property is inaccurate [#27026](https://togithub.com/spring-projects/spring-boot/issues/27026)
- Document uuid support in RandomValuePropertySource [#26975](https://togithub.com/spring-projects/spring-boot/pull/26975)
- Update reference documentation to reflect `@SpringBootApplication`'s use of `@SpringBootConfiguration` [#26937](https://togithub.com/spring-projects/spring-boot/pull/26937)
- Make the documentation versions more apparent [#26851](https://togithub.com/spring-projects/spring-boot/issues/26851)
#### :hammer: Dependency Upgrades
- Upgrade to Dropwizard Metrics 4.1.24 [#27031](https://togithub.com/spring-projects/spring-boot/issues/27031)
- Upgrade to Jetty EL 8.5.68 [#26984](https://togithub.com/spring-projects/spring-boot/issues/26984)
- Upgrade to Lettuce 6.0.6.RELEASE [#27032](https://togithub.com/spring-projects/spring-boot/issues/27032)
- Upgrade to Micrometer 1.6.8 [#27014](https://togithub.com/spring-projects/spring-boot/issues/27014)
- Upgrade to Neo4j Java Driver 4.1.4 [#27033](https://togithub.com/spring-projects/spring-boot/issues/27033)
- Upgrade to Netty tcNative 2.0.40.Final [#27066](https://togithub.com/spring-projects/spring-boot/issues/27066)
- Upgrade to Nimbus JOSE JWT 8.22 [#27068](https://togithub.com/spring-projects/spring-boot/issues/27068)
- Upgrade to OAuth2 OIDC SDK 8.36.2 [#27067](https://togithub.com/spring-projects/spring-boot/issues/27067)
- Upgrade to Postgresql 42.2.22 [#26985](https://togithub.com/spring-projects/spring-boot/issues/26985)
- Upgrade to Reactor 2020.0.8 [#26962](https://togithub.com/spring-projects/spring-boot/issues/26962)
- Upgrade to SLF4J 1.7.31 [#26986](https://togithub.com/spring-projects/spring-boot/issues/26986)
- Upgrade to Spring AMQP 2.3.9 [#26966](https://togithub.com/spring-projects/spring-boot/issues/26966)
- Upgrade to Spring Data 2020.0.10 [#26963](https://togithub.com/spring-projects/spring-boot/issues/26963)
- Upgrade to Spring HATEOAS 1.2.7 [#27013](https://togithub.com/spring-projects/spring-boot/issues/27013)
- Upgrade to Spring Integration 5.4.8 [#26967](https://togithub.com/spring-projects/spring-boot/issues/26967)
- Upgrade to Spring Security 5.4.7 [#26965](https://togithub.com/spring-projects/spring-boot/issues/26965)
- Upgrade to Spring Session 2020.0.5 [#26964](https://togithub.com/spring-projects/spring-boot/issues/26964)
- Upgrade to Tomcat 9.0.48 [#26987](https://togithub.com/spring-projects/spring-boot/issues/26987)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@hrybs](https://togithub.com/hrybs)
- [@francislavoie](https://togithub.com/francislavoie)
- [@quaff](https://togithub.com/quaff)
- [@limo520](https://togithub.com/limo520)
### [`v2.4.7`](https://togithub.com/spring-projects/spring-boot/releases/v2.4.7)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.4.6...v2.4.7)
#### :beetle: Bug Fixes
- MetricsRestTemplateCustomizer and LocalHostUriTemplateHandler cannot be used together when building a RestTemplate with RestTemplateBuilder [#26826](https://togithub.com/spring-projects/spring-boot/issues/26826)
- CompositeHealth.getDetails() does not serialize if MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS is disabled [#26822](https://togithub.com/spring-projects/spring-boot/issues/26822)
- A spring.config.import declared in an application-.properties file calls ConfigDataLocationResolver.resolveProfileSpecific [#26753](https://togithub.com/spring-projects/spring-boot/issues/26753)
- A spring.config.import declared in an application.properties file also attempts to import profile-specific files [#26752](https://togithub.com/spring-projects/spring-boot/issues/26752)
- Jar startup fails on JDK 11 with a SecurityManager enabled [#26743](https://togithub.com/spring-projects/spring-boot/issues/26743)
- Possible divide by zero bugs when using RandomValuePropertySource [#26738](https://togithub.com/spring-projects/spring-boot/issues/26738)
- LoggingSystem should not return LogbackLoggingSystem if logback-classic is not available [#26724](https://togithub.com/spring-projects/spring-boot/issues/26724)
- bootBuildImage runs forever when a custom image name is used and the version contains an illegal character [#26702](https://togithub.com/spring-projects/spring-boot/issues/26702)
- Non-static nested `@Configuration` in JerseySameManagementContextConfiguration [#26696](https://togithub.com/spring-projects/spring-boot/issues/26696)
- Gradle plugin does not provided public constant for the productionRuntimeClasspath configuration [#26686](https://togithub.com/spring-projects/spring-boot/issues/26686)
- No subdirectories found for mandatory directory location 'file:./config/\*/' is thrown when config dir exists [#26627](https://togithub.com/spring-projects/spring-boot/issues/26627)
- Auto-configured resource handlers don't get applied to child contexts [#26622](https://togithub.com/spring-projects/spring-boot/issues/26622)
- Profile-specific property files are incorrectly ordered when both '.' and './config' folders are used in the same application [#26593](https://togithub.com/spring-projects/spring-boot/issues/26593)
- SingleSignOnService Binding from SAML IdP metadata gets overridden by default [#26454](https://togithub.com/spring-projects/spring-boot/issues/26454)
#### :notebook_with_decorative_cover: Documentation
- Link to Spring Data JPA points to Spring Data JDBC [#26740](https://togithub.com/spring-projects/spring-boot/issues/26740)
- Clarify when a connection pool is created for Redis [#26734](https://togithub.com/spring-projects/spring-boot/issues/26734)
- Polish description of server.servlet.session.cookie.domain [#26716](https://togithub.com/spring-projects/spring-boot/issues/26716)
- Document Kubernetes terminationGracePeriodSeconds [#26700](https://togithub.com/spring-projects/spring-boot/issues/26700)
- Document spring.profiles.default property [#26653](https://togithub.com/spring-projects/spring-boot/issues/26653)
- Correct Kotlin version requirements in documentation [#26421](https://togithub.com/spring-projects/spring-boot/pull/26421)
#### :hammer: Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.89 [#26783](https://togithub.com/spring-projects/spring-boot/issues/26783)
- Upgrade to Dropwizard Metrics 4.1.22 [#26784](https://togithub.com/spring-projects/spring-boot/issues/26784)
- Upgrade to Ehcache3 3.9.4 [#26785](https://togithub.com/spring-projects/spring-boot/issues/26785)
- Upgrade to Gson 2.8.7 [#26786](https://togithub.com/spring-projects/spring-boot/issues/26786)
- Upgrade to Hibernate 5.4.32.Final [#26787](https://togithub.com/spring-projects/spring-boot/issues/26787)
- Upgrade to JBoss Logging 3.4.2.Final [#26788](https://togithub.com/spring-projects/spring-boot/issues/26788)
- Upgrade to Jetty 9.4.42.v20210604 [#26834](https://togithub.com/spring-projects/spring-boot/issues/26834)
- Upgrade to Jetty Reactive HTTPClient 1.1.9 [#26833](https://togithub.com/spring-projects/spring-boot/issues/26833)
- Upgrade to Johnzon 1.2.13 [#26789](https://togithub.com/spring-projects/spring-boot/issues/26789)
- Upgrade to jOOQ 3.14.11 [#26790](https://togithub.com/spring-projects/spring-boot/issues/26790)
- Upgrade to Neo4j Java Driver 4.1.3 [#26835](https://togithub.com/spring-projects/spring-boot/issues/26835)
- Upgrade to RSocket 1.1.1 [#26836](https://togithub.com/spring-projects/spring-boot/issues/26836)
- Upgrade to Spring AMQP 2.3.8 [#26762](https://togithub.com/spring-projects/spring-boot/issues/26762)
- Upgrade to Spring Framework 5.3.8 [#26760](https://togithub.com/spring-projects/spring-boot/issues/26760)
- Upgrade to Spring Kafka 2.6.9 [#26763](https://togithub.com/spring-projects/spring-boot/issues/26763)
- Upgrade to Undertow 2.2.8.Final [#26791](https://togithub.com/spring-projects/spring-boot/issues/26791)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@izeye](https://togithub.com/izeye)
- [@dreis2211](https://togithub.com/dreis2211)
- [@weixsun](https://togithub.com/weixsun)
- [@lower-case](https://togithub.com/lower-case)
### [`v2.4.6`](https://togithub.com/spring-projects/spring-boot/releases/v2.4.6)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.4.5...v2.4.6)
#### :beetle: Bug Fixes
- Actuator doesn't use the CORS Configuration with default security configuration and Spring MVC [#26611](https://togithub.com/spring-projects/spring-boot/issues/26611)
- An active request delays Jetty's shutdown by 30 seconds [#26607](https://togithub.com/spring-projects/spring-boot/issues/26607)
- SmartInitializingSingleton beans are not working with lazy initialization [#26605](https://togithub.com/spring-projects/spring-boot/issues/26605)
- MVC and WebFlux metrics filters adversely affect the response when metrics recording fails [#26595](https://togithub.com/spring-projects/spring-boot/issues/26595)
- Mandatory locations with pattern fail with exception [#26577](https://togithub.com/spring-projects/spring-boot/issues/26577)
- Non-optional locations with wildcards fail if no files are contributed [#26468](https://togithub.com/spring-projects/spring-boot/issues/26468)
- ConfigurationProperties is retrieved via classpath scanning but does not indicate it should be indexed [#26462](https://togithub.com/spring-projects/spring-boot/issues/26462)
- The error message when a wildcard directory location does not match any files is misleading [#26415](https://togithub.com/spring-projects/spring-boot/issues/26415)
- StandardConfigDataLoader can import profile specific files in incorrect order [#26400](https://togithub.com/spring-projects/spring-boot/issues/26400)
- Resolvability and consumability of productionRuntimeClasspath are not aligned with runtimeClasspath [#26364](https://togithub.com/spring-projects/spring-boot/issues/26364)
- Empty value in spring.config.import causes NullPointerException [#26342](https://togithub.com/spring-projects/spring-boot/issues/26342)
- `@DataRedisTest` does not consider `RedisReactiveAutoConfiguration` [#26327](https://togithub.com/spring-projects/spring-boot/issues/26327)
- When a single bean causes a dependency cycle the failure analysis does not clearly illustrate the cycle [#26322](https://togithub.com/spring-projects/spring-boot/issues/26322)
- SpringBootConfiguration is retrieved via classpath scanning but does not indicate it should be indexed [#26317](https://togithub.com/spring-projects/spring-boot/issues/26317)
- Maven spring-boot:build-image ignores ZIP layout [#26312](https://togithub.com/spring-projects/spring-boot/issues/26312)
- bootBuildImage does not pick up targetCompatibility when it's configured after task is customised [#26300](https://togithub.com/spring-projects/spring-boot/issues/26300)
- Configuration item metadata ordering is not consistent [#26275](https://togithub.com/spring-projects/spring-boot/issues/26275)
- `@EnableAutoConfiguration` and `@ImportAutoConfiguration` use different class loaders to find candidate configurations [#26236](https://togithub.com/spring-projects/spring-boot/issues/26236)
- 'spring.web.resources.cache.use-last-modified=false' doesn't work with Spring MVC [#26212](https://togithub.com/spring-projects/spring-boot/issues/26212)
- Use of spring.profiles.include in a profile-specific document is not detected when it's configured as a YAML list [#26205](https://togithub.com/spring-projects/spring-boot/pull/26205)
- SpringApplication additional profiles and active profiles ordering changed with Spring Boot 2.4 [#26189](https://togithub.com/spring-projects/spring-boot/issues/26189)
- Profiles programmatically set on the Envionment are no longer merged with active profile properties [#26151](https://togithub.com/spring-projects/spring-boot/issues/26151)
- When classes in spring-core and spring-boot are loaded by different ClassLoaders, spring-boot cannot find its own config data location resolvers [#26149](https://togithub.com/spring-projects/spring-boot/pull/26149)
- Config data location does not exist error can be thrown if a profile-specific properties file is directly imported [#26147](https://togithub.com/spring-projects/spring-boot/issues/26147)
- Profile cannot easily be deduced from StandardConfigDataResource [#25940](https://togithub.com/spring-projects/spring-boot/issues/25940)
- ConfigDataResolvers cannot signal that they should be skipped [#25894](https://togithub.com/spring-projects/spring-boot/issues/25894)
- Remote devtools endpoint cannot be accessed if actuator and spring security are on the classpath [#25868](https://togithub.com/spring-projects/spring-boot/pull/25868)
- Additional profiles are processed too late when legacy processing is used [#25817](https://togithub.com/spring-projects/spring-boot/pull/25817)
- BufferingApplicationStartup fails with NoSuchElementException [#25792](https://togithub.com/spring-projects/spring-boot/issues/25792)
- `@Scheduled` method not triggered when spring.main.lazy-initialization=true [#25315](https://togithub.com/spring-projects/spring-boot/issues/25315)
- Actuator doesn't use the CORS Configuration with default security configuration and Spring Webflux [#24541](https://togithub.com/spring-projects/spring-boot/issues/24541)
#### :notebook_with_decorative_cover: Documentation
- Update Gradle docs to use module replacement rather than dependency substitution [#26525](https://togithub.com/spring-projects/spring-boot/issues/26525)
- Improve documentation of TestRestTemplate's fault tolerance [#26521](https://togithub.com/spring-projects/spring-boot/issues/26521)
- Document that the heap dump endpoint requires a HotSpot JVM [#26473](https://togithub.com/spring-projects/spring-boot/issues/26473)
- Fix wrong reference to Cassandra in DockerImageNames#couchbase [#26405](https://togithub.com/spring-projects/spring-boot/issues/26405)
- Move Working with the Code from CONTRIBUTING.adoc to the wiki [#26333](https://togithub.com/spring-projects/spring-boot/issues/26333)
- Fix typo in NamedContributors Javadoc [#26324](https://togithub.com/spring-projects/spring-boot/issues/26324)
- Document property names to enable reactive health indicators [#26298](https://togithub.com/spring-projects/spring-boot/issues/26298)
- Documentation has wrong key for DataSourceHealthIndicator [#26282](https://togithub.com/spring-projects/spring-boot/issues/26282)
- Align documentation with main default branch name [#26256](https://togithub.com/spring-projects/spring-boot/issues/26256)
- Align Maven version in system requirements with what is actually tested [#26210](https://togithub.com/spring-projects/spring-boot/issues/26210)
- Document that MeterFilters are only applied to the Spring-managed MeterRegistry [#26185](https://togithub.com/spring-projects/spring-boot/issues/26185)
- Use new update site for Spring Java Format's Eclipse plugin [#26171](https://togithub.com/spring-projects/spring-boot/issues/26171)
- spring.profiles.include has outdated sourceType in configuration metadata [#26163](https://togithub.com/spring-projects/spring-boot/issues/26163)
- Enhance multiple entity manager factories online documentation [#26159](https://togithub.com/spring-projects/spring-boot/issues/26159)
- Include spring.profiles.group in additional-spring-configuration-metadata.json [#26127](https://togithub.com/spring-projects/spring-boot/issues/26127)
- Suggest enabling the default servlet when using Jersey as a filter [#25733](https://togithub.com/spring-projects/spring-boot/issues/25733)
#### :hammer: Dependency Upgrades
- Upgrade to ActiveMQ 5.16.2 [#26496](https://togithub.com/spring-projects/spring-boot/issues/26496)
- Upgrade to Dropwizard Metrics 4.1.21 [#26497](https://togithub.com/spring-projects/spring-boot/issues/26497)
- Upgrade to Ehcache 2.10.9.2 [#26498](https://togithub.com/spring-projects/spring-boot/issues/26498)
- Upgrade to Ehcache3 3.9.3 [#26499](https://togithub.com/spring-projects/spring-boot/issues/26499)
- Upgrade to Hibernate 5.4.31.Final [#26500](https://togithub.com/spring-projects/spring-boot/issues/26500)
- Upgrade to Infinispan 11.0.11.Final [#26501](https://togithub.com/spring-projects/spring-boot/issues/26501)
- Upgrade to Janino 3.1.4 [#26502](https://togithub.com/spring-projects/spring-boot/issues/26502)
- Upgrade to JBoss Transaction SPI 7.6.1.Final [#26503](https://togithub.com/spring-projects/spring-boot/issues/26503)
- Upgrade to Jetty 9.4.41.v20210516 [#26601](https://togithub.com/spring-projects/spring-boot/issues/26601)
- Upgrade to Jetty Reactive HTTPClient 1.1.8 [#26504](https://togithub.com/spring-projects/spring-boot/issues/26504)
- Upgrade to Johnzon 1.2.11 [#26506](https://togithub.com/spring-projects/spring-boot/issues/26506)
- Upgrade to jOOQ 3.14.9 [#26507](https://togithub.com/spring-projects/spring-boot/issues/26507)
- Upgrade to Json-smart 2.3.1 [#26508](https://togithub.com/spring-projects/spring-boot/issues/26508)
- Upgrade to JUnit Jupiter 5.7.2 [#26509](https://togithub.com/spring-projects/spring-boot/issues/26509)
- Upgrade to Kafka 2.6.2 [#24247](https://togithub.com/spring-projects/spring-boot/issues/24247)
- Upgrade to Lettuce 6.0.5.RELEASE [#26510](https://togithub.com/spring-projects/spring-boot/issues/26510)
- Upgrade to MariaDB 2.7.3 [#26511](https://togithub.com/spring-projects/spring-boot/issues/26511)
- Upgrade to Micrometer 1.6.7 [#26430](https://togithub.com/spring-projects/spring-boot/issues/26430)
- Upgrade to MySQL 8.0.25 [#26512](https://togithub.com/spring-projects/spring-boot/issues/26512)
- Upgrade to Neo4j Java Driver 4.1.2 [#26513](https://togithub.com/spring-projects/spring-boot/issues/26513)
- Upgrade to Netty 4.1.65.Final [#26602](https://togithub.com/spring-projects/spring-boot/issues/26602)
- Upgrade to Netty tcNative 2.0.39.Final [#26514](https://togithub.com/spring-projects/spring-boot/issues/26514)
- Upgrade to Pooled JMS 1.2.2 [#26515](https://togithub.com/spring-projects/spring-boot/issues/26515)
- Upgrade to Postgresql 42.2.20 [#26516](https://togithub.com/spring-projects/spring-boot/issues/26516)
- Upgrade to R2DBC Bom Arabba-SR10 [#26517](https://togithub.com/spring-projects/spring-boot/issues/26517)
- Upgrade to Reactor 2020.0.7 [#26358](https://togithub.com/spring-projects/spring-boot/issues/26358)
- Upgrade to Spring AMQP 2.3.7 [#26383](https://togithub.com/spring-projects/spring-boot/issues/26383)
- Upgrade to Spring Batch 4.3.3 [#26391](https://togithub.com/spring-projects/spring-boot/issues/26391)
- Upgrade to Spring Data 2020.0.9 [#26381](https://togithub.com/spring-projects/spring-boot/issues/26381)
- Upgrade to Spring Framework 5.3.7 [#26360](https://togithub.com/spring-projects/spring-boot/issues/26360)
- Upgrade to Spring HATEOAS 1.2.6 [#26442](https://togithub.com/spring-projects/spring-boot/issues/26442)
- Upgrade to Spring Integration 5.4.7 [#26587](https://togithub.com/spring-projects/spring-boot/issues/26587)
- Upgrade to Spring Kafka 2.6.8 [#26385](https://togithub.com/spring-projects/spring-boot/issues/26385)
- Upgrade to Spring LDAP 2.3.4 [#26393](https://togithub.com/spring-projects/spring-boot/issues/26393)
- Upgrade to Thymeleaf Layout Dialect 2.5.3 [#26518](https://togithub.com/spring-projects/spring-boot/issues/26518)
- Upgrade to Tomcat 9.0.46 [#26519](https://togithub.com/spring-projects/spring-boot/issues/26519)
#### :heart: Contributors
We'd like to thank all the contributors who worked on this release!
- [@dreis2211](https://togithub.com/dreis2211)
- [@matthiasstock](https://togithub.com/matthia
Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
2.3.3.RELEASE
->2.5.2
Release Notes
spring-projects/spring-boot
### [`v2.5.2`](https://togithub.com/spring-projects/spring-boot/releases/v2.5.2) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.5.1...v2.5.2) #### :beetle: Bug Fixes - Instantiator is called without a classloader [#27074](https://togithub.com/spring-projects/spring-boot/issues/27074) - EnvironmentPostProcessors aren't instantiated with correct ClassLoader [#27073](https://togithub.com/spring-projects/spring-boot/issues/27073) - EnvironmentPostProcessors aren't instantiated with correct ClassLoader [#27072](https://togithub.com/spring-projects/spring-boot/issues/27072) - Instantiator is called without a classloader [#27071](https://togithub.com/spring-projects/spring-boot/issues/27071) - Failure when binding the name of a non-existent class to a Class\> property isn't very helpful [#27061](https://togithub.com/spring-projects/spring-boot/issues/27061) - Failure when binding the name of a non-existent class to a Class\> property isn't very helpful [#27060](https://togithub.com/spring-projects/spring-boot/issues/27060) - Unable to exclude dependencies on repackaging war [#27057](https://togithub.com/spring-projects/spring-boot/issues/27057) - Unable to exclude dependencies on repackaging war [#27056](https://togithub.com/spring-projects/spring-boot/issues/27056) - Deadlock when the application context is closed and System.exit(int) is then called during application context refresh [#27049](https://togithub.com/spring-projects/spring-boot/issues/27049) - Default value for NettyProperties.leakDetection is not aligned with Netty's default [#27046](https://togithub.com/spring-projects/spring-boot/issues/27046) - Profile-specific resolution should still happen when processing 'spring.config.import' properties [#27006](https://togithub.com/spring-projects/spring-boot/issues/27006) - Profile-specific resolution should still happen when processing 'spring.config.import' properties [#27005](https://togithub.com/spring-projects/spring-boot/issues/27005) - Gradle build fails with "invocation of 'Task.project' at execution time is unsupported" when using the configuration cache in a project that depends on org.springframework.boot:spring-boot-configuration-processor [#26997](https://togithub.com/spring-projects/spring-boot/issues/26997) - NoSuchMethodError with Jetty 10 when trying to use HTTP/2 over TLS (h2) [#26988](https://togithub.com/spring-projects/spring-boot/issues/26988) - SpringApplicationShutdownHook throws ClassCastException when use log4j2 [#26953](https://togithub.com/spring-projects/spring-boot/issues/26953) - Gradle 6.9.x is not listed as a supported version when the Gradle version is < 6.8 [#26952](https://togithub.com/spring-projects/spring-boot/issues/26952) - Kotlin plugin's version shouldn't be read if the kotlin.version extra property has been set [#26947](https://togithub.com/spring-projects/spring-boot/issues/26947) - Profile-specific files should still be considered when processing 'spring.config.import' properties [#26939](https://togithub.com/spring-projects/spring-boot/issues/26939) - Misleading type information reported by BeanNotOfRequiredTypeFailureAnalyzer [#26935](https://togithub.com/spring-projects/spring-boot/issues/26935) - SQL initialization in 2.5 does not handle connection errors gracefully anymore [#26926](https://togithub.com/spring-projects/spring-boot/issues/26926) - Script-based database initialization should not check the database's type unless it has scripts to apply [#26925](https://togithub.com/spring-projects/spring-boot/issues/26925) - Memory leak in MetricsClientHttpRequestInterceptor when auto-timing is disabled [#26923](https://togithub.com/spring-projects/spring-boot/issues/26923) - DevTools' LiveReload support's HTTP header handling is case sensitive [#26920](https://togithub.com/spring-projects/spring-boot/issues/26920) - DevTools' LiveReload support's HTTP header handling is case sensitive [#26919](https://togithub.com/spring-projects/spring-boot/issues/26919) - App fails to start when using Flyway or Liquibase with a spring.flyway.url or spring.liquibase.url without spring-jdbc on the classpath [#26917](https://togithub.com/spring-projects/spring-boot/issues/26917) - A bean factory post processor cannot be configured to run after `DependsOnDatabaseInitializationPostProcessor` [#26899](https://togithub.com/spring-projects/spring-boot/issues/26899) - WebSocket auto-configuration throws a CNFE with Jetty 10 [#26847](https://togithub.com/spring-projects/spring-boot/issues/26847) #### :notebook_with_decorative_cover: Documentation - Description of spring.datasource.name property is inaccurate [#27063](https://togithub.com/spring-projects/spring-boot/issues/27063) - Description of spring.datasource.name property is inaccurate [#27062](https://togithub.com/spring-projects/spring-boot/issues/27062) - Update reference documentation to reflect `@SpringBootApplication`'s use of `@SpringBootConfiguration` [#27024](https://togithub.com/spring-projects/spring-boot/issues/27024) - Document uuid support in RandomValuePropertySource [#27010](https://togithub.com/spring-projects/spring-boot/issues/27010) - Misleading doc about application startup exposure [#26978](https://togithub.com/spring-projects/spring-boot/issues/26978) - Add missing space for asciidoc ordered list [#26955](https://togithub.com/spring-projects/spring-boot/pull/26955) - Add Azure info to the cloud deployment docs [#26910](https://togithub.com/spring-projects/spring-boot/pull/26910) - Make the documentation versions more apparent [#26891](https://togithub.com/spring-projects/spring-boot/issues/26891) #### :hammer: Dependency Upgrades - Upgrade to Cassandra Driver 4.11.2 [#26990](https://togithub.com/spring-projects/spring-boot/issues/26990) - Upgrade to Dropwizard Metrics 4.1.24 [#27035](https://togithub.com/spring-projects/spring-boot/issues/27035) - Upgrade to Hazelcast 4.1.4 [#27069](https://togithub.com/spring-projects/spring-boot/issues/27069) - Upgrade to Jedis 3.6.1 [#26992](https://togithub.com/spring-projects/spring-boot/issues/26992) - Upgrade to Jetty EL 9.0.48 [#26993](https://togithub.com/spring-projects/spring-boot/issues/26993) - Upgrade to Kotlin 1.5.20 [#27088](https://togithub.com/spring-projects/spring-boot/issues/27088) - Upgrade to Kotlin 1.5.20 [#27086](https://togithub.com/spring-projects/spring-boot/issues/27086) - Upgrade to Lettuce 6.1.3.RELEASE [#27036](https://togithub.com/spring-projects/spring-boot/issues/27036) - Upgrade to Micrometer 1.7.1 [#27015](https://togithub.com/spring-projects/spring-boot/issues/27015) - Upgrade to Neo4j Java Driver 4.2.7 [#27037](https://togithub.com/spring-projects/spring-boot/issues/27037) - Upgrade to Netty tcNative 2.0.40.Final [#27070](https://togithub.com/spring-projects/spring-boot/issues/27070) - Upgrade to Nimbus JOSE JWT 9.10 [#27039](https://togithub.com/spring-projects/spring-boot/issues/27039) - Upgrade to OAuth2 OIDC SDK 9.9 [#27038](https://togithub.com/spring-projects/spring-boot/issues/27038) - Upgrade to Postgresql 42.2.22 [#26994](https://togithub.com/spring-projects/spring-boot/issues/26994) - Upgrade to Reactor 2020.0.8 [#26968](https://togithub.com/spring-projects/spring-boot/issues/26968) - Upgrade to SLF4J 1.7.31 [#26995](https://togithub.com/spring-projects/spring-boot/issues/26995) - Upgrade to Spring AMQP 2.3.9 [#26972](https://togithub.com/spring-projects/spring-boot/issues/26972) - Upgrade to Spring Data 2021.0.2 [#26970](https://togithub.com/spring-projects/spring-boot/issues/26970) - Upgrade to Spring HATEOAS 1.3.2 [#26969](https://togithub.com/spring-projects/spring-boot/issues/26969) - Upgrade to Spring Integration 5.5.1 [#26974](https://togithub.com/spring-projects/spring-boot/issues/26974) - Upgrade to Spring Kafka 2.7.3 [#26973](https://togithub.com/spring-projects/spring-boot/issues/26973) - Upgrade to Spring Security 5.5.1 [#26945](https://togithub.com/spring-projects/spring-boot/issues/26945) - Upgrade to Spring Session 2021.0.1 [#26971](https://togithub.com/spring-projects/spring-boot/issues/26971) - Upgrade to Tomcat 9.0.48 [#26996](https://togithub.com/spring-projects/spring-boot/issues/26996) #### :heart: Contributors We'd like to thank all the contributors who worked on this release! - [@hrybs](https://togithub.com/hrybs) - [@izeye](https://togithub.com/izeye) - [@dreis2211](https://togithub.com/dreis2211) - [@aclement](https://togithub.com/aclement) - [@francislavoie](https://togithub.com/francislavoie) - [@quaff](https://togithub.com/quaff) - [@limo520](https://togithub.com/limo520) ### [`v2.5.1`](https://togithub.com/spring-projects/spring-boot/releases/v2.5.1) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.5.0...v2.5.1) #### :beetle: Bug Fixes - SqlInitializationAutoConfiguration fails when there is a DataSource bean and no spring-jdbc or a ConnectionFactory bean and no spring-r2dbc [#26850](https://togithub.com/spring-projects/spring-boot/issues/26850) - MetricsRestTemplateCustomizer and LocalHostUriTemplateHandler cannot be used together when building a RestTemplate with RestTemplateBuilder [#26827](https://togithub.com/spring-projects/spring-boot/issues/26827) - CompositeHealth.getDetails() does not serialize if MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS is disabled [#26823](https://togithub.com/spring-projects/spring-boot/issues/26823) - ConnectionFactoryBuilder.derivefrom should be named derivedFrom to align with DataSourceBuilder [#26810](https://togithub.com/spring-projects/spring-boot/issues/26810) - Profile-specific property files are incorrectly ordered when both '.' and './config' folders are used in the same application [#26782](https://togithub.com/spring-projects/spring-boot/issues/26782) - A spring.config.import declared in an application-Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.