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!