Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/platforms/android/migration/v8-to-v9.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,11 @@ If you previously turned Performance V2 off, the SDK now:
### Removed `ActivityFramesTracker`

`ActivityFramesTracker` has been removed, and the `ActivityLifecycleIntegration` constructor no longer takes it. If you create `ActivityLifecycleIntegration` manually, pass only the `Application` and `BuildInfoProvider` arguments.

## Removed `IEnvelopeCache.store()` Methods

Version 9 removes the deprecated `IEnvelopeCache.store(...)` overloads. If you provide a custom envelope cache:

- Rename `store(SentryEnvelope, Hint)` to `storeEnvelope(SentryEnvelope, Hint)`.
- Return `true` only when the envelope was stored, and `false` when it wasn't.
- Replace calls to `store(envelope)` with `storeEnvelope(envelope, new Hint())`.
8 changes: 8 additions & 0 deletions docs/platforms/java/common/migration/8.x-to-9.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,11 @@ The minimum-level options only select eligible records. They do not enable Sentr
## Constructor Changes

The Log4j 2 `SentryAppender` constructor and `createAppender` factory now require a `logsEnabled` argument. Pass `true` to capture Sentry Logs or `false` to keep capture disabled. The deprecated constructor without `minimumLevel` has been removed.

## Removed `IEnvelopeCache.store()` Methods

Version 9 removes the deprecated `IEnvelopeCache.store(...)` overloads. If you provide a custom envelope cache:

- Rename `store(SentryEnvelope, Hint)` to `storeEnvelope(SentryEnvelope, Hint)`.
- Return `true` only when the envelope was stored, and `false` when it wasn't.
- Replace calls to `store(envelope)` with `storeEnvelope(envelope, new Hint())`.
Loading