Skip to content

Phase 1: Upgrade to Java 17 + Spring Boot 2.7.18#606

Open
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1779365731-phase1-java17-spring-boot-2.7
Open

Phase 1: Upgrade to Java 17 + Spring Boot 2.7.18#606
devin-ai-integration[bot] wants to merge 1 commit into
masterfrom
devin/1779365731-phase1-java17-spring-boot-2.7

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented May 21, 2026

Summary

Upgrades the project from Java 11 / Spring Boot 2.6.3 to Java 17 / Spring Boot 2.7.18 with all dependency updates.

Changes:

  • Spring Boot plugin: 2.6.3 → 2.7.18
  • Java source/target compatibility: 11 → 17
  • mybatis-spring-boot-starter: 2.2.2 → 2.3.2
  • jjwt-*: 0.11.2 → 0.11.5
  • sqlite-jdbc: 3.36.0.3 → 3.42.0.1
  • graphql-dgs-spring-boot-starter: 4.9.21 → 5.5.1
  • dgs.codegen plugin: 5.0.6 → 5.12.4
  • Added explicit graphql-java:19.2 dependency for DGS 5.x compatibility
  • Refactored WebSecurityConfig to remove deprecated WebSecurityConfigurerAdapter and use SecurityFilterChain bean
  • Updated ArticleDatafetcher and CommentDatafetcher to use DGS-generated PageInfo types instead of graphql.relay.DefaultPageInfo

All 58 tests pass locally with ./gradlew test.

Review & Testing Checklist for Human

  • Verify SecurityFilterChain bean preserves the same auth rules as the old WebSecurityConfigurerAdapter config
  • Run ./gradlew test and confirm all tests pass
  • Spot-check GraphQL pagination responses to ensure PageInfo fields are correct
  • Verify the app starts with ./gradlew bootRun and responds at http://localhost:8080/tags

Notes

This is Phase 1 of a 4-phase migration (Java 17 → jakarta namespace → Spring Boot 3.4 → java.time). Subsequent PRs will build on this branch.

Link to Devin session: https://app.devin.ai/sessions/e28d39518c344b59883ff9b9b60cdc8b
Requested by: @luisblascocog


Open in Devin Review

- Update Spring Boot plugin from 2.6.3 to 2.7.18
- Update sourceCompatibility/targetCompatibility from 11 to 17
- Update mybatis-spring-boot-starter from 2.2.2 to 2.3.2
- Update jjwt-* from 0.11.2 to 0.11.5
- Update sqlite-jdbc from 3.36.0.3 to 3.42.0.1
- Update graphql-dgs-spring-boot-starter from 4.9.21 to 5.5.1
- Update dgs.codegen plugin from 5.0.6 to 5.12.4
- Force graphql-java 19.2 for DGS 5.x compatibility
- Refactor WebSecurityConfig: remove WebSecurityConfigurerAdapter,
  use SecurityFilterChain bean instead
- Update GraphQL datafetchers to use generated PageInfo types

Co-Authored-By: Luis Blasco <luis.blasco@cognition.ai>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

0 participants