Skip to content

Commit

Permalink
Merge branch 'main' into file-attachment-api
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Jan 29, 2025
2 parents e67f90f + bdeb62d commit 9095060
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Embrace Android SDK Changelog

## 7.0.0
*January 28, 2025*

- API and functional changes in this major release are documented in the [Upgrade Guide](https://embrace.io/docs/android/upgrading/). Key ones to be aware of include:
- Moments feature and API have been removed in favor of [Traces](https://embrace.io/docs/android/features/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`
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
import java.io.FileInputStream
import java.time.Duration
import java.util.Properties
import org.jetbrains.dokka.gradle.DokkaTaskPartial

Expand Down Expand Up @@ -42,6 +43,12 @@ nexusPublishing {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
}
}
transitionCheckOptions {
maxRetries.set(60)
delayBetween.set(Duration.ofSeconds(20))
}
connectTimeout.set(Duration.ofMinutes(15))
clientTimeout.set(Duration.ofMinutes(15))
}

allprojects {
Expand Down

0 comments on commit 9095060

Please sign in to comment.