Spring/spring-boot: Release v2.4.0-M4
Name: spring-boot
Owner: Spring
Release: v2.4.0-M4
Released: 2020-10-15
License: Apache-2.0
Release Assets:
⭐ 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
- 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
- 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
:heart: Contributors
We'd like to thank all the contributors who worked on this release!