github spring-projects/spring-boot v2.5.0

latest releases: v3.3.0-RC1, v3.2.5, v3.1.11...
2 years ago

For full upgrade instructions and new and noteworthy features please see the release notes.

🪲 Bug Fixes

  • Auto-configured resource handlers don't get applied to child contexts #26623
  • Actuator doesn't use the CORS Configuration with default security configuration and Spring Webflux #26614
  • Actuator doesn't use the CORS Configuration with default security configuration and Spring MVC #26612
  • SpringApplication additional profiles and active profiles ordering changed with Spring Boot 2.4 #26610
  • An active request delays Jetty's shutdown by 30 seconds #26608
  • SmartInitializingSingleton beans are not working with lazy initialization #26606
  • MVC and WebFlux metrics filters adversely affect the response when metrics recording fails #26596
  • ConfigDataResolvers cannot signal that they should be skipped #26585
  • Remote devtools endpoint cannot be accessed if actuator and spring security are on the classpath #26584
  • The error message when a wildcard directory location does not match any files is misleading #26583
  • Mandatory locations with pattern fail with exception #26582
  • Non-optional locations with wildcards fail if no files are contributed #26581
  • Profiles programmatically set on the Envionment are no longer merged with active profile properties #26580
  • Use of spring.profiles.include in a profile-specific document is not detected when it's configured as a YAML list #26575
  • ConfigurationProperties is retrieved via classpath scanning but does not indicate it should be indexed #26463
  • BufferingApplicationStartup fails with NoSuchElementException #26458
  • Building an image fails when using a custom buildpack image with long file names #26445
  • Additional profiles are processed too late when legacy processing is used #26434
  • Config data location does not exist error can be thrown if a profile-specific properties file is directly imported #26402
  • StandardConfigDataLoader can import profile specific files in incorrect order #26401
  • Resolvability and consumability of productionRuntimeClasspath are not aligned with runtimeClasspath #26365
  • ObjectMapper provided by JacksonAutoConfiguration via JacksonClusterEnvironmentBuilderCustomizer breaks Couchbase driver #26363
  • Empty value in spring.config.import causes NullPointerException #26346
  • @DataRedisTest does not consider RedisReactiveAutoConfiguration #26328
  • When a single bean causes a dependency cycle the failure analysis does not clearly illustrate the cycle #26323
  • SpringBootConfiguration is retrieved via classpath scanning but does not indicate it should be indexed #26318
  • Maven spring-boot:build-image ignores ZIP layout #26313
  • bootBuildImage does not pick up targetCompatibility when it's configured after task is customised #26301
  • Configuration item metadata ordering is not consistent #26277
  • @EnableAutoConfiguration and @ImportAutoConfiguration use different class loaders to find candidate configurations #26237
  • 'spring.web.resources.cache.use-last-modified=false' doesn't work with Spring MVC #26233
  • Restore support for binding configuration properties from RandomValuePropertySource #26201
  • @Scheduled method not triggered when spring.main.lazy-initialization=true #26156
  • When classes in spring-core and spring-boot are loaded by different ClassLoaders, spring-boot cannot find its own config data location resolvers #26155
  • ConfigFileApplicationListener#loadPostProcessors can not load EnvironmentPostProcessor in child classLoader #26126

📔 Documentation

  • Info endpoint in reference doc has outdated defaults #26591
  • Update documentation following the release of Spock Framework 2.0 #26586
  • Update Gradle docs to use module replacement rather than dependency substitution #26526
  • Improve documentation of TestRestTemplate's fault tolerance #26522
  • Document that the heap dump endpoint requires a HotSpot JVM #26474
  • Suggest enabling the default servlet when using Jersey as a filter #26452
  • Document support for Gradle 6.9 #26409
  • Fix wrong reference to Cassandra in DockerImageNames#couchbase #26406
  • PDF documentation include hidden code elements #26373
  • Move Working with the Code from CONTRIBUTING.adoc to the wiki #26334
  • Fix typo in NamedContributors Javadoc #26325
  • Polish README #26320
  • Fix link to Webservices reference docs #26316
  • Document property names to enable reactive health indicators #26299
  • Documentation has wrong key for DataSourceHealthIndicator #26283
  • Reorder a few howtos #26262
  • Align documentation with main default branch name #26257
  • Align Maven version in system requirements with what is actually tested #26211
  • Document that MeterFilters are only applied to the Spring-managed MeterRegistry #26186
  • Use new update site for Spring Java Format's Eclipse plugin #26172
  • spring.profiles.include has outdated sourceType in configuration metadata #26165
  • Include spring.profiles.group in additional-spring-configuration-metadata.json #26164
  • Enhance multiple entity manager factories online documentation #26160
  • SQL init schema-locations and data-locations are missing metadata to cause them to be handled as Resources #26154
  • Replacements for spring.datasource.schema and spring.datasource.data are documented incorrectly #26150

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 5.16.2 #26528
  • Upgrade to Caffeine 2.9.1 #26529
  • Upgrade to Cassandra Driver 4.11.1 #26530
  • Upgrade to Couchbase Client 3.1.5 #26531
  • Upgrade to Dropwizard Metrics 4.1.21 #26532
  • Upgrade to Ehcache 2.10.9.2 #26533
  • Upgrade to Ehcache3 3.9.3 #26534
  • Upgrade to Elasticsearch 7.12.1 #26535
  • Upgrade to Glassfish JAXB 2.3.4 #26536
  • Upgrade to Groovy 3.0.8 #26537
  • Upgrade to Hazelcast 4.1.3 #26538
  • Upgrade to Hibernate 5.4.31.Final #26539
  • Upgrade to HttpClient5 5.0.4 #26540
  • Upgrade to HttpCore5 5.1.1 #26541
  • Upgrade to Infinispan 12.1.3.Final #26542
  • Upgrade to Janino 3.1.4 #26543
  • Upgrade to JBoss Transaction SPI 7.6.1.Final #26544
  • Upgrade to Jedis 3.6.0 #26545
  • Upgrade to Jetty 9.4.41.v20210516 #26603
  • Upgrade to Jetty Reactive HTTPClient 1.1.8 #26546
  • Upgrade to Johnzon 1.2.11 #26548
  • Upgrade to jOOQ 3.14.9 #26549
  • Upgrade to Json-smart 2.4.7 #26550
  • Upgrade to JUnit Jupiter 5.7.2 #26551
  • Upgrade to Kafka 2.7.1 #26552
  • Upgrade to Kotlin 1.5.0 #26553
  • Upgrade to Kotlin Coroutines 1.5.0 #26568
  • Upgrade to Lettuce 6.1.2.RELEASE #26554
  • Upgrade to Liquibase 4.3.5 #26555
  • Upgrade to MariaDB 2.7.3 #26556
  • Upgrade to Micrometer 1.7.0 #26379
  • Upgrade to MySQL 8.0.25 #26557
  • Upgrade to Neo4j Java Driver 4.2.5 #26558
  • Upgrade to Netty 4.1.65.Final #26604
  • Upgrade to Netty tcNative 2.0.39.Final #26560
  • Upgrade to Pooled JMS 1.2.2 #26561
  • Upgrade to Postgresql 42.2.20 #26562
  • Upgrade to R2DBC Bom Arabba-SR10 #26563
  • Upgrade to Reactor 2020.0.7 #26359
  • Upgrade to SAAJ Impl 1.5.3 #26564
  • Upgrade to Solr 8.8.2 #26565
  • Upgrade to Spring AMQP 2.3.7 #26384
  • Upgrade to Spring Batch 4.3.3 #26392
  • Upgrade to Spring Data 2021.0.1 #26382
  • Upgrade to Spring Framework 5.3.7 #26361
  • Upgrade to Spring HATEOAS 1.3.1 #26380
  • Upgrade to Spring Integration 5.5.0 #26388
  • Upgrade to Spring Kafka 2.7.1 #26386
  • Upgrade to Spring LDAP 2.3.4 #26394
  • Upgrade to Spring Security 5.5.0 #26387
  • Upgrade to Spring Session 2021.0.0 #26389
  • Upgrade to Spring WS 3.1.1 #26390
  • Upgrade to Thymeleaf Layout Dialect 2.5.3 #26566
  • Upgrade to Tomcat 9.0.46 #26567

❤️ 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.