Skip to content

feat(rum): Add common names for global and view context calls - #5378

Draft
mormubis wants to merge 1 commit into
adlrb/RUM-20325-common-names-userfrom
adlrb/RUM-20325-common-names-context
Draft

mormubis wants to merge 1 commit into
adlrb/RUM-20325-common-names-userfrom
adlrb/RUM-20325-common-names-context

Conversation

@mormubis

@mormubis mormubis commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Motivation

Second PR of the common names stack (#5377).

Refs: RUM-20325, RUM-19580

Changes

New names on datadogRum: setAttributes, getAttributes, addAttribute, removeAttribute, clearAttributes, setViewAttributes, addViewAttribute and getViewAttributes. The old global and view context calls are deprecated aliases, same pattern as #5377.

Test instructions

Run yarn test:unit packages/browser-rum-core/src/boot/rumPublicApi.spec.ts. The context and view context e2e scenarios use the new names.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🔁 Datadog re-ran unit-bs: [chrome-desktop] and unit-bs: [edge] after they failed. Both re-runs passed. View in Datadog

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 91207b3 | Docs | View more details | Give us feedback!

This branch has not been deployed

No deployments
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.

1 participant