github spring-projects/spring-boot v2.5.0-RC1

latest releases: v3.4.0-M2, v3.3.3, v3.2.9...
pre-release3 years ago

⭐ New Features

  • Make ApplicationConversionService.getSharedInstance() unmodifiable #26088
  • @Document should be considered when auto-configuring Spring Data Elasticsearch #26028
  • Support Gradle 7 and raise minimum supported version of Gradle 6.x to 6.8 #26026
  • Provide auto-configuration for using Apache HttpClient 5 with WebClient #26004
  • Automatically enable h2c when HTTP/2 is enabled without SSL #25856
  • Add detection of Azure App Service to CloudPlatform #25829
  • Ensure that database initialization has completed before R2DBC ConnectionFactory is used #25818
  • Add configuration properties for configuring Tomcat's keep-alive timeout and max keep-alive requests #25815
  • Allow an R2DBC ConnectionFactoryBuilder to be derived from an existing ConnectionFactory #25788
  • Move classes for DataSource initialization dependency detection into their own package #25757
  • Move basic script-based DataSource initializer from spring-boot-autoconfigure to spring-boot #25756
  • Add environment prefix support to SpringApplicationBuilder #25740
  • Provide health for an AbstractRoutingDataSource's resolved targets #25708
  • Support optional: prefix for DDL and DML script locations #25487
  • Use SimpleDriverDataSource when creating an initialization-specific DataSource #25390
  • Expose Spring Integration global properties #25377
  • Separate auto-configuration of script-based DataSource initialization from the auto-configuration of the DataSource #25323
  • Develop custom ApplicationEnvironment implementation #24892
  • Allow Spring Security's RSA key converters to be used when binding configuration properties #24891
  • Add R2DBC support for schema.sql and data.sql #24741
  • Allow spring.config.location directories to end with system-dependent separators #24490
  • Provide a constant for graceful shutdown's smart lifecycle phase #24255
  • Raise the minimum supported version of Gradle to 6.x #24225
  • Provide a request attribute for storing exception info for tagging purposes #24028
  • Auto-configure Mongo metrics #23990
  • Record WebFlux server metrics for client disconnection #23606
  • Add property to control the auto-configuration of a DataSource for an embedded database #23412
  • Support @Timed annotation for WebFlux #23112
  • Log ApplicationAvailability state changes #23098
  • Expose Spring Data Repository metrics #22217
  • Deprecate environment fallback for Mustache variable resolution #21045
  • Configure SameSite attribute on session Cookies for Spring WebFlux #20970
  • Short circuit checking of source already covered by ConfigurationPropertySources #17400
  • Configure memory leak detection for Netty #14338
  • Add Quartz actuator endpoint #10364
  • Allow RabbitMQ ConnectionFactory to be customized (to set SaslConfig or enable NIO for example) #6719

🪲 Bug Fixes

  • Profile cannot easily be deduced from StandardConfigDataResource #26139
  • CloudPlatform.isActive can return true when spring.main.cloud-platform is set to NONE #26125
  • Converters added directly to the bean factory's conversion service are not used for property binding when @ConfigurationPropertiesBinding bean is defined #26089
  • @Persistent should not be considered when scanning for MongoDB entities #26032
  • Elasticsearch auto-configuration does not configure default converters #26030
  • Gradle bootBuildImage does not preserve file permissions for resources #25938
  • Configuration of ciphers is ignored for TCP with Reactory Netty #25936
  • Keystore.load calls do not close InputStream #25923
  • ConfigData imports cannot override profile specific imports #25887
  • java.util.concurrent.RejectedExecutionException when shutting down Spring Boot app with Cassandra #25870
  • When running with a context hierarchy, PrimaryDefaultValidatorPostProcessor causes a NoSuchBeanDefinitionException when a Validator is in an ancestor context #25864
  • Unlike Micrometer's PushMeterRegistry, PrometheusPushGatewayManager stops publishing when an UnknownHostException is caught #25845
  • spring-boot:build-image hangs when classifier is specified in configuration #25811
  • During incremental compilation, configuration property metadata isn't generated for classes annotated with @ControllerEndpoint, @JmxEndpoint, @RestControllerEndpoint, @ServletEndpoint, or @WebEndpoint #25799
  • Bootstrapper interface provides no clean upgrade path due to deprecated method #25790
  • DefaultErrorWebExceptionHandler does not remove MetaType.ALL when a quality values is present #25787
  • AbstractWebMvcEndpointHandlerMapping does not chain InvalidEndpointRequestExceptions #25785
  • Unpacked jars are not deleted when the JVM exits #25775
  • TldPatterns are not aligned with Tomcat #25771
  • Actuator's rest template metrics customization prevents RootUriRequestExpectationManager.forRestTemplate from identifying that the template has had a root URI configured #25769
  • URI tag of http.client.requests metric ignores REST template's root URI #25767
  • Checks 'javax.persistence.schema-generation.database.action' when determining DDL auto default #25755
  • spring-boot:build-image hangs if finalName is specified in Spring Boot plugin configuration #25701
  • Without AspectJ, using @EnableGlobalMethodSecurity causes JDK proxies to be used by default #25413
  • Resetting the log level of a Log4j2 Logger wrongly flags its LoggerConfiguration as explicitly configured #24298

📔 Documentation

  • Fix typo in "Initialize a Database using basic SQL scripts" #26137
  • Avoid some redirects in docs #26129
  • Document limitations of using deferred JPA bootstrap and early access to JPA #26111
  • Mention special behavior of spring.config.additional-location in docs #26105
  • Provide package info for org.springframework.boot.test.autoconfigure.data.cassandra #26082
  • Add reference to IBM MQ Spring Boot starter #26041
  • Document more prominently that DataJpaTest sets spring.jpa.show-sql=true by default #26025
  • Document how to provide runtime JVM arguments when building an image #25993
  • Javadoc link for non-public autoconfiguration classes does not exist #25988
  • Fix typos in docs #25979
  • Add reference to Bitcoin starter #25943
  • Document how to customize dependency version in Version properties appendix #25935
  • Use main as the branch name in info endpoint example #25867
  • Document how to configure Maven's Failsafe plugin when not using spring-boot-starter-parent #25833
  • Update deprecation warnings with for removal targets #25826
  • Docs contribution section #25374

🔨 Dependency Upgrades

  • Upgrade to AppEngine SDK 1.9.88 #26043
  • Upgrade to Cassandra Driver 4.11.0 #26044
  • Upgrade to Couchbase Client 3.1.4 #26045
  • Upgrade to Dropwizard Metrics 4.1.19 #26046
  • Upgrade to Elasticsearch 7.12.0 #26047
  • Upgrade to Flyway 7.7.3 #26048
  • Upgrade to Git Commit ID Plugin 4.0.4 #26049
  • Upgrade to Hibernate 5.4.30.Final #26050
  • Upgrade to HSQLDB 2.5.2 #26051
  • Upgrade to HtmlUnit 2.49.1 #26052
  • Upgrade to Infinispan 12.1.1.Final #26053
  • Upgrade to Jackson Bom 2.12.3 #26054
  • Upgrade to Jakarta Mail 1.6.7 #26055
  • Upgrade to Jaybird 4.0.3.java8 #26056
  • Upgrade to Jedis 3.6.0-RC1 #25950
  • Upgrade to Jetty 9.4.39.v20210325 #26058
  • Upgrade to Jetty Reactive HTTPClient 1.1.7 #26057
  • Upgrade to json-smart 2.4.2 #25946
  • Upgrade to Kotlin 1.5.0-RC #26080
  • Upgrade to Lettuce 6.1.1.RELEASE #26075
  • Upgrade to Liquibase 4.3.3 #26060
  • Upgrade to Lombok 1.18.20 #26061
  • Upgrade to Maven Invoker Plugin 3.2.2 #26062
  • Upgrade to Micrometer 1.7.0-RC1 #25934
  • Upgrade to MIMEPull 1.9.14 #26063
  • Upgrade to Mockito 3.9.0 #26064
  • Upgrade to MongoDB 4.2.3 #26065
  • Upgrade to Neo4j Java Driver 4.2.4 #26066
  • Upgrade to Netty 4.1.63.Final #26067
  • Upgrade to Netty tcNative 2.0.38.Final #26068
  • Upgrade to Nimbus JOSE JWT 9.8.1 #26077
  • Upgrade to OAuth2 OIDC SDK 9.3.3 #26076
  • Upgrade to Rabbit AMQP Client 5.12.0 #26069
  • Upgrade to Reactor 2020.0.6 #25925
  • Upgrade to Selenium HtmlUnit 2.49.1 #26070
  • Upgrade to Spring Data 2021.0.0 #25928
  • Upgrade to Spring Framework 5.3.6 #25926
  • Upgrade to Spring HATEOAS 1.3.0 #25927
  • Upgrade to Spring Integration 5.5.0-RC1 #25929
  • Upgrade to Spring Kafka 2.7.0 #25930
  • Upgrade to Spring Security 5.5.0-RC1 #25931
  • Upgrade to Spring Session 2021.0.0-RC1 #25932
  • Upgrade to Spring WS 3.1.0-RC1 #25933
  • Upgrade to Sun Mail 1.6.7 #26071
  • Upgrade to Tomcat 9.0.45 #26072
  • Upgrade to Undertow 2.2.7.Final #26073

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

Don't miss a new spring-boot release

NewReleases is sending notifications on new releases.