Skip to content

Aligning Spring Boot and SpringFramework versions #1427

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

salaboy
Copy link
Collaborator

@salaboy salaboy commented Jun 17, 2025

Description

Updating version and aligning with internal SpringFramework deps

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1426

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@salaboy salaboy requested review from a team as code owners June 17, 2025 01:37
@@ -34,8 +34,6 @@
<testcontainers.version>1.19.8</testcontainers.version>
<junit.version>5.11.2</junit.version>
<dapr.spring.version>0.16.0-SNAPSHOT</dapr.spring.version>
<springboot.version>3.2.6</springboot.version>
<springframework.version>6.1.21</springframework.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. This will make our dependency management even more easier.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah.. and it will avoid people approving this kind of PRs: #1424, we should never do that.

siri-varma
siri-varma previously approved these changes Jun 17, 2025
Copy link
Contributor

@siri-varma siri-varma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -48,7 +48,10 @@
<junit-bom.version>5.11.4</junit-bom.version>
<snakeyaml.version>2.0</snakeyaml.version>
<testcontainers.version>1.20.5</testcontainers.version>
<springboot.version>3.4.3</springboot.version>
<!-- Do NOT UPGRADE spring.version without checking springboot.version alignment -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question, how do we do this ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short answer: mvn dependency:tree on a new project from start.spring.io

@siri-varma
Copy link
Contributor

@salaboy I think this PR will fix the build issue #1425. If you could review this, I can request @artur-ciocanu to merge it and you could pull the changes

@@ -165,7 +162,6 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback-core.version}</version>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were adding the wrong version (not aligned) for logback core, as this is managed by spring dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the dependency completely ? Because we don't have a version we don't have to declare it in the dependency management section anymore

Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.51%. Comparing base (d759c53) to head (024efa9).
Report is 172 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1427      +/-   ##
============================================
+ Coverage     76.91%   78.51%   +1.59%     
- Complexity     1592     1867     +275     
============================================
  Files           145      230      +85     
  Lines          4843     5790     +947     
  Branches        562      601      +39     
============================================
+ Hits           3725     4546     +821     
- Misses          821      924     +103     
- Partials        297      320      +23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -277,7 +279,6 @@
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the dependency completely please ? Because we don't have a version we don't have to declare it in the dependency management section anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Spring Boot to 3.4.6 and align Spring version
2 participants