Skip to content

feat: add SR support for maskAllInputs and maskInputOptions#354

Merged
Vadman97 merged 2 commits intomainfrom
vadim/o11y-sr-mask
Jan 23, 2026
Merged

feat: add SR support for maskAllInputs and maskInputOptions#354
Vadman97 merged 2 commits intomainfrom
vadim/o11y-sr-mask

Conversation

@Vadman97
Copy link
Copy Markdown
Contributor

@Vadman97 Vadman97 commented Jan 23, 2026

Summary

Support additional granular masking configurations on the SDK.

How did you test this change?

CI + local deploy

image image

Are there any deployment considerations?


Note

Introduces configurable input masking for session replay while preserving existing defaults.

  • Adds maskAllInputs and maskInputOptions to HighlightClassOptions/RecordOptions and defines MaskInputOptions type
  • New determineMaskInputOptions utility computes maskAllInputs/maskInputOptions from privacySetting, always masking password
  • Wires options into rrweb.record in both client/index.tsx and sdk/record.ts; minor cleanup with property shorthand

Written by Cursor Bugbot for commit 09b7cfe. This will update automatically on new commits. Configure here.

@Vadman97 Vadman97 requested a review from a team as a code owner January 23, 2026 22:05
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread sdk/highlight-run/src/client/utils/privacy.ts Outdated
@Vadman97 Vadman97 enabled auto-merge (squash) January 23, 2026 23:17
@Vadman97 Vadman97 merged commit dad61ef into main Jan 23, 2026
23 checks passed
@Vadman97 Vadman97 deleted the vadim/o11y-sr-mask branch January 23, 2026 23:20
Vadman97 pushed a commit that referenced this pull request Jan 26, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>launchdarkly-observability-android: 0.24.0</summary>

##
[0.24.0](launchdarkly-observability-android-0.23.1...launchdarkly-observability-android-0.24.0)
(2026-01-23)


### Features

* O11Y-920 - Add masking support for WebViews
([#352](#352))
([b1b46d3](b1b46d3))
</details>

<details><summary>observability: 0.5.2</summary>

##
[0.5.2](observability-0.5.1...observability-0.5.2)
(2026-01-23)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.26.0
</details>

<details><summary>session-replay: 0.5.2</summary>

##
[0.5.2](session-replay-0.5.1...session-replay-0.5.2)
(2026-01-23)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.26.0
</details>

<details><summary>highlight.run: 9.26.0</summary>

##
[9.26.0](highlight.run-9.25.1...highlight.run-9.26.0)
(2026-01-23)


### Features

* add SR support for maskAllInputs and maskInputOptions
([#354](#354))
([dad61ef](dad61ef))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Release summary**
> 
> - Adds WebView masking support in `observability-android` (v0.24.0)
> - Bumps `highlight.run` to 9.26.0 and updates dependents:
`@launchdarkly/observability` (v0.5.2) and
`@launchdarkly/session-replay` (v0.5.2)
> - Updates `.release-please-manifest.json`, package versions, and
changelogs
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
55c4b41. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants