Releases: embrace-io/embrace-android-sdk
Releases · embrace-io/embrace-android-sdk
8.2.0
Immutable
release. Only release title and notes can be modified.
- 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
- 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
Immutable
release. Only release title and notes can be modified.
- 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
HttpsURLConnectioninstrumentation. - More information about this release, including step-by-step upgrade instructions, could be found in the Upgrade Guide.
7.9.3
- Fix method signature mismatch in HttpsURLConnection instrumentation wrapper.
- Added deprecation warning: this is the last version with the
io.embrace.swazzlergradle plugin ID. From 8.0, the ID will beio.embrace.gradle.
7.9.2
Immutable
release. Only release title and notes can be modified.
- Propagate arguments correctly when starting span directly via OTel API
7.9.1
7.9.0
7.8.0
- 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.
- Session/Log properties:
- Fix crash when a custom
URLStreamHandlerthat doesn't implement theopenConnection()method is used whenHttpsUrlConnectioninstrumentation 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
- Improve cold startup trace by automatically instrumenting
Application.onCreate()invocation - Add
session.idattribute 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
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