Skip to content

Feat/004 spring boot 4 - #9

Merged
hendrikebbers merged 2 commits into
mainfrom
feat/004-spring-boot-4
Nov 12, 2026
Merged

hendrikebbers merged 2 commits into
mainfrom
feat/004-spring-boot-4

Conversation

@hendrikebbers

Copy link
Copy Markdown
Contributor

This pull request upgrades the java-parent project to version 2.0.0, aligning it with Spring Boot 4.1.2 and raising the Java baseline to 25. It updates all managed dependency versions and the OpenAPI stack to match the new Boot line, and ensures that both the project and its consumers require Java 25. Documentation and CI workflows are also updated to reflect these changes.

Major version and Java baseline upgrade:

  • Bump project version to 2.0.0-SNAPSHOT in pom.xml, signaling a new major line for Spring Boot 4.x and Java 25.
  • Set maven.compiler.source and maven.compiler.target to 25, and enforce Java 25 with enforcer.requiredJavaVersion. [1] [2]
  • Update .sdkmanrc to require Java 25.
  • Update all CI workflows (build.yml, snapshot.yml, release.yml) to use Java 25. [1] [2] [3]

Dependency and OpenAPI stack updates:

  • Upgrade managed dependencies: Spring Boot to 4.1.2, springdoc to 3.2.0, Swagger to 2.2.55, Swagger UI to 5.34.0, and jspecify to 1.0.1, ensuring all versions match those managed by Boot 4.1.2. [1] [2]
  • Keep Testcontainers at 2.0.5, as managed by Boot 4.1.2.

Documentation and specification:

  • Update README.md with new version lines, managed dependency versions, Java baseline, and OpenAPI stack pairing. [1] [2] [3] [4]
  • Add detailed design, implementation steps, and behavior specs for the Spring Boot 4 upgrade in docs/specs/004-spring-boot-4/. [1] [2] [3]
  • Add the new spec to the index.

These changes ensure that all consumers of java-parent 2.x will use Spring Boot 4.1.2, Java 25, and a compatible OpenAPI stack, with documentation and CI aligned for a smooth transition.

hendrikebbers and others added 2 commits November 12, 2026 23:43
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
java-parent 2.0.0 manages Spring Boot 4.1.2 together with an OpenAPI
stack built against it (springdoc 3.2.0, Swagger 2.2.55, Swagger UI
5.34.0) and raises jspecify to 1.0.1, the version Boot 4.1.2 manages,
so the parent's explicit entry no longer pins it below Boot.

The Java baseline moves from 21 to 25 for compiler and enforcer; CI and
.sdkmanrc follow. 1.x remains the Spring Boot 3.5 / Java 21 line.

BREAKING CHANGE: consumers must be on Spring Boot 4 and Java 25.

Closes #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hendrikebbers
hendrikebbers merged commit 667c1b2 into main Nov 12, 2026
1 check passed
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.

1 participant