Skip to content

ci(spring): Remove unsupported Spring Boot versions from test matrix - #6371

Open
sentry-junior[bot] wants to merge 2 commits into
9.x.xfrom
ci/remove-eol-spring-boot-matrix
Open

sentry-junior[bot] wants to merge 2 commits into
9.x.xfrom
ci/remove-eol-spring-boot-matrix

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Removes Spring Boot versions from the CI matrices that no longer get any support from Spring, OSS or commercial, according to the Spring Boot support timeline:

  • Spring Boot 2.x: drop 2.4.13, 2.5.15, 2.6.15 (commercial support ended between Feb 2023 and Feb 2024). Keep 2.7.0 and 2.7.18, which have commercial support until 2029-06-30.
  • Spring Boot 3.x: drop 3.2.12 and 3.3.13 (commercial support ended 2025-12-31 and 2026-06-30). Keep 3.4.13 (until 2026-12-31) and 3.5.13 (until 2032-06-30).
  • Spring Boot 4.x: no change.

The 2.x matrix now starts at 2.7, so the code that turned off GraphQL and Kafka for older 2.x versions can never trigger. This PR removes that branch from the workflow and the matching springBoot2Supports*() version checks from the sample build scripts. The excludeGraphql and excludeKafka properties are still there for local use.

The release 8/11 bytecode target in the Spring Boot 2 samples stays. 2.7.0 ships Spring Framework 5.3.20, and Java 21 bytecode support only landed in 5.3.26 (spring-projects/spring-framework#29966). Only the comment changes, so it names the new oldest version.

💡 Motivation and Context

We are dropping support for these Spring Boot versions in v9 because Spring has also stopped supporting them. They also no longer fit the build: it now runs on JDK 21, but these versions only support up to Java 16–18.

  • resolves: JAVA-799

💚 How did you test it?

The changed workflow YAML parses. Gradle was not run locally, so this PR depends on the Spring Boot 2.x/3.x matrix workflows.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

Decide whether the v9 docs and minimum supported versions should change to match. This PR only changes CI coverage.

#skip-changelog

via no.

--

View Junior Session [Sentry]

Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io>
@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

JAVA-799

@runningcode
runningcode marked this pull request as ready for review October 23, 2026 14:22
@sentry

sentry Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.61.0 (1) release

⚙️ sentry-android Build Distribution Settings

Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io>

This branch has not been deployed

No deployments
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