Skip to content

Commit 4c89939

Browse files
adinauermarkushi
andauthored
Apply suggestions from code review
Co-authored-by: Markus Hintersteiner <[email protected]>
1 parent d7a2401 commit 4c89939

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/platforms/android/migration/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description: "Migrating between versions of Sentry's SDK for Android."
99
### Breaking Changes
1010

1111
- `Contexts` no longer extends `ConcurrentHashMap`, instead we offer a selected set of methods.
12-
- `sentry-android-okhttp` has been removed in favor of `sentry-okhttp`, making the module independent from android ([#3510](https://github.com/getsentry/sentry-java/pull/3510))
13-
- Throw IllegalArgumentException when calling Sentry.init on Android ([#3596](https://github.com/getsentry/sentry-java/pull/3596))
12+
- `sentry-android-okhttp` has been removed in favor of `sentry-okhttp`, making the module independent from Android ([#3510](https://github.com/getsentry/sentry-java/pull/3510))
13+
- Calling `Sentry.init()` on Android now throws a `IllegalArgumentException`, please use `SentryAndroid.init()` instead ([#3596](https://github.com/getsentry/sentry-java/pull/3596))
1414
- Metrics have been removed from the SDK ([#3774](https://github.com/getsentry/sentry-java/pull/3774))
1515
- Metrics will return but we don't know in what exact form yet
1616
- `enableTracing` option (a.k.a `enable-tracing`) has been removed from the SDK ([#3776](https://github.com/getsentry/sentry-java/pull/3776))
@@ -38,8 +38,7 @@ description: "Migrating between versions of Sentry's SDK for Android."
3838
- Use String instead of UUID for SessionId ([#3834](https://github.com/getsentry/sentry-java/pull/3834))
3939
- The `Session` constructor now takes a `String` instead of a `UUID` for the `sessionId` parameter.
4040
- `Session.getSessionId()` now returns a `String` instead of a `UUID`.
41-
- The Android minSdk level for all Android modules is now 21 ([#3852](https://github.com/getsentry/sentry-java/pull/3852))
42-
- The minSdk level for sentry-android-ndk changed from 19 to 21 ([#3851](https://github.com/getsentry/sentry-java/pull/3851))
41+
- The Android minSdk level for all Android modules is now 21 ([#3852](https://github.com/getsentry/sentry-java/pull/3852)) ([#3851](https://github.com/getsentry/sentry-java/pull/3851))
4342
- All status codes below 400 are now mapped to `SpanStatus.OK` ([#3869](https://github.com/getsentry/sentry-java/pull/3869))
4443
- `transaction.data` has moved from `extra` to `contexts.trace.data` (#3735)
4544
- If you were filtering data in e.g. `beforeSendTransaction` please update accordingly

0 commit comments

Comments
 (0)