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!