Spring Boot v2.3.0.RC1 Release Notes

Release Date: 2020-05-01 // almost 4 years ago
  • ๐Ÿฑ โญ New Features

    • โž• Add InputStreamSourceToByteArrayConverter #21285
    • ๐Ÿ”ง Restrict wildcard pattern support for configuration files #21217
    • ๐Ÿ”ง Provide a property to disable configuration of the default servlet #21214
    • ๐Ÿ‘ Allow project dependencies to be assigned to layers by their coordinates #21207
    • ๐Ÿ‘ป Throw exception if spring.config.location uses classpath*: #21175
    • ๐Ÿ‘ Best effort support for Hazelcast 4 #21169
    • ๐Ÿ”ง Create ReactorNettyHttpClientMapper for configuring HttpClient #21135
    • Avoid recompiling pattern in Handler#canonicalize #21103
    • Provide an RSocketMessageHandlerCustomizer to allow customizing of the RSocketMessageHandler #21081
    • Harmonize Service Level Agreement to Service Level Objectives #21076
    • Fail operations when JarFile is closed #21072
    • ๐Ÿ‘Œ Improve property name in thrown Micrometer ValidationException #21069
    • ๐Ÿ‘Œ Improve compatibility of launch script by replacing use of seq with a bash native loop #21068
    • ๐Ÿ”„ Change default builder image from cloudfoundry/cnb to Paketo #21066
    • โž• Add dependency management for the Wavefront SDK #21065
    • ๐Ÿ‘Œ Support square bracket notation profiles properties #21006
    • ๐Ÿ‘Œ Improve Elasticsearch RestClient customization capabilities #20994
    • โœ‚ Remove deprecated configuration properties #20991
    • 0๏ธโƒฃ Default management endpoint error path should honor server.error.include-* properties #20989
    • โž• Add support for customizing Spring Session's cookie serializer #20961
    • โž• Add support for NewRelicClientProvider #20908
    • โœ‚ Remove plugin management for exec-maven-plugin #20883
    • ๐Ÿ‘‰ Use YAML compatible classpath.idx format #20861
    • ๐Ÿ‘‰ Use a more compact layers.idx format #20860
    • Ensure empty layers are written to the index file #20858
    • ๐Ÿ”ง Harmonize naming of Elasticsearch auto-configuration classes #20857
    • ๐Ÿ”ฆ Expose Prometheus#histogramFlavor property #20853
    • ๐Ÿ”ฆ Expose Elastic's pipeline and indexDateSeparator properties #20852
    • ๐Ÿ”ฆ Expose AppOptics#floorTime property #20850
    • ๐Ÿ—„ Deprecate PushRegistryConfig#numThreads #20845
    • Migrate ServiceLevelAgreementBoundary from Long to Double #20837
    • ๐Ÿ”ฆ Expose Graphite's graphiteTagsEnabled property #20834
    • Tolerate breaking change to IsolationLevel in kafka-clients 2.5 #20811
    • ๐Ÿ‘‰ Use WavefrontSender to export metrics to Wavefront #20810
    • ๐Ÿ‘ Allow easy activation of ISO-by-default date and time binding for Spring MVC #20579
    • 0๏ธโƒฃ Disable error message on default error page unless explicitly enabled #20505
    • ๐Ÿ”ง Enable transaction auto-configuration when using @DataMongoTest and there is a MongoTransactionManager bean #20182
    • ๐Ÿ”ง Rework ErrorController now that getErrorPath() is unused and server.error.path must be used to configure the error path #19844
    • ๐Ÿ‘ Allow to configure Cassandra's request throttling #19674
    • ๐Ÿš€ Provide a condition for detecting war deployments #19421
    • ๐Ÿ‘ Allow @AutoConfigurationPackage to specify the base packages that should be registered #19023
    • Help users to register filters that require error or async dispatch with the correct dispatcher types #18953
    • Enable users to provide custom time and datetime formats for MVC and WebFlux type conversion #18772
    • ๐Ÿ‘Œ Improve handling of cancelled requests when publishing WebClient metrics #18444
    • Autoconfigure ReactiveGridFsTemplate with MongoProperties.getGridFsDatabase() #18284
    • ๐Ÿ”ง Automatically create a developmentOnly configuration for use with DevTools #16599

    ๐Ÿฑ ๐Ÿž Bug Fixes

    • Hitting Readiness and Liveness endpoints throws NPE #21211
    • JarFiles are being left open #21127
    • ๐Ÿ— Building a layered jar results in deprecation warnings as some configurations will no longer be resolvable in Gradle 7 #21112
    • ๐Ÿ‘€ PortInUseException can be thrown when server address is wrong #21105
    • โœ… Test classes annotated with @SpringBootTest with different args attributes share a context when they should not #21102
    • ๐Ÿคก MockitoPostProcessor can trigger early initialization of factory beans #21090
    • ๐Ÿ”’ Fat jars cause classloading problems with JDK11 and Security Manager #21074
    • WelcomePageHandlerMapping does not honor CORS #21071
    • ๐Ÿ‘€ PortInUseException thrown when Netty does not have the right to use configured port #21053
    • ๐Ÿ”ง spring.config.additional-location is ignored when spring.config.location is configured #21050
    • Nested object is not initialized if no matching property is defined with constructor binding #21049
    • ConditionalOnAvailableEndpoint does not deal with dashed IDs #21047
    • ๐Ÿ— Homebrew and Scoop definitions for non-snapshot builds link to wrong repository on repo.spring.io #21034
    • Endpoint exposure patterns do not work with dashed IDs #21023
    • KafkaClientMetrics is applied to a newly created producer rather than an existing one #21008
    • Embedded database initial failed for setting empty spring.database.url #21004
    • UndertowCompressionConfigurer fails on invalid Media Types #20957
    • Ensure consistent and correct attributes on files added to fat archives #20927
    • 0๏ธโƒฃ Default for spring.kafka.listener.missing-topics-fatal is no longer aligned with Spring Kafka's default #20919
    • 0๏ธโƒฃ Use of new DefaultResourceLoader() is dangerous as it captures the thread context classloader at the time of the call #20900
    • Application fails to start due to missing WebFluxProperties bean when using @EnableWebFlux #20891
    • Properties files in subdirectories are not loaded when one file is empty #20873
    • Layer index file is malformed when file in jar contains a space #20827
    • โœ… @SpringBootTest does not work when @activeprofiles contains a comma #19537

    ๐Ÿ“” Documentation

    • โœจ Enhance Database initialization how to guide #21119
    • โž• Add "Health as Gauge" how-to documentation #21092
    • ๐Ÿ›  Fix link to R2DBC Query in docs #21079
    • ๐Ÿ— Maven plugin examples for build-image command line properties are incorrect #21078
    • ๐Ÿ”ง Relocate section on configuring DevTools' file system watcher as it isn't specific to remote applications #21075
    • ๐Ÿ›  Fix anchors in links to Maven and Gradle plugin docs #21033
    • ๐Ÿ”— Links to CLI binaries are broken for non-snapshot builds #21030
    • Document relaxed binding from environment variables #21028
    • Document devtool property file profile restrictions #21026
    • ๐Ÿ“š Documentation: Dockerfile example does not match documented default jar layers #21020
    • ๐Ÿ”ง Deprecate getters and setters for deprecated configuration properties consistently #21017
    • โž• Add reference to gRPC starter #20966
    • ๐Ÿ‘‰ Make it more obvious that Jolokia does not work with a WebFlux app #20964
    • โž• Add reference to Mule 4 starter #20915
    • โž• Added package-info to org.springframework.boot.buildpack.platform.docker.ssl #20913
    • ๐Ÿ›  Fix typo in Adding Active Profiles #20909
    • ๐Ÿ“š Update documentation about endpoint enablement to reflect behaviour of @ConditionalOnAvailableEndpoint #20897
    • ๐Ÿ“š Don't use monospacing in documentation headings #20875
    • Document fat-jar index files #20859
    • โž• Add reference to XChange starter #20830
    • ๐Ÿ“š Name generated PDF documentation files after the subproject #20829
    • ๐Ÿ—„ Deprecate support for Bitronix #20823
    • โž• Add reference to quickfixj spring boot starter #20819
    • ๐Ÿ”— Link to the Maven Plugin's documentation is broken #20818
    • โž• Add formatting instructions for the buildSrc module #20806
    • Document how to initialize the database when using R2DBC #20524
    • ๐Ÿ— Document how to build images when behind an HTTP proxy #19984
    • ๐Ÿ“š Move Maven-specific content in reference guide to dedicated documentation #19165

    โฌ†๏ธ ๐Ÿ”จ Dependency Upgrades

    • โฌ†๏ธ Upgrade to Undertow 2.1.0.Final #21278
    • โฌ†๏ธ Upgrade to SAAJ Impl 1.5.2 #21277
    • โฌ†๏ธ Upgrade to Jetty EL 8.5.54 #21276
    • โฌ†๏ธ Upgrade to Hazelcast 3.12.7 #21275
    • โฌ†๏ธ Upgrade to Byte Buddy 1.10.10 #21274
    • โฌ†๏ธ Upgrade to Flyway 6.4.1 #21269
    • โฌ†๏ธ Upgrade to WebJars Locator Core 0.45 #21255
    • โฌ†๏ธ Upgrade to Tomcat 9.0.34 #21254
    • ๐Ÿš€ Upgrade to Spring WS 3.0.9.RELEASE #21253
    • โฌ†๏ธ Upgrade to SendGrid 4.4.8 #21252
    • โฌ†๏ธ Upgrade to Selenium HtmlUnit 2.39.0 #21251
    • โฌ†๏ธ Upgrade to Rabbit AMQP Client 5.9.0 #21250
    • โฌ†๏ธ Upgrade to OkHttp3 3.14.8 #21249
    • โฌ†๏ธ Upgrade to Netty 4.1.49.Final #21248
    • โฌ†๏ธ Upgrade to Neo4j OGM 3.2.11 #21247
    • โฌ†๏ธ Upgrade to MySQL 8.0.20 #21246
    • โฌ†๏ธ Upgrade to MongoDB 4.0.2 #21245
    • โฌ†๏ธ Upgrade to Log4j2 2.13.2 #21244
    • โฌ†๏ธ Upgrade to Liquibase 3.8.9 #21243
    • โฌ†๏ธ Upgrade to Kotlin 1.3.72 #21242
    • โฌ†๏ธ Upgrade to JUnit Jupiter 5.6.2 #21241
    • โฌ†๏ธ Upgrade to Jetty 9.4.28.v20200408 #21240
    • โฌ†๏ธ Upgrade to Jackson Bom 2.11.0 #21239
    • โฌ†๏ธ Upgrade to InfluxDB Java 2.18 #21238
    • โฌ†๏ธ Upgrade to Infinispan 10.1.6.Final #21237
    • โฌ†๏ธ Upgrade to HtmlUnit 2.39.1 #21236
    • โฌ†๏ธ Upgrade to HikariCP 3.4.3 #21235
    • โฌ†๏ธ Upgrade to Hibernate Validator 6.1.4.Final #21234
    • โฌ†๏ธ Upgrade to Hibernate 5.4.14.Final #21233
    • โฌ†๏ธ Upgrade to Groovy 2.5.11 #21232
    • โฌ†๏ธ Upgrade to Glassfish JAXB 2.3.3 #21231
    • โฌ†๏ธ Upgrade to Flatten Maven Plugin 1.2.2 #21229
    • โฌ†๏ธ Upgrade to Dropwizard Metrics 4.1.6 #21228
    • โฌ†๏ธ Upgrade to Couchbase Client 3.0.3 #21227
    • โฌ†๏ธ Upgrade to Cassandra Driver 4.6.0 #21226
    • โฌ†๏ธ Upgrade to Caffeine 2.8.2 #21225
    • โฌ†๏ธ Upgrade to Artemis 2.12.0 #21224
    • โฌ†๏ธ Upgrade to AppEngine SDK 1.9.80 #21223
    • โฌ†๏ธ Upgrade to Spring HATEOAS 1.1.0.RC1 #21210
    • โฌ†๏ธ Upgrade to RSocket 1.0.0-RC7 #21208
    • โฌ†๏ธ Upgrade to Apache Solr 8.5.1 #21206
    • ๐Ÿš€ Upgrade to Lettuce 5.3.0.RELEASE #21096
    • โฌ†๏ธ Upgrade to Kafka 2.5.0 #21032
    • โฌ†๏ธ Upgrade to Spring Kafka 2.5.0.RC1 #20953
    • โฌ†๏ธ Upgrade to Spring Integration 5.3.0.RC1 #20951
    • โฌ†๏ธ Upgrade to Spring Data Neumann-RC2 #20949
    • โฌ†๏ธ Upgrade to Spring AMQP 2.2.6 #20947
    • โฌ†๏ธ Upgrade to Spring Framework 5.2.6 #20945
    • โฌ†๏ธ Upgrade to Reactor Bom Dysprosium-SR7 #20943
    • โฌ†๏ธ Upgrade to Testcontainers 1.14.0 #20936
    • โฌ†๏ธ Upgrade to Micrometer 1.5.0 #20833

    ๐Ÿฑ โค๏ธ Contributors

    ๐Ÿš€ We'd like to thank all the contributors who worked on this release!