Skip to content

7.0.0

Latest
Compare
Choose a tag to compare
@bidetofevil bidetofevil released this 28 Jan 19:13
· 36 commits to main since this release
09d6b47
  • API and functional changes in this major release are documented in the Upgrade Guide. Key ones to be aware of include:

    • Moments feature and API have been removed in favor of Traces, which should be used instead to track how long workflows in the app took to complete.
    • Public API methods are all implemented in Kotlin, so passing in nulls in Java for parameters annotated with @NonNull will cause a runtime exception and could cause a crash.
    • Firebase Cloud Messaging and Compose tap instrumentation require explicit inclusion of modules in your Gradle files.
    • Remove support for deprecated properties in embrace-config.json and the Embrace Gradle plugin.
  • New features and other changes in this release include:

    • Customizable, automatic instrumentation of Activity load and Jetpack Compose Navigation (requires opt-in for now)
    • Auto-termination of spans based on navigation
    • Customization of app startup trace through custom attributes and child spans
    • Public API to get the timestamp used by the SDK so custom spans for app startup and UI load traces can be in sync with other spans in the trace
    • API to disable data export at programmatically for the currently running instance of the app
    • Associate native crashes with the device and app metadata at the time of crash instead of the time of reporting
    • Configuration setting to enable Network Span Forwarding traceparent injection into network request spans for non-Embrace users
  • Dependency updates:

    • OpenTelemetry API and SDK to 1.46.0
    • OpenTelemetry Semantic Conventions to 1.29.0-alpha
    • AndroidX Lifecycle to 2.7.0
    • Moshi to 1.15.2