Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 3, 2025

Bumps scripts/update-android.sh from 7.19.1 to 7.20.0.

Auto-generated by a dependency updater.

Changelog

7.20.0

Features

  • Session Replay GA (#4017)

To enable Replay use the sessionReplay.sessionSampleRate or sessionReplay.onErrorSampleRate options.

import io.sentry.SentryReplayOptions
import io.sentry.android.core.SentryAndroid

SentryAndroid.init(context) { options ->
 
  options.sessionReplay.sessionSampleRate = 1.0
  options.sessionReplay.onErrorSampleRate = 1.0

  // To change default redaction behavior (defaults to true)
  options.sessionReplay.redactAllImages = true
  options.sessionReplay.redactAllText = true

  // To change quality of the recording (defaults to MEDIUM)
  options.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
}

Fixes

  • Fix warm start detection (#3937)
  • Session Replay: Reduce memory allocations, disk space consumption, and payload size (#4016)
  • Session Replay: Do not try to encode corrupted frames multiple times (#4016)

Internal

  • Session Replay: Allow overriding SdkVersion for replay events (#4014)
  • Session Replay: Send replay options as tags (#4015)

Breaking changes

  • Session Replay options were moved from under experimental to the main options object (#4017)

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jan 3, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 8b6f5e9 to a95f08a Compare January 3, 2025 03:06
@romtsn romtsn changed the base branch from main to kw/update-replay-for-ga January 3, 2025 10:27
@romtsn romtsn merged commit fa5944d into kw/update-replay-for-ga Jan 3, 2025
38 of 54 checks passed
@romtsn romtsn deleted the deps/scripts/update-android.sh branch January 3, 2025 10:52
antonis added a commit that referenced this pull request Jan 3, 2025
* feat: Session Replay is GA

* update cocoa tests

* fix changelog pr num

* add js tests

* Update packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests/RNSentryReplayOptionsTests.swift

Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>

* chore(deps): update Android SDK to v7.20.0 (#4411)

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

* chore(deps): update Cocoa SDK to v8.43.0 (#4410)

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>

* Set SdkVersion to react native for replay events on Android

* Use new options in samples

* Fixes testMaskAllVectors failing test

---------

Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>
Co-authored-by: Roman Zavarnitsyn <rom4ek93@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub <noreply@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants