[KOTLIN-SPRING;JAVA-SPRING] chore: upgrade spring boot 3 to 3.3.13 version#23591
Merged
wing328 merged 10 commits intoOpenAPITools:masterfrom Apr 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
10 issues found across 28 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-declarative-http-interface/buildGradle-sb3-Kts.mustache">
<violation number="1" location="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-declarative-http-interface/buildGradle-sb3-Kts.mustache:21">
P1: Spring Boot was upgraded to 3.3.13 but Spring Cloud coordinates remain on older 2021.x/2.2.x-era versions, creating an incompatible dependency baseline.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped/build.gradle.kts:21">
P1: Spring Boot was upgraded to 3.3.13 without upgrading Spring Cloud BOM/starter versions to a compatible release train.</violation>
</file>
<file name="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-cloud/buildGradle-sb3-Kts.mustache">
<violation number="1" location="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-cloud/buildGradle-sb3-Kts.mustache:21">
P1: Spring Boot was upgraded to 3.3.13 but Spring Cloud BOM remains at 2021.0.5, which is not aligned with Boot 3.3.x.</violation>
</file>
<file name="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-cloud/pom-sb3.mustache">
<violation number="1" location="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-cloud/pom-sb3.mustache:30">
P1: Boot was upgraded to 3.3.13 but Spring Cloud BOM remained at 2021.0.5, creating a release-train compatibility mismatch for generated projects.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/pom.xml">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/pom.xml:20">
P1: Spring Boot was upgraded to 3.3.13 without upgrading Spring Cloud train/dependencies, creating a supported-version mismatch.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface/build.gradle.kts:21">
P1: Upgrading to Spring Boot 3.3.13 while keeping Spring Cloud 2021.0.5 / old Cloud OAuth starter creates an unsupported dependency combination.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines/pom.xml">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines/pom.xml:22">
P1: Spring Boot was upgraded to 3.3.13 without aligning the Spring Cloud release train, leaving an unsupported dependency platform combination.</violation>
</file>
<file name="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-boot/buildGradle-sb3-Kts.mustache">
<violation number="1" location="modules/openapi-generator/src/main/resources/kotlin-spring/libraries/spring-boot/buildGradle-sb3-Kts.mustache:27">
P1: Spring Boot was upgraded to 3.3.13 but dependency-management remains pinned to old 1.0.14, causing risky plugin-version skew and potential Gradle compatibility issues.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface/pom.xml">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface/pom.xml:20">
P1: Upgrading to Spring Boot 3.3.13 without aligning Spring Cloud versions creates an unsupported dependency mix likely to break compatibility.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/build.gradle.kts:21">
P1: Spring Boot was upgraded to 3.3.13, but Spring Cloud dependencies remain on legacy versions, creating a likely compatibility mismatch.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Contributor
There was a problem hiding this comment.
4 issues found across 27 files (changes from recent commits).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="samples/server/petstore/kotlin-spring-declarative-interface/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface/build.gradle.kts:35">
P2: Upgrading to Spring Cloud BOM 2023.0.9 while pinning `spring-cloud-starter-oauth2:2.2.5.RELEASE` creates a cross-generation dependency mismatch likely incompatible with Boot 3/Jakarta stack.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines/build.gradle.kts:35">
P1: Upgrading to Spring Cloud BOM 2023.0.9 while keeping legacy `spring-cloud-starter-oauth2:2.2.5.RELEASE` introduces a likely incompatible dependency mix for Boot 3.x.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-wrapped/build.gradle.kts:35">
P1: Spring Cloud BOM was upgraded to 2023.x, but an explicit legacy `spring-cloud-starter-oauth2:2.2.5.RELEASE` remains, creating a likely incompatible dependency line in a Boot 3/Jakarta project.</violation>
</file>
<file name="samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped/build.gradle.kts">
<violation number="1" location="samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped/build.gradle.kts:35">
P1: Upgrading to Spring Cloud BOM 2023.0.9 while keeping `spring-cloud-starter-oauth2:2.2.5.RELEASE` introduces a legacy/new dependency-line mismatch that can cause Boot 3.x classpath incompatibilities.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Member
|
thanks for the PR which has been merged |
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.
Upgraded spring boot 3 version to 3.3.13
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master(upcoming7.x.0minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)"fixes #123"present in the PR description)Summary by cubic
Upgrade Kotlin and Java Spring generator templates and petstore samples to Spring Boot 3.3.13 and Spring Cloud 2023.0.6. Modernizes OAuth2 for Spring Boot 3 and aligns Gradle/Maven builds.
Dependencies
org.springframework.boot3.0.2 -> 3.3.13; Mavenspring-boot-starter-parent3.1.3 -> 3.3.13.spring-cloud-dependencies/spring-cloud-starter-parent2021.0.5/2023.0.0 -> 2023.0.6.io.spring.dependency-management1.0.14.RELEASE -> 1.1.7.org.springframework.cloud:spring-cloud-starter-oauth2:2.2.5.RELEASEwithorg.springframework.boot:spring-boot-starter-oauth2-client.Refactors
OAuth2AuthorizedClientManagerinClientConfiguration, with per-flow beans toggled byspring.security.oauth2.client.registration.{name}{Flow}.enabled=true.Written for commit 49a3262. Summary will update on new commits.