Dropping Java 8 support in Sentry Java SDK 9.0.0

Abierto
#6,469 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java, kotlin
Área
release

Línea de trabajo

This issue announces that Sentry Java SDK 9.0.0 requires Java 11 or newer and explains the upgrade options. Read the SDK release notes and compatibility documentation to see where this announcement belongs; done means users can find the Java 8 support timeline and upgrade guidance.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Java Platform: Java

We're dropping support for Java 8 in the next major version of the Sentry Java SDK. Starting with 9.0.0, the SDK requires Java 11 or newer.

Why

  • Java 8 is old. It came out in 2014. It is not supported by Oracle except for paid support plans.
  • Few events still come from it. In the last 30 days, Java 8 accounted for about 0.6% of all error events sent by the Sentry Java SDK, and about 1.3% of events from non-Android JVM apps.
  • Supporting it has a real cost. Covering everything from Java 8 to Java 25 keeps us from using newer JDK APIs and language features. It also needs extra build tooling (Java 8 API signature checks), makes CI slower, and adds work when we investigate bugs on old runtimes.

What this means for you

  • On Java 11 or newer: nothing changes.
  • Need Java 8: you can stay on the 8.x major version. It keeps working with Java 8.
  • Upgrade path: upgrade to Java 11 or later before upgrading to Sentry Java SDK 9.
  • Android:: No action is needed since AGP 7+ requires JDK 11 older versions are not supported.

Let us know if you have any feedback or concerns.

Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
483
Merge medio
2 d 2 h
PR fusionados (30 d)
202

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-java

Todos los issues de getsentry/sentry-java

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.