Repository navigation
9.0 (deps): Update Spring Boot to 4.2.0 - #17084
Conversation
Spring Boot 4.2.0 is released. Move from 4.2.0-RC2 to the GA, which brings Spring Framework 7.1.0, Spring Security 7.2.0, Spring Data 2026.1.0 and Hibernate ORM 7.4.15.Final, and name the GA Spring Security version in the CVE-2026-47842 scan exclusion.
jdaugherty
left a comment
There was a problem hiding this comment.
Let's merge this and proceed
🚨 TestLens detected 41 failed tests 🚨Failed Jobs without Test Failures❌ Groovy Snapshot Canary Build / Build Grails (shard 1) Test SummaryTip Inspect all details with the TestLens CLI: CI / Functional Tests (Java 21, indy=false) > :grails-test-examples-issue-11102:integrationTest
CI / Functional Tests (Java 21, indy=false, shard 1) > :grails-test-examples-jetty:integrationTest
CI / Functional Tests (Java 21, indy=false, shard 1) > :grails-test-examples-undertow:integrationTest
CI / Functional Tests (Java 21, indy=true) > :grails-test-examples-issue-11102:integrationTest
CI / Functional Tests (Java 21, indy=true, shard 1) > :grails-test-examples-jetty:integrationTest
CI / Functional Tests (Java 21, indy=true, shard 1) > :grails-test-examples-undertow:integrationTest
CI / Functional Tests (Java 25, indy=false) > :grails-test-examples-issue-11102:integrationTest
CI / Functional Tests (Java 25, indy=false, shard 1) > :grails-test-examples-jetty:integrationTest
CI / Functional Tests (Java 25, indy=false, shard 1) > :grails-test-examples-undertow:integrationTest
🏷️ Commit: f5d3a79 Test Failures (first 10 of 41)FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after an asynchronous forward from Spring MVC is reported once with its own exception and route (:grails-test-examples-issue-11102:integrationTest in CI / Functional Tests (Java 21, indy=false))
FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after an asynchronous forward from an action is reported once with its own exception and route (:grails-test-examples-issue-11102:integrationTest in CI / Functional Tests (Java 21, indy=false))
FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after starting async is reported once with its own exception and route (:grails-test-examples-issue-11102:integrationTest in CI / Functional Tests (Java 21, indy=false))FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, asynchronously is reported once with its own exception and route (:grails-test-examples-issue-11102:integrationTest in CI / Functional Tests (Java 21, indy=false))
FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by the error view, after starting async is reported once with its own exception and route (:grails-test-examples-issue-11102:integrationTest in CI / Functional Tests (Java 21, indy=false))JettyFailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after an asynchronous forward from Spring MVC is reported once with its own exception and route (:grails-test-examples-jetty:integrationTest in CI / Functional Tests (Java 21, indy=false, shard 1))
JettyFailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after an asynchronous forward from an action is reported once with its own exception and route (:grails-test-examples-jetty:integrationTest in CI / Functional Tests (Java 21, indy=false, shard 1))
JettyFailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, after starting async is reported once with its own exception and route (:grails-test-examples-jetty:integrationTest in CI / Functional Tests (Java 21, indy=false, shard 1))
JettyFailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by an error controller, asynchronously is reported once with its own exception and route (:grails-test-examples-jetty:integrationTest in CI / Functional Tests (Java 21, indy=false, shard 1))
JettyFailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route > a failed action answered by the error view, after starting async is reported once with its own exception and route (:grails-test-examples-jetty:integrationTest in CI / Functional Tests (Java 21, indy=false, shard 1))Rerun Controls (first 20 of 41)Note Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 FailedActionObservationSpec > a failed action answered by #handler is reported once with its own exception and route Reuse successful test results: 🔲 ♻️ Only rerun the tests that failed or were muted before Click the checkbox to trigger a rerun: ☑️ Rerun jobs Learn more about TestLens at testlens.app/docs. |
Updates Spring Boot from 4.2.0-RC2 to the 4.2.0 GA release.
Compared with RC2, Boot 4.2.0 manages the GA releases of the Spring portfolio: Spring Framework 7.1.0, Spring Security 7.2.0, Spring Data 2026.1.0, Spring AMQP / Kafka / Session 4.2.0, Spring Integration 7.2.0, Spring GraphQL 2.1.0 and Reactor 2026.0.0. It also manages Micrometer 1.18.0 / Tracing 1.8.0, and patch updates such as Hibernate ORM 7.4.15.Final, Jetty 12.1.15, OpenTelemetry 1.68.0 and Thymeleaf 3.1.7.
No Grails pin needed changing. The Jackson, logback and MongoDB overrides are still ahead of what Boot manages, and the Hibernate 7 BOM's hibernate-models 1.1.2 still matches 7.4.15.Final. The CVE-2026-47842 scan exclusion now names the Spring Security 7.2.0 GA that Boot manages, instead of 7.2.0-RC1.
Verified locally:
validateDependencyVersions,validateBomPropertiesand:grails-hibernate7-bom:validateHibernateVersionpass, and thevulnerability-scanbuild-logic tests pass. The full test suite is left to CI.