⭐ New Features
- Allow actuator endpoints to inject an enum indicating what to produce #25738
- Support sending metrics to InfluxDB v2 #25721
- Support Maven's reproducible build feature for war repackaging #25571
- Support OpenMetrics text format in Prometheus Actuator endpoint #25564
- Replace spring.datasource.initialization-order with a JPA-specific property #25559
- Move R2DBC ConnectionFactoryBuilder and associated classes into spring-boot #25492
- Deprecate support for checking Flyway locations #25488
- Provide configuration properties for Flyway's Vault and Conjur support #25456
- Allow PersistenceUnitPostProcessor to be configured on EntityManagerFactoryBuilder #25443
- Sanitize the value of url and urls keys in the same way that the values of uri and uris keys are sanitized #25387
- Support defining additional keys to sanitize for actuator endpoints #25384
- Add InfluxDB customizer hook point #25319
- Allow JMX endpoint ObjectNames to be customized by providing an EndpointObjectNameFactory bean #25317
- Deprecate our Gradle plugin's integration with Gradle's maven plugin #25267
- Register logging system's shutdown hook by default #25046
- Allow configuring Cassandra configuration file #24065
- Support building an image when using war packaging with Gradle #23825
- Support building an image when using war packaging with Maven #23823
- Leave jar and war tasks enabled by default and differentiate their output locations from those of bootJar and bootWar by configuring them with a classifier #23797
- Add bindings option for image building #23518
- Consider a generic way of indicating database setup #17619
- Add prefix support for environment variables #3450
🪲 Bug Fixes
- JooqExceptionTranslator passes null exception to jOOQ when SQLException cannot be translated #25718
- When multiple schema or data script locations are configured and no resources can be found at a location, you can't tell which location is faulty #25693
- When creating an initialization-specific DataSource, Flyway, Liquibase and our script-based auto-configuration all incorrectly assume that the primary DataSource will always have been derived from DataSourceProperties #25643
@ConfigurationProperties
class's default values are not visible in the Errors instance passed to Validator.validate(Object target, Errors errors) #25615- Including spring-boot-devtools causes package-private getter on proxied class to return null #25585
- Start up failure when creating an Aspect targeted at ServerHttpSecurity with devtools on the classpath. #25584
- EmbeddedDatabaseConnection#h2 should not specify a host name #25570
- RSocket's EmbeddedServerAutoConfiguration does not back off if spring-web is absent #25556
- Bootstrapper's intitialize method should be named initialize #25517
- Incorrect ConfigurationMetadataRepository when loaded from json files containing properties of the same group #25516
- Layertools may extract entries outside of the destination path #25509
- SpringApplication can replace existing default property source #25495
- In Spring Boot 2.4
@EntityScan
does not support property substitution #25491 - Default fork value for spring-boot:stop is not consistent #25484
- Application fails to start when using Actuator and Jersey configured as a Filter #25450
- Image is not built when a buildpack is used #25378
- The auto-configured WebFluxConfigurer is unordered so it may override customizations made in a user's WebFluxConfigurer #25302
📔 Documentation
- Description of management.metrics.export.influx.db is wrong #25725
- Document Java 16 support #25645
- Document DataSource implementations supported by DataSourceBuilder #25644
- Correct javadoc for ON_PARAM to accurately describe its behavior #25604
- Fix typos in README #25601
- Improve documentation of Mockito test execution listeners #25514
- Highlight link to Actuator API docs in the reference docs #25511
- Warn that multi-document property files cannot be loaded by using
@PropertySource
or@TestPropertySource
#25502 - Document how to import a Docker secret as a configtree #25500
- Add note concerning application yml and properties file precedence #25464
- Fix property name in gradle plugin documentation #25463
- Fix grammatical error in documentation #25432
- Fix wording error in build-info goal description #25386
- Polish HTTP client metrics documentation wording #25372
- Polish README #24981
🔨 Dependency Upgrades
- Upgrade to AppEngine SDK 1.9.87 #25654
- Upgrade to Byte Buddy 1.10.22 #25655
- Upgrade to Commons Lang3 3.12.0 #25656
- Upgrade to Couchbase Client 3.1.3 #25657
- Upgrade to Dropwizard Metrics 4.1.18 #25658
- Upgrade to Ehcache3 3.9.2 #25659
- Upgrade to Flyway 7.7.0 #25660
- Upgrade to Hazelcast 4.1.2 #25661
- Upgrade to Hibernate 5.4.29.Final #25662
- Upgrade to HikariCP 4.0.3 #25663
- Upgrade to Infinispan 12.0.2.Final #25664
- Upgrade to Jackson Bom 2.12.2 #25665
- Upgrade to Jakarta Mail 1.6.6 #25666
- Upgrade to Jedis 3.5.2 #25667
- Upgrade to Jetty 9.4.38.v20210224 #25462
- Upgrade to Jetty Reactive HTTPClient 1.1.6 #25668
- Upgrade to jOOQ 3.14.8 #25669
- Upgrade to Kotlin 1.4.31 #25670
- Upgrade to Kotlin Coroutines 1.4.3 #25671
- Upgrade to Lettuce 6.1.0.RC1 #25722
- Upgrade to Log4j2 2.14.1 #25672
- Upgrade to Micrometer 1.7.0-M1 #25707
- Upgrade to Mockito 3.8.0 #25674
- Upgrade to MongoDB 4.2.2 #25675
- Upgrade to MSSQL JDBC 9.2.1.jre8 #25676
- Upgrade to Neo4j Java Driver 4.2.3 #25677
- Upgrade to Netty 4.1.60.Final #25678
- Upgrade to Nimbus JOSE JWT 9.7 #25653
- Upgrade to OAuth2 OIDC SDK 9.2.2 #25652
- Upgrade to Postgresql 42.2.19 #25679
- Upgrade to R2DBC Bom Arabba-SR9 #25680
- Upgrade to Rabbit AMQP Client 5.11.0 #25681
- Upgrade to Reactor 2020.0.5 #25540
- Upgrade to SendGrid 4.7.2 #25682
- Upgrade to SnakeYAML 1.28 #25683
- Upgrade to Solr 8.8.1 #25684
- Upgrade to Spring AMQP 2.3.6 #25648
- Upgrade to Spring Batch 4.3.2 #25580
- Upgrade to Spring Data 2021.0.0-M5 #25548
- Upgrade to Spring Framework 5.3.5 #25542
- Upgrade to Spring HATEOAS 1.3.0-M3 #25546
- Upgrade to Spring Integration 5.5.0-M3 #25577
- Upgrade to Spring Kafka 2.7.0-RC1 #25582
- Upgrade to Spring Security 5.5.0-M3 #25581
- Upgrade to Spring WS 3.1.0-M2 #25694
- Upgrade to Sun Mail 1.6.6 #25686
- Upgrade to Tomcat 9.0.44 #25687
- Upgrade to Undertow 2.2.5.Final #25688
❤️ Contributors
We'd like to thank all the contributors who worked on this release!