Repository navigation
Conversation
|
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
Spring Boot 3.5.x left open-source support on 30 June 2026, and 4.0 follows on 31 December 2026, so this moves to 4.1.x. Elide 7.2.0 is the release built for Boot 4.1.0.
See pom.xml versions for other dependency updates.
POM changes needed by Boot 4
spring-security-bompin (6.5.9, added for CVE-2026-22732) is no longer needed. Spring Security now comes from Boot (7.1.2), which is newer than the 7.0.4 fix release.spring-security-saml2-service-providerwas replaced withspring-boot-starter-security-saml2. Boot 4 moved the SAML autoconfiguration into its own module. Without it, noRelyingPartyRegistrationRepositorybean was created.liquibase-corewas replaced withspring-boot-starter-liquibase. The autoconfiguration moved to a separate module in Boot 4. With onlyliquibase-core, the changelog is not run.testcontainers-localstackandtestcontainers-junit-jupiter.rest-assured-bom6.3.0 import was added.spring-jcland depends oncommons-logging, which the parent enforcer bans.spring-boot-starter-test.jcl-over-slf4j(runtime) provides theorg.apache.commons.loggingclasses.org.apache.activemqArtemis pins (2.53.0, added for CVE-2026-27446) were removed because Boot's BOM manages the same version, 2.53.0. Thecommons-loggingexclusion moved onto a directorg.apache.artemis:artemis-jakarta-serverdependency, which also removes the relocated-groupId warning.commons-collections44.6.0 andjoou-java-60.9.5 were added.httpclient,commons-compress,antlr4-runtime,commons-beanutilsandprotobuf-java. The resolved versions are the same.Code changes
Main:EntityScanmoved toorg.springframework.boot.persistence.autoconfigure.SecurityConfiguration:OpenSaml4AuthenticationRequestResolverbecameOpenSaml5AuthenticationRequestResolver.AntPathRequestMatcherbecamePathPatternRequestMatcher(removed in Spring Security 7).StorageProperties.getBucketName()now usesOptional.ofNullable. Boot 4's binder reads the getter, andOptional.ofthrew a NullPointerException when no S3 bucket is set.StorageConfigurationalready handles the empty case.LOCALSTACK_AUTH_TOKEN.Dockerfile: The eclipse-temurin bump (17.0.18_8 → 17.0.21_9).Tests
SecurityRequestMatcherTest(14 cases). It covers the CSRF rule on/doi/**GET requests, including trailing-slash variants and a path that only starts with/doi, and the CSP header that is set only under/app/**. It runs on H2 and needs no Docker.mvn clean testpassed with 209 tests (0 failures, 4 skipped).Review notes
PathPatternRequestMatcherswap should keep the same behavior for/doi/**and/app/**, but trailing-slash handling is the main thing to watch.