Spring Boot v2.4.0-M4 Release Notes
Release Date: 2020-10-15 // over 3 years ago-
๐ฑ โญ New Features
- ๐ Improve ConfigData processing code #23711
- Apply FailureAnalyzers even if the ApplicationContext was not created #23710
- ๐ Set platform API version when invoking image builder #23682
- Align name of UndertowServletWebServerFactory's eagerInitFilters with Undertow's naming #23674
- โ Add KafkaStream's CleanupConfig properties #23636
- โ Add a FailureAnalyzer for ConfigDataNotFoundException #23633
- โก๏ธ Update default builder image for image builds with buildpacks #23628
- ๐ง Override Undertow's defaults so that the request URL of a forwarded request is spec-compliant and make it configurable via an application property #23619
- ๐ง Use a Property named mainClass to configure the main class name in the Gradle plugin #23608
- โ Remove org.synchronoss.cloud:nio-multipart-parser from spring-boot-starter-webflux in favour of WebFlux's own parser #23601
- โ Address inconsistencies in enabling configuration properties #23593
- โ Add configuration properties for Flyway 7.0's new configuration options #23579
- ๐ Use JdbcTransactionManager in favor of DatasourceTransactionManager #23572
- ๐ Deprecate HSQL in EmbeddedDatabaseConnection and add HSQLDB as its preferred replacement #23565
- โ Add configuration option to configure RabbitConnectionFactory's channelRpcTimeout #23564
- ๐ Avoid resolving configurations unnecessarily when building a layered jar #23528
- โ Add BootstrapContext methods that deal with missing registrations #23438
- ๐ง Configure the bootBuildInfo task lazily #23435
- ๐ When building with Gradle, include project dependencies in the application layer by default and make it easer to customise their location #23431
- ๐ Allow users to define their own LocaleContextResolver bean when using WebFlux #23419
- โ Add support for Oracle UCP #23403
- ๐ Configure Docker host in build plugins #23400
- ๐ Allow to create a custom RestTemplateBuilder whilst retaining default auto-configuration #23389
- ๐ง Don't apply MeterFilter to auto-configured composite registry #23381
- โ Add configuration option to customize RSocketServer's fragment size #23247
- ๐ Improve CassandraHealthIndicator with more robust mechanism #23041
- ๐ Allow binding to collections when a boolean 'is' method also exists #23007
- 0๏ธโฃ Stop registering the default servlet by default #22915
- โ Add support for Redis 6 authentication with username #22702
- ๐ฆ Expose cache metrics for RedisCache #22701
- ๐ง Configure ApplicationContext's ResourceLoader on RabbitConnectionFactory #22332
- โ Add origin support for empty YAML list and map #21704
- โ Add support for publishing docker images to a registry #21001
- โ Add support for Hazelcast 4 #20856
๐ฑ ๐ Bug Fixes
- Setting server.undertow.eager-filter-init has no effect #23677
- ๐ง
@ConfigurationPropertiesBinding
does not apply Formatter beans #23615 - ๐ spring-boot-configuration-processor prevents builds from being incremental when source retention annotations are present #23580
- H2 Console error with AbstractRoutingDataSource #23570
- When using embedded Jetty, an error response to a HEAD request has a body #23557
- Custom layer definition does not pick up snapshots #23541
- ๐ง Datasource initialisation with JPA schema configured in deferred mode happens asynchronously #23535
- Dependency management for Netty tcNative does not include its netty-tcnative module #23509
- PropertiesLauncher requires spring-core on the classpath #23501
- 0๏ธโฃ Log4j's tag library doesn't work out of the box as log4j-*.jar is skipped by default #23482
- ๐ง DataSourceBuilder should only alias a property when the expected DataSource is configured #23480
- โ Unexpected application context cache hit when testing with SpringBootTest webEnvironment MOCK and DEFINED_PORT #23478
- ๐ง Log4j2 configuration is not picking up some properties #23430
- ๐ง Flyway configuration ignores init-sqls when using spring.datasource.* properties #23409
- Kubernetes configmap hidden files are exposed as property sources #23232
๐ Documentation
- ๐ Fix XML tag in image publishing example #23632
- โ
Document that
@DataNeo4jTest
does not support transactional tests with a reactive setup #23630 - ๐ง Document that a reactive transaction manager is not auto-configured with Spring Data Neo4j #23629
- ๐ Document how JAVA_OPTS can be used with the buildpack #23626
- โ Add example of default Cloud Native Buildpacks Builder #23623
- โ Add upgrading section to reference docs with a link to the wiki #23612
- โ Add example of setting system property in gradle bootRun #23599
- ๐ Fix typos in reference documentation and contributing guidelines #23573
- ๐ Update configuration metadata appendix to remove description for Gradle 4.5 and earlier as it is no longer supported #23568
- ๐ง Provide both properties and YAML for each configuration properties example #23515
- โ Add reference to desensitization spring boot starter #23507
- ๐ Fix typos #23465
- ๐ Fix link to Log4j's JDK Logging Adapter in reference documentation #23462
- ๐ Fix typo #23456
- Revisit hint on using classpath* for retrieving templates #23453
- ๐ง Note the Kt class name suffix when describing how to configure a Kotlin application's main class name #23423
- โ Add anchor links to section headers in Gradle and Maven plugin reference docs #23407
โฌ๏ธ ๐จ Dependency Upgrades
- โฌ๏ธ Upgrade to Byte Buddy 1.10.17 #23639
- โฌ๏ธ Upgrade to Caffeine 2.8.6 #23640
- โฌ๏ธ Upgrade to Commons DBCP2 2.8.0 #23641
- โฌ๏ธ Upgrade to Couchbase Client 3.0.9 #23642
- โฌ๏ธ Upgrade to Dropwizard Metrics 4.1.13 #23643
- โฌ๏ธ Upgrade to Elasticsearch 7.9.2 #23644
- โฌ๏ธ Upgrade to Flyway 7.0.2 #23645
- โฌ๏ธ Upgrade to Hazelcast 4.0.3 #23475
- โฌ๏ธ Upgrade to Hazelcast Hibernate5 2.1.1 #23476
- โฌ๏ธ Upgrade to Hibernate 5.4.22.Final #23646
- โฌ๏ธ Upgrade to Hibernate Validator 6.1.6.Final #23647
- โฌ๏ธ Upgrade to HtmlUnit 2.44.0 #23648
- โฌ๏ธ Upgrade to HttpClient 4.5.13 #23649
- โฌ๏ธ Upgrade to Infinispan 11.0.4.Final #23650
- โฌ๏ธ Upgrade to Jackson Bom 2.11.3 #23651
- โฌ๏ธ Upgrade to Jersey 2.32 #23652
- โฌ๏ธ Upgrade to Jetty 9.4.32.v20200930 #23653
- โฌ๏ธ Upgrade to jOOQ 3.13.5 #23654
- โฌ๏ธ Upgrade to JUnit 4.13.1 #23655
- โฌ๏ธ Upgrade to Kotlin 1.4.10 #23656
- โฌ๏ธ Upgrade to Kotlin Coroutines 1.4.0-M1 #23678
- ๐ Upgrade to Lettuce 6.0.0.RELEASE #23657
- โฌ๏ธ Upgrade to Liquibase 3.10.3 #23658
- โฌ๏ธ Upgrade to Lombok 1.18.14 #23659
- โฌ๏ธ Upgrade to MariaDB 2.7.0 #23660
- โฌ๏ธ Upgrade to Mockito 3.5.13 #23661
- โฌ๏ธ Upgrade to OAuth2 OIDC SDK 8.22 #23673
- โฌ๏ธ Upgrade to Postgresql 42.2.17 #23662
- โฌ๏ธ Upgrade to QueryDSL 4.4.0 #23663
- โฌ๏ธ Upgrade to Reactor 2020.0.0-RC2 #23621
- โฌ๏ธ Upgrade to RSocket 1.1.0-RC1 #23637
- โฌ๏ธ Upgrade to RxJava2 2.2.20 #23664
- โฌ๏ธ Upgrade to Selenium HtmlUnit 2.44.0 #23665
- โฌ๏ธ Upgrade to SendGrid 4.6.6 #23666
- โฌ๏ธ Upgrade to Spring AMQP 2.3.0-RC1 #23680
- โฌ๏ธ Upgrade to Spring Data 2020.0.0-RC2 #23594
- โฌ๏ธ Upgrade to Spring Framework 5.3.0-RC2 #23534
- โฌ๏ธ Upgrade to Spring Integration 5.4.0-RC1 #23695
- โฌ๏ธ Upgrade to Spring Kafka 2.6.2 #23679
- ๐ Upgrade to Spring Security 5.4.1 #23667
- โฌ๏ธ Upgrade to Tomcat 9.0.39 #23668
- โฌ๏ธ Upgrade to Undertow 2.2.2.Final #23669
๐ฑ โค๏ธ Contributors
๐ We'd like to thank all the contributors who worked on this release!