diff --git a/docs/platforms/android/migration/v8-to-v9.mdx b/docs/platforms/android/migration/v8-to-v9.mdx index 7534c8880ab2c..f66666efab237 100644 --- a/docs/platforms/android/migration/v8-to-v9.mdx +++ b/docs/platforms/android/migration/v8-to-v9.mdx @@ -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())`. diff --git a/docs/platforms/java/common/migration/8.x-to-9.0.mdx b/docs/platforms/java/common/migration/8.x-to-9.0.mdx index 67eca79c673ae..7a0252210e6b7 100644 --- a/docs/platforms/java/common/migration/8.x-to-9.0.mdx +++ b/docs/platforms/java/common/migration/8.x-to-9.0.mdx @@ -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())`.