github spring-projects/spring-boot v4.1.0-M2

pre-release2 hours ago

⭐ New Features

  • Add support for publishMaxGaugeForHistograms in OtlpRegistry #49242
  • Add TWENTY_SIX to JavaVersion enum #49194
  • Support service connections with RabbitMQ Stream and Docker Compose #49162
  • Bind 'Optional' value object parameters as empty rather than null #49152
  • Add Kotlin DSL extension functions for TestEntityManager #49063
  • Add customizers for OtlpHttpLogRecordExporterBuilder and OtlpGrpcLogRecordExporterBuilder #49002
  • Improve performance of structure logging 'ContextPairs' nested name splitting #48999
  • Show certificates from truststore in SSL info endpoint #48967
  • Add time, locale, and work dir data to ProcessInfo #48959
  • Add compression mode OTLP property #48957
  • Provide support for adding to the mime types that are compressed #48930
  • Support service connections with RabbitMQ Streams and Testcontainers #42443
  • Provide configuration properties and customizers for configuring Jackson's factories #34709
  • Provide a configuration option to load properties config data files as UTF-8 #28663

🐞 Bug Fixes

  • Jackson properties may not be applied correctly to RestClients #49250
  • Using the OTel and Zipkin starters together creates invalid configuration #49215
  • ClassNotFoundException when using Actuator without spring-boot-health #49198
  • Whitespace can be incorrectly removed when spring-boot-configuration-processor runs on multi-line javadoc #49061
  • Slice test includes fail to load when using spring-boot-starter-test-classic #49042
  • Java version requirement check for native image is confusing if AOT didn't run #49025
  • Jackson2HttpMessageConvertersConfiguration uses ConditionOn Jackson3 XMLMapper class #49016
  • TestPropertyValues.Pair.fromMapEntry(Entry<String, String>) does not comply with its nullability contract #48991
  • server.jetty.threads.max is ignored when using virtual threads #48990
  • Docker credential helpers with file extensions cannot be executed on Windows #48980

📔 Documentation

  • Couchbase and Kafka are incorrectly listed as supporting SSL with Docker Compose #49213
  • Document that use of non idiomatic format for '@Value' still apply for environment variables #49110
  • Document naming convention for custom test-scoped starters #49018
  • Delay removal of Jackson 2 support until 4.3 at the earliest #49011
  • LICENSE.txt and NOTICE.txt files have the wrong content in the latest releases #49004
  • ApplicationContextAssert documents a non-existent assertion in getFailure() #48978
  • Update the configuration metadata changelog to include properties whose default values have changed #48962
  • Highlight the importance of the preStop hook when configuring Kubernetes probes #48947

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 6.2.1 #49254
  • Upgrade to Artemis 2.51.0 #49203
  • Upgrade to AssertJ 3.27.7 #49124
  • Upgrade to Byte Buddy 1.18.5 #49235
  • Upgrade to Commons Codec 1.21.0 #49125
  • Upgrade to Couchbase Client 3.11.1 #49252
  • Upgrade to Elasticsearch Client 9.2.5 #49177
  • Upgrade to Flyway 11.20.3 #49127
  • Upgrade to Flyway 12.0.1 #49255
  • Upgrade to Groovy 5.0.4 #49128
  • Upgrade to Hibernate 7.2.4.Final #49180
  • Upgrade to HttpCore5 5.4.1 #49181
  • Upgrade to Jaybird 6.0.4 #49130
  • Upgrade to JBoss Logging 3.6.2.Final #49131
  • Upgrade to Jedis 7.2.1 #49227
  • Upgrade to Jersey 4.0.2 #49132
  • Upgrade to Jetty 12.1.6 #49133
  • Upgrade to jOOQ 3.20.11 #49134
  • Upgrade to JUnit Jupiter 6.0.3 #49236
  • Upgrade to Kafka 4.2.0 #49258
  • Upgrade to Kotlin 2.3.10 #49135
  • Upgrade to Lettuce 7.2.1.RELEASE #49228
  • Upgrade to Logback 1.5.32 #49248
  • Upgrade to Maven Compiler Plugin 3.15.0 #49137
  • Upgrade to Maven Dependency Plugin 3.10.0 #49172
  • Upgrade to Micrometer 1.17.0-M2 #49173
  • Upgrade to Micrometer Tracing 1.7.0-M3 #49174
  • Upgrade to MongoDB 5.6.3 #49138
  • Upgrade to MySQL 9.6.0 #49139
  • Upgrade to Netty 4.2.10.Final #49140
  • Upgrade to OpenTelemetry 1.58.0 #49141
  • Upgrade to Oracle Database 23.26.1.0.0 #49142
  • Upgrade to Postgresql 42.7.10 #49204
  • Upgrade to Prometheus Client 1.5.0 #49256
  • Upgrade to R2DBC MariaDB 1.4.0 #49257
  • Upgrade to Rabbit Stream Client 1.5.0 #49182
  • Upgrade to Reactor Bom 2025.0.3 #49113
  • Upgrade to Spring AMQP 4.1.0-M2 #49114
  • Upgrade to Spring Data 2026.0.0-M1 #49229
  • Upgrade to Spring Framework 7.0.5 #49218
  • Upgrade to Spring Integration 7.1.0-M2 #49117
  • Upgrade to Spring Kafka 4.1.0-M1 #49118
  • Upgrade to Spring LDAP 4.1.0-M1 #49119
  • Upgrade to Spring Pulsar 2.0.3 #49120
  • Upgrade to Spring Security 7.1.0-M2 #49121
  • Upgrade to Spring Session 4.1.0-M1 #49145
  • Upgrade to SQLite JDBC 3.51.2.0 #49175
  • Upgrade to Tomcat 11.0.18 #49143

❤️ Contributors

Thank you to all the contributors who worked on this release:

@GaetanoCerciello, @aalsanie, @dj258255, @dsyer, @eddumelendez, @garvit-joshi, @jdsalasca, @joaquinjsb, @jonatan-ivanov, @junpakPark, @linkian209, @nosan, @osvetlik, @quaff, @scordio, @shakuzen, and @srt

Don't miss a new spring-boot release

NewReleases is sending notifications on new releases.