Skip to content

Releases: getsentry/sentry-java

3.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 14:55
3f9c4bd

Java + Android

This release marks the re-unification of Java and Android SDK code bases.
It's based on the Android 2.0 SDK, which implements Sentry's unified API.

Considerable changes were done, which include a lot of improvements. More are covered below, but the highlights are:

  • Improved log4j2 integration
    • Capture breadcrumbs for level INFO and higher
    • Raises event for ERROR and higher.
    • Minimum levels are configurable.
    • Optionally initializes the SDK via appender.xml
  • Dropped support to log4j.
  • Improved logback integration
    • Capture breadcrumbs for level INFO and higher
    • Raises event for ERROR and higher.
    • Minimum levels are configurable.
    • Optionally initializes the SDK via appender.xml
    • Configurable via Spring integration if both are enabled
  • Spring
    • No more duplicate events with Spring and logback
    • Auto initalizes if DSN is available
    • Configuration options available with auto complete
  • Google App Engine support dropped

Note for Sentry On Premise users

This version uses the envelope endpoint. If you are using an on-premise installation it requires Sentry version >= v20.6.0 to work. If you are using sentry.io nothing will change and no action is needed.

What’s Changed

  • Callback to validate SSL certificate (#944)
  • Attach stack traces enabled by default
  • Multiple samples in the sentry-samples directory

Android specific

  • Release health enabled by default for Android
  • Sync of Scopes for Java -> Native (NDK)
  • Bump Sentry-Native v0.4.2
  • Android 11 Support

Android migration docs

Java specific

  • Unified API for Java SDK and integrations (Spring, Spring boot starter, Servlet, Logback, Log4j2)
  • Gson serialization. The previous major version (1.7.31) used Jackson for serialization.

New Java docs are live and being improved.

Acquisition

Packages were released on bintray sentry-java, bintray sentry-android, jcenter and mavenCentral

Where is the Java 1.7 code base?

The previous Java releases, are all available in this repository through the tagged releases.

3.0.0-beta.1

3.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Sep 13:55
1480bbc

What’s Changed

Packages were released on bintray sentry-java, bintray sentry-android, jcenter and mavenCentral

We'd love to get feedback.

3.0.0-alpha.3

3.0.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Sep 12:28
acf588b

What’s Changed

Packages were released on bintray sentry-android and bintray sentry-java

We'd love to get feedback.

3.0.0-alpha.2

3.0.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@marandaneto marandaneto released this 11 Sep 10:03
9910783

TBD

Packages were released on bintray

Note: This release marks the unification of the Java and Android Sentry codebases based on the core of the Android SDK (version 2.x).
Previous releases for the Android SDK (version 2.x) can be found on the now archived: https://github.com/getsentry/sentry-android/

sentry-android-gradle-plugin v1.7.31

Choose a tag to compare

@marandaneto marandaneto released this 17 Feb 14:22
  • Android Gradle Plugin: Support App Bundles (aab) #818
  • Android Gradle Plugin: Support AGP 3.6.x
  • Android Gradle Plugin: Bug fixing #740

v1.7.30

Choose a tag to compare

@bruno-garcia bruno-garcia released this 28 Jan 19:25
  • Android Gradle Plugin: Uploading native symbols and sources (#815)
  • fixed context returns new Maps (#814)
  • added requireNonNull utils (#810)

sentry-java v1.7.29

Choose a tag to compare

@getsentry-bot getsentry-bot released this 17 Dec 11:32
  • Add method to check if Sentry is already initializated #783
  • Proguard: Keep exception type names #790
  • Blacklist other frameworks using cglib dynamic classes, like Guice #796
  • Logback: Adds support for logback encoders (the message field is encoded). #794
  • Android Gradle Plugin: Changes for making it to work with AGP 3.0, 3.1 and 3.2 #798
  • Fixed loosing of interruption status in EventBuilder. #799

sentry-java v1.7.28

Choose a tag to compare

@getsentry-bot getsentry-bot released this 24 Oct 18:23
  • Allow an implementation of Lookup to be provided #755
  • Don't attemp to send null events #769
  • Fix error calling getPackageInfo on Huawei devices #774
  • Fix bug where null return instead of file list #775
  • Add millisecond precision to breadcrumb #777
  • Jackson version bumped to 2.10.0 #771

sentry-java v1.7.27

Choose a tag to compare

@getsentry-bot getsentry-bot released this 20 Aug 11:15
  • Android: Fix setResourceLoader order #753
  • Fix classLoader lookup #754
  • Android ANR support: #752

sentry-java v1.7.26

Choose a tag to compare

@getsentry-bot getsentry-bot released this 08 Aug 14:25
  • SentryClient fixed override of event data with default data #751
  • Introduce SentryOptions #751
  • Android Gradle Plugin: Allow replacing ResourceLoader #739
  • Android Gradle Plugin: Fix find dex task #743