Skip to content

Releases: getsentry/sentry-java

4.0.0-alpha.3

15 Jan 08:45
39f93f4
Compare
Choose a tag to compare
4.0.0-alpha.3 Pre-release
Pre-release

What’s Changed

  • Feat: Add maxAttachmentSize to SentryOptions (#1138)
  • Feat: Drop invalid attachments (#1134)
  • Ref: Make Attachment immutable (#1120)
  • Fix inheriting sampling decision from parent (#1100)
  • Fixes and Tests: Session serialization and deserialization
  • Ref: using Calendar to generate Dates
  • Fix: Exception only sets a stack trace if there are frames
  • Feat: set isSideLoaded info tags
  • Enhancement: Read tracesSampleRate from AndroidManifest
  • Fix: Initialize Logback after context refreshes (#1129)
  • Ref: Return NoOpTransaction instead of null (#1126)
  • Fix: Do not crash when passing null values to @nullable methods, eg User and Scope
  • Ref: ITransport implementations are now responsible for executing request in asynchronous or synchronous way (#1118)
  • Ref: Add option to set TransportFactory instead of ITransport on SentryOptions (#1124)
  • Ref: Simplify ITransport creation in ITransportFactory (#1135)
  • Feat: Add non blocking Apache HttpClient 5 based Transport (#1136)
  • Enhancement: Autoconfigure Apache HttpClient 5 based Transport in Spring Boot integration (#1143)
  • Enhancement: Send user.ip_address = {{auto}} when sendDefaultPii is true (#1015)
  • Fix: Resolving dashed properties from external configuration
  • Feat: Read uncaught.handler.enabled property from the external configuration
  • Feat: Resolve servername from the localhost address
  • Fix: Consider {{ auto }} as a default ip address (#1015)
  • Fix: Set release and environment on Transactions (#1152)
  • Fix: Do not set transaction on the scope automatically
  • Enhancement: Automatically assign span context to captured events (#1156)
  • Feat: OutboxSender supports all envelope item types #1158
  • Enhancement: Improve ITransaction and ISpan null-safety compatibility (#1161)

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

We'd love to get feedback.

4.0.0-alpha.2

07 Dec 18:34
b2bcd1b
Compare
Choose a tag to compare
4.0.0-alpha.2 Pre-release
Pre-release
  • Feat: Add basic support for attachments (#1082)
  • Fix: Remove method reference in SentryEnvelopeItem (#1091)
  • Enhancement: Set transaction name on events and transactions sent using Spring integration (#1067)
  • Fix: Set current thread only if there are no exceptions
  • Enhancement: Set global tags on SentryOptions and load them from external configuration (#1066)
  • Ref: Refactor resolving SpanContext for Throwable (#1068)
  • Enhancement: Add API validator and remove deprecated methods
  • Enhancement: Add more convenient method to start a child span (#1073)
  • Enhancement: Autoconfigure traces callback in Spring Boot integration (#1074)
  • Enhancement: Resolve in-app-includes and in-app-excludes parameters from the external configuration
  • Enhancement: Make InAppIncludesResolver public (#1084)
  • Ref: Change "op" to "operation" in @SentrySpan and @SentryTransaction
  • Fix: SentryOptions creates GsonSerializer by default
  • Enhancement: Add the ability to register multiple OptionsConfiguration beans (#1093)
  • Fix: Append DebugImage list if event already has it
  • Fix: Sort breadcrumbs by Date if there are breadcrumbs already in the event

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

We'd love to get feedback.

4.0.0-alpha.1

24 Nov 09:04
6df8990
Compare
Choose a tag to compare
4.0.0-alpha.1 Pre-release
Pre-release

What’s Changed

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

We'd love to get feedback.

3.2.0

18 Nov 19:22
e0bd26a
Compare
Choose a tag to compare

What’s Changed

  • Bump: AGP 4.1.1 (#1040)
  • Fix: use neutral Locale for String operations #1033
  • Update to sentry-native 0.4.4 and fix shared library builds (#1039)
  • Feat: Expose a Module (Debug images) Loader for Android thru sentry-native #1043
  • Enhancement: Added java doc to protocol classes based on sentry-data-schemes project (#1045)
  • Enhancement: Make SentryExceptionResolver Order configurable to not send handled web exceptions (#1008)
  • Enhancement: Resolve HTTP Proxy parameters from the external configuration (#1028)
  • Enhancement: Sentry NDK integration is compiled against the default NDK version based on AGP's version #1048
  • Fix: Clean up JNI code and properly free strings #1050
  • Fix: set userId for hard-crashes if no user is set #1049

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

We'd love to get feedback.

3.1.3

06 Nov 12:41
233d562
Compare
Choose a tag to compare

What’s Changed

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

We'd love to get feedback.

3.1.2

04 Nov 08:03
49f49f9
Compare
Choose a tag to compare

What’s Changed

Attention: if you use the Android NDK Integration, please use v3.1.3 or higher

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

We'd love to get feedback.

3.1.1

17 Oct 09:37
c0eefac
Compare
Choose a tag to compare

What’s Changed

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

We'd love to get feedback.

3.1.0

14 Oct 09:09
2c71d9f
Compare
Choose a tag to compare

What’s Changed

  • fix: Android 11 + targetSdkVersion 30 crashes Sentry on start (#977) @marandaneto
  • fix: remove chunked streaming mode (#974) @marandaneto
  • Enhancement: accepted quoted values in properties from external configuration (#972) @maciejwalkowiak
  • Enhancement: make getThrowable public and improve set contexts (#967) @marandaneto
  • Auto-configure inAppIncludes in Spring Boot integration. (#966) @maciejwalkowiak
  • fix: Don't require sentry.dsn to be set when using io.sentry:sentry-spring-boot-starter and io.sentry:sentry-logback together #965 @buckett

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

We'd love to get feedback.

3.0.0

30 Sep 14:55
3f9c4bd
Compare
Choose a tag to compare

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

28 Sep 13:55
1480bbc
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release

What’s Changed

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

We'd love to get feedback.