spring-boot v4.2.0-RC1
spring-boot v4.2.0-RC1
:star: New Features
- Apply the readAllBytes() optimization to deflated nested jar entries #52285
- Improve uber jar performance by looking up classes and resources directly in nested jars #52246
- Support RABBITMQ_DEFAULT_VHOST in Docker Compose RabbitMQ integration #51940
- Support random root passwords in MariaDB and MySQL Docker Compose integration #51938
- Improve auto-configuration sorting performance #51867
- Allow properties migrator to fail application startup #51855
- Add property to enable Caffeine async cache mode #51844
- Check resource existence once when looking for deleted files #51841
- Avoid parsing nested jar URLs for cached resource lookups #51827
- Support provided-scope libraries when extracting an executable war #51372
- Switch to ubuntu-resolute-builder as the default builder #51249
- Provide a callback for customizing Tomcat’s Server #50259
:lady_beetle: Bug Fixes
- JarUrlClassLoader rejects valid class names since #52271 #52284
- Resources containing spaces cannot be read from executable jars after #52246 #52280
- gRPC client ‘grpc’ load balancing fails to bind with a NullPointerException when no child policies are configured #52269
- OriginTrackedResource does not implement equals correctly #52268
- OriginTrackedPropertiesLoader drops properties whose name starts with # or ! #52266
- Logback ColorConverter unnecessarily parses its options for every log event #52262
- JWTs are rejected when issuer-uri is empty and jwk-set-uri is set #52261
- Package manifest attributes are missing for nested jars without directory entries #52259
- Empty system property in TestPropertyValues is cleared instead of being restored to its empty value #52209
- Graceful shutdown of Tomcat or Jetty may call back with REQUESTS_ACTIVE when stop is called immediately after shutDownGracefully on an idle server #52199
- NettyWebServer stop may hang when called immediately after shutDownGracefully #52198
- Prevent gRPC client properties from overriding user customizations #52194
- MongoDB fails to connect when credentials contain a space #52169
- Authentication fails when password configured in spring.elasticsearch.uris contains a colon #52167
- Logging can be lost when a context is paused by the test context framework #52089
- Fractions of a second are handled incorrectly when configuring gRPC service config durations #52087
- Docker Compose support for MongoDB fails to connect when credentials contain a character that requires URL encoding #52085
- Jersey does not use the endpoint ObjectMapper when Actuator is running on a separate port #51983
- Configuration property descriptions may be lost when building incrementally with Gradle #51926
- BasicJsonParser mishandles escaped characters in nested lists and maps #51909
- Zero week value conversion fails with ‘intValue cannot be extracted from WEEKS’ exception #51895
- App fails to start when using DevTools and manually configuring JDBC or R2DBC without spring-boot-jdbc or spring-boot-r2dbc #51891
- Docker Compose support incorrectly recognizes MARIADB_ALLOW_EMPTY_PASSWORD instead of MARIADB_ALLOW_EMPTY_ROOT_PASSWORD #51889
- Auto-configured Kotlinx Serialization JSON codec customization is not applied #51878
- Unavoidable warning when using ubuntu-resolute-builder with tiny run image #51851
:notebook_with_decorative_cover: Documentation
- Fix typo in gRPC testing documentation #52188
- Fix Gradle example for servlet-based gRPC servers #52086
- Fix actuator endpoint property names in Javadoc #51887
- Document InetAddressFilter limitations with respect to proxy servers #51864
:hammer: Dependency Upgrades
- Upgrade to Byte Buddy 1.18.15 #52215
- Upgrade to Caffeine 3.3.1 #52185
- Upgrade to Cassandra Driver 4.19.4 #52263
- Upgrade to Classmate 1.8.0 #52186
- Upgrade to Commons Lang3 3.21.0 #52058
- Upgrade to Couchbase Client 3.13.0 #52216
- Upgrade to Elasticsearch Client 9.5.5 #52217
- Upgrade to Groovy 5.1.3 #52059
- Upgrade to Grpc Java 1.84.1 #52176
- Upgrade to H2 2.5.252 #52060
- Upgrade to Hibernate 7.4.13.Final #52144
- Upgrade to Hibernate Validator 9.1.5.Final #52218
- Upgrade to HtmlUnit 5.6.0 #52145
- Upgrade to HttpClient5 5.6.5 #52146
- Upgrade to HttpCore5 5.4.4 #52063
- Upgrade to Infinispan 16.3.0 #52064
- Upgrade to Jackson 2 Bom 2.21.7 #52065
- Upgrade to Jackson Bom 3.1.7 #52066
- Upgrade to Jakarta Json Bind 3.0.4 #52220
- Upgrade to Jaybird 6.0.7 #52147
- Upgrade to Jedis 8.0.2 #52221
- Upgrade to Jersey 4.0.3 #52067
- Upgrade to Jetty 12.1.14 #52068
- Upgrade to jOOQ 3.21.9 #52069
- Upgrade to Kafka 4.4.0 #52247
- Upgrade to Kotlin 2.4.21 #52231
- Upgrade to Lettuce 7.8.0.RELEASE #52104
- Upgrade to Logback 1.6.5 #52070
- Upgrade to Micrometer 1.18.0-RC1 #52100
- Upgrade to Micrometer Tracing 1.8.0-RC1 #52138
- Upgrade to Mockito 5.24.0 #52071
- Upgrade to MongoDB 5.13.0 #52200
- Upgrade to MSSQL JDBC 13.6.1.jre11 #52232
- Upgrade to MySQL 26.7.0 #52230
- Upgrade to Neo4j Java Driver 6.3.0 #52105
- Upgrade to Netty 4.2.19.Final #52072
- Upgrade to OpenTelemetry 1.67.0 #52248
- Upgrade to Postgresql 42.7.14 #52110
- Upgrade to Prometheus Client 1.10.0 #52264
- Upgrade to Protobuf Java 4.36.2 #52177
- Upgrade to Protobuf Maven Plugin 5.1.11 #52073
- Upgrade to Pulsar 4.2.5 #52074
- Upgrade to Qpid ProtonJ2 1.4.0 #52149
- Upgrade to R2DBC MSSQL 1.0.7.RELEASE #52075
- Upgrade to R2DBC Postgresql 1.1.3.RELEASE #52076
- Upgrade to R2DBC Proxy 1.1.7.RELEASE #52223
- Upgrade to RabbitMQ AMQP Client 1.6.0 #52150
- Upgrade to RabbitMQ Client 5.37.0 #52077
- Upgrade to RabbitMQ Stream Client 1.12.0 #52151
- Upgrade to Reactor Bom 2026.0.0-RC1 #51973
- Upgrade to Selenium 4.51.0 #52152
- Upgrade to Selenium HtmlUnit 4.51.0 #52153
- Upgrade to SLF4J 2.0.20 #52079
- Upgrade to Spring AMQP 4.2.0-RC1 #51974
- Upgrade to Spring Batch 6.1.0-RC1 #52139
- Upgrade to Spring Data Bom 2026.1.0-RC1 #51981
- Upgrade to Spring Framework 7.1.0-RC1 #51975
- Upgrade to Spring GraphQL 2.1.0-RC1 #52101
- Upgrade to Spring gRPC 1.1.2 #51976
- Upgrade to Spring HATEOAS 3.2.0-RC1 #52102
- Upgrade to Spring Integration 7.2.0-RC1 #51977
- Upgrade to Spring Kafka 4.2.0-RC1 #51978
- Upgrade to Spring LDAP 4.2.0-RC1 #52140
- Upgrade to Spring Pulsar 2.0.8 #52103
- Upgrade to Spring RESTDocs 4.1.0-RC1 #51979
- Upgrade to Spring Security 7.2.0-RC1 #52141
- Upgrade to Spring Session 4.2.0-RC1 #52142
- Upgrade to Spring WS 5.1.0-RC1 #51980
- Upgrade to Tomcat 11.0.27 #52187
- Upgrade to Versions Maven Plugin 2.23.0 #52154
- Upgrade to WebJars Locator Lite 1.1.5 #52080
- Upgrade to XmlUnit2 2.14.0 #52081
:heart: Contributors
Thank you to all the contributors who worked on this release:
@CCCLL, @LindseyZ1205, @MycroCosmo, @NotAFlightRisk, @aalsanie, @anthonydahanne, @challa, @crapxxi, @dmitrysulman, @galenzo17, @geonheeryu, @hunseonglee, @janwaleed09, @khopland, @ksky8864, @lavinhoque33, @move-hoon, @ngocnhan-tran1996, @noojung, @ohchanKyu, @padosol, @rvullriede, @ryujungkyun, @scordio, @sharanrenukeshbharmshetty, @skdas20, @timtebeek, @xoruddl, and @zhoubiao188
Source spring-projects/spring-boot ·
v4.2.0-RC1· 2026-10-22 · upstream release
Mirrored verbatim for indexing. All rights belong to the upstream project.
Release notes are published by the upstream project and mirrored here for indexing. All rights belong to their authors.