Skip to content

Spring boot 4 support#151

Merged
geirsagberg merged 1 commit intobekk:mainfrom
nvdb-vegdata:spring-boot-4
Feb 12, 2026
Merged

Spring boot 4 support#151
geirsagberg merged 1 commit intobekk:mainfrom
nvdb-vegdata:spring-boot-4

Conversation

@geirsagberg
Copy link
Collaborator

@geirsagberg geirsagberg commented Feb 6, 2026

Claude Opus 4.6 did the heavy lifting; tested and ran the example app, seems to work

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request attempts to add Spring Boot 4 support to the db-scheduler-ui project by introducing two new modules: db-scheduler-ui-starter-boot4 and example-app-boot4. The PR also includes minor updates to the parent POM (plugin versions, Lombok configuration) and modifications to the core GetTasksResponse class for null safety.

Changes:

  • Added db-scheduler-ui-starter-boot4 and example-app-boot4 modules for Spring Boot 4 support
  • Updated Spotless plugin (2.44.3 → 3.2.1) and Google Java Format (1.17.0 → 1.28.0)
  • Modified GetTasksResponse constructor to handle null/zero pageSize values
  • Added GitHub Actions workflow for testing Boot 4 modules
  • Updated CLAUDE.md and .gitignore

Reviewed changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
pom.xml Added Spring Boot 4 version properties, new Boot 4 modules, updated plugin versions, added Lombok annotation processor configuration
db-scheduler-ui/src/main/java/no/bekk/dbscheduler/ui/model/GetTasksResponse.java Changed pageSize parameter to Integer and added null/zero checks to prevent division by zero
db-scheduler-ui-starter-boot4/pom.xml New Spring Boot 4 starter module POM with dependencies
db-scheduler-ui-starter-boot4/src/main/java/**/*.java Spring Boot 4 starter auto-configuration and configuration classes (near-duplicate of Boot 3 starter)
example-app-boot4/pom.xml New Spring Boot 4 example application POM
example-app-boot4/src/main/java/**/*.java Example application code (complete duplicate of example-app)
example-app-boot4/src/test/java/**/*.java Test classes with Boot 4-specific test utilities
example-app-boot4/src/main/resources/**/* Application properties and database migration scripts (duplicates)
.github/workflows/tests.yml Added workflow job for testing Boot 4 modules
CLAUDE.md Added documentation file for Claude Code assistant
.gitignore Added .claude directory exclusion

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@geirsagberg
Copy link
Collaborator Author

Admittedly a lot of duplication; but the starter probably won't be updated very often, and this way we can just delete the old one once SB3-support is dropped

@geirsagberg geirsagberg merged commit e0e2811 into bekk:main Feb 12, 2026
2 checks 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