-
-
Notifications
You must be signed in to change notification settings - Fork 149
BE: Chore: Bump Spring Boot to 3.5.3 #1143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
4be01c4
to
9a741e6
Compare
gradle/libs.versions.toml
Outdated
@@ -21,7 +21,6 @@ lombok = '1.18.34' | |||
odd-oddrn-generator = '0.1.17' | |||
odd-oddrn-client = '0.1.41' | |||
cel = '0.3.0' | |||
junit = '5.11.2' | |||
mockito = '5.16.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JUnit 5, in particular, was causing a direct conflict that might be resolved by upgrading or aligning versions. However, since it’s brought in transitively by one our direct test dependencies, maintaining version alignment doesn't seem worth pursuing.
Mockit and assertj are also included transitively and technically falls into the same category, but it didn’t cause any issues during this upgrade.
Overall, reducing the number of explicitly managed dependencies isn’t a bad idea, so I’m open to removing them as well.
@Haarolean What do you think?
runtimeOnly(libs.micrometer.registry.prometheus){ | ||
exclude group: 'com.google.protobuf', module: 'protobuf-java' because("Micrometer uses protobuf-java 4.x, which is incompatible with protobuf-java 3.x used by various dependencies of this project. See https://github.com/prometheus/client_java/issues/1431") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may cause issues for anyone using this functionality, but there does not seem to be a clear fix for this other than prometheus/client_java#1431
None of our tests seem to be flagging this right now but it may be a matter of coverage
@Haarolean What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, I pushed b57acf5 which we can revert as needed
What changes did you make? (Give an overview)
3.5.3
) to fetch the latest bug fixes and features as well as fixing CVE-2025-41234Junit5
, as it is provided transitively byspring-boot-starter-test
. Keeping it explicitly declared leads to version conflicts, which goes against the JUnit project's recommendations for Spring Boot.How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
A picture of a cute animal (not mandatory but encouraged)