Skip to content

docs(js): remove misleading claim about arbitrary user key/value pairs#17800

Open
sentry-junior[bot] wants to merge 1 commit into
masterfrom
remove-arbitrary-user-fields
Open

docs(js): remove misleading claim about arbitrary user key/value pairs#17800
sentry-junior[bot] wants to merge 1 commit into
masterfrom
remove-arbitrary-user-fields

Conversation

@sentry-junior
Copy link
Copy Markdown
Contributor

@sentry-junior sentry-junior Bot commented May 19, 2026

Summary

Remove the sentence claiming that arbitrary key/value pairs can be added to the User object in setUser. In practice, these values don't surface in the Sentry UI (e.g. as tags), making this guidance misleading.

Users should rely on the defined User fields (id, email, username, ip_address).

References

Note

There are ~20 similar sentences across other platform identify-user pages (Android, Python, Go, etc.). This PR scopes to the JS API reference as requested — a broader cleanup could follow.

Requested-by: Francesco Gringl-Novy <@U0464NED8ER>

The setUser docs stated that arbitrary key/value pairs could be added
to the User object. In practice, these arbitrary values do not appear
in the Sentry UI (e.g. under tags), making this guidance misleading.

Remove the sentence to avoid confusion. Users should rely on the
defined User fields (id, email, username, ip_address).

Ref: getsentry/sentry#58767
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 19, 2026 7:23am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored May 19, 2026 7:23am

Request Review

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.

0 participants