Skip to content

Releases: embrace-io/embrace-android-sdk

8.2.0

14 Mar 00:28
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Adopt official OpenTelemetry Kotlin API (io.opentelemetry.kotlin)
    • This new package is based on the Embrace Kotlin OTel API use in previous versions, which was donated and renamed.
    • Under the hood, the official OTel Java SDK is still used, so there's no change there.
  • Fail the app build with a warning if an invalid entry is found in embrace-config.json.
  • Capture sessions from app instances terminated unexpectedly even if native crash capture is disabled.
  • Block network requests to Embrace when the server cannot be reached, even if the device has a network connection.
    • The SDK will test at a reasonable cadence whether the Embrace server can be reached and send all the blocked requests when it can.
  • Enable native crash capture by default, i.e. if unspecified in embrace-config.json.
  • Track in-process OkHttp network requests in a session that ended with a crash.
  • Inject traceparent that matches the ID of the span exported through OTel SpanExporters that represents the request.
  • Make consistent thread blockage (ANR) data in session when the main thread is unblocking at the same time the session is ending.
  • Update OpenTelemetry Java API and SDK to 1.60.1.

8.1.0

12 Jan 19:43
Immutable release. Only release title and notes can be modified.
2a39f6c

Choose a tag to compare

  • Added support for setting an OpenTelemetry SpanProcessor and LogRecordProcessor.
  • Added support for using OpenTelemetry's Logger API.
  • Alterations to non-public, internal Embrace APIs.
  • Internal improvements to SDK telemetry.

8.0.0

04 Dec 18:43
Immutable release. Only release title and notes can be modified.
c1e9dbf

Choose a tag to compare

  • New minimum versions for platform dependencies like Gradle, AGP, Kotlin, and JDK.
    • Better support of new versions of these dependencies going forward, including the upcoming Kotlin 2.3
  • Renames of the Embrace Gradle Plugin artifact and in the Embrace Gradle DSL (RIP "Swazzler").
  • Reorganization and renames of certain classes, methods, and modules to improve clarity.
  • Removal of deprecated symbols that are no longer functional.
  • Changes to the default HttpsURLConnection instrumentation.
  • More information about this release, including step-by-step upgrade instructions, could be found in the Upgrade Guide.

7.9.3

11 Nov 19:45
Immutable release. Only release title and notes can be modified.
3189fa5

Choose a tag to compare

  • Fix method signature mismatch in HttpsURLConnection instrumentation wrapper.
  • Added deprecation warning: this is the last version with the io.embrace.swazzler gradle plugin ID. From 8.0, the ID will be io.embrace.gradle.

7.9.2

20 Oct 20:45
Immutable release. Only release title and notes can be modified.
3851375

Choose a tag to compare

  • Propagate arguments correctly when starting span directly via OTel API

7.9.1

29 Aug 14:15
9267b07

Choose a tag to compare

  • Restore the minimum Java runtime compatibility version to 1.8

7.9.0

27 Aug 16:03

Choose a tag to compare

  • Fix transitive dependency issue to restore the minimum Kotlin version to 1.8.22.

7.8.0

12 Aug 13:10

Choose a tag to compare

  • Update limits and truncation logic.
    • Session/Log properties:
      • Properties per Session/Log: 10 -> 100
      • Value: 256 -> 1024 characters
    • Spans:
      • Name length: 50 -> 128 characters
      • Custom attributes per span: 50 -> 100
      • Attribute keys: 50 -> 128 characters
      • Attribute values: 200 -> 1024 characters
      • Event name length: 100 -> 128 characters
    • Names, keys, and values that are too long will now be truncated automatically instead of failing the underlying operation.
  • Fix crash when a custom URLStreamHandler that doesn't implement the openConnection() method is used when HttpsUrlConnection instrumentation is enabled.
  • Update OpenTelemetry API and SDK to 1.52.0

Warning: this release bumped the minimum supported version of Kotlin to 2.0. If you need to use an older version, compatibility with 1.8.22 is restored in Embrace 7.9.0.

7.7.0

18 Jul 20:57
e90c2ec

Choose a tag to compare

  • Improve cold startup trace by automatically instrumenting Application.onCreate() invocation
  • Add session.id attribute to all Spans that denotes the session in which a Span started in
  • Use Kotlin OTel API and Java adaptors internally (no visible API or behavior change to SDK users)
  • Require desugaring at build time when minSdk < 26 due to OTel SDK issue

Warning: this release bumped the minimum supported version of Kotlin to 2.0. If you need to use an older version, compatibility with 1.8.22 is restored in Embrace 7.9.0.

7.6.1

17 Jul 17:04
7119590

Choose a tag to compare

This version is identical to 7.6.0 except that the desugaring requirement if Android 7.x is supported will be verified at build time.

This patch is unnecessary if you are already running 7.6.0. But if you support Android 7.x, ensure that you have desugaring enabled or else the Embrace SDK will not start for apps running on those Android versions.

  • Require desugaring at build time when minSdk < 26 due to OTel SDK issue