build(deps): bump spring-boot.version from 3.5.7 to 4.0.0 in /example#80
Merged
paul58914080 merged 3 commits intomainfrom Nov 26, 2025
Merged
Conversation
Bumps `spring-boot.version` from 3.5.7 to 4.0.0. Updates `org.springframework.boot:spring-boot-dependencies` from 3.5.7 to 4.0.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.5.7...v4.0.0) Updates `org.springframework.boot:spring-boot-maven-plugin` from 3.5.7 to 4.0.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.5.7...v4.0.0) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-dependencies dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: org.springframework.boot:spring-boot-maven-plugin dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
5afc02c to
03d4b6f
Compare
paul58914080
approved these changes
Nov 26, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades Spring Boot from version 3.5.7 to 4.0.0, a major version upgrade. The changes adapt the codebase to breaking changes in Spring Boot 4.0.0, including package relocations for test utilities and JPA annotations, dependency restructuring for Liquibase and test clients, and Lombok annotation processor configuration.
Key changes:
- Updated Spring Boot from 3.5.7 to 4.0.0, with aligned updates to springdoc-openapi-starter (2.8.14→3.0.0) and pre-liquibase (1.6.1→2.0.0)
- Migrated to relocated Spring Boot 4.0 packages for test and persistence utilities
- Added new test dependencies and configured Lombok annotation processor in Maven compiler plugin
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| example/pom.xml | Updated Spring Boot version to 4.0.0, upgraded related dependencies, added Lombok annotation processor configuration, removed obsolete version properties |
| example/jpa-adapter/pom.xml | Changed from liquibase-core to spring-boot-starter-liquibase, added spring-boot-starter-data-jpa-test dependency |
| example/jpa-adapter/src/main/java/packagename/repository/config/JpaAdapterConfig.java | Updated import from org.springframework.boot.autoconfigure.domain.EntityScan to org.springframework.boot.persistence.autoconfigure.EntityScan |
| example/jpa-adapter/src/main/resources/preliquibase/h2.sql | Added H2-specific preliquibase schema initialization script |
| example/jpa-adapter/src/test/java/packagename/repository/ExampleJpaAdapterApplication.java | Removed PreLiquibaseAutoConfiguration import and @ImportAutoConfiguration annotation |
| example/jpa-adapter/src/test/java/packagename/repository/ExampleJpaTest.java | Updated import from org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest to org.springframework.boot.data.jpa.test.autoconfigure.DataJpaTest |
| example/rest-adapter/pom.xml | Added spring-boot-resttestclient test dependency |
| example/rest-adapter/src/test/java/packagename/rest/ExampleResourceTest.java | Updated TestRestTemplate imports to spring-boot-resttestclient package, replaced @EnableAutoConfiguration exclusion with @AutoConfigureTestRestTemplate |
| example/acceptance-test/pom.xml | Added spring-boot-resttestclient test dependency |
| example/acceptance-test/src/test/java/packagename/cucumber/SpringCucumberTestConfig.java | Added @AutoConfigureTestRestTemplate annotation |
| example/acceptance-test/src/test/java/packagename/cucumber/ExampleStepDef.java | Updated TestRestTemplate import to spring-boot-resttestclient package |
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
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.
Bumps
spring-boot.versionfrom 3.5.7 to 4.0.0.Updates
org.springframework.boot:spring-boot-dependenciesfrom 3.5.7 to 4.0.0Release notes
Sourced from org.springframework.boot:spring-boot-dependencies's releases.
... (truncated)
Commits
1c0e08bRelease v4.0.03487928Merge branch '3.5.x'29b8e96Switch make-default in preparation for Spring Boot 4.0.088da0ddMerge branch '3.5.x'56feeaaNext development version (v3.5.9-SNAPSHOT)3becdc7Move server.error properties to spring.web.error2b30632Merge branch '3.5.x'4f03b44Merge branch '3.4.x' into 3.5.x3d15c13Next development version (v3.4.13-SNAPSHOT)dc140dfUpgrade to Spring Framework 7.0.1Updates
org.springframework.boot:spring-boot-maven-pluginfrom 3.5.7 to 4.0.0Release notes
Sourced from org.springframework.boot:spring-boot-maven-plugin's releases.
... (truncated)
Commits
1c0e08bRelease v4.0.03487928Merge branch '3.5.x'29b8e96Switch make-default in preparation for Spring Boot 4.0.088da0ddMerge branch '3.5.x'56feeaaNext development version (v3.5.9-SNAPSHOT)3becdc7Move server.error properties to spring.web.error2b30632Merge branch '3.5.x'4f03b44Merge branch '3.4.x' into 3.5.x3d15c13Next development version (v3.4.13-SNAPSHOT)dc140dfUpgrade to Spring Framework 7.0.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)