Dropping Java 8 support in Sentry Java SDK 9.0.0

Ouverte
#6,469 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
1/5
Temps estimé
Moins d'une heure
Accessibilité débutants
35/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
java, kotlin
Domaine
release

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Kotlin
Étoiles
1.4k
Forks
483
Merge moyen
2 j 2 h
PR mergées (30 j)
202

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/sentry-java

Toutes les issues de getsentry/sentry-java

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.