Dropping Java 8 support in Sentry Java SDK 9.0.0

Đang mở
#6,469 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, kotlin
Lĩnh vực
release

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
483
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
202

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-java

Tất cả issue của getsentry/sentry-java

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.