Skip to content

🔧 Prepare @datadog/browser-rum-angular for beta release#4386

Merged
rgaignault merged 2 commits into
mainfrom
romanG/prepare-angular-beta
Mar 25, 2026
Merged

🔧 Prepare @datadog/browser-rum-angular for beta release#4386
rgaignault merged 2 commits into
mainfrom
romanG/prepare-angular-beta

Conversation

@rgaignault
Copy link
Copy Markdown
Contributor

@rgaignault rgaignault commented Mar 25, 2026

Motivation

The @datadog/browser-rum-angular package is currently marked as private and cannot be published to npm. This PR prepares it for a beta release by making it publishable.

Changes

  • package.json: Replace "private": true with "version": "6.31.0" so the package can be published to npm alongside other SDK packages
  • README.md: Add documentation that will be displayed on the npm package page. This serves as the primary documentation during the beta period, before the full public docs are available. It covers setup, error tracking (provideDatadogErrorHandler, addAngularError), and router integration.

Note: The error handling APIs (provideDatadogErrorHandler, addAngularError) are introduced in #4358, which should be merged before this PR.

Related PRs

@rgaignault rgaignault requested review from a team as code owners March 25, 2026 10:15
@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented Mar 25, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 176.49 KiB 176.49 KiB 0 B 0.00%
Rum Profiler 6.16 KiB 6.16 KiB 0 B 0.00%
Rum Recorder 27.46 KiB 27.46 KiB 0 B 0.00%
Logs 56.85 KiB 56.85 KiB 0 B 0.00%
Rum Slim 132.13 KiB 132.13 KiB 0 B 0.00%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance

Pending...

🧠 Memory Performance

Pending...

🔗 RealWorld

@datadog-datadog-prod-us1-2
Copy link
Copy Markdown

datadog-datadog-prod-us1-2 Bot commented Mar 25, 2026

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.28% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: f16b798 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 10512fc26f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


```typescript
import { bootstrapApplication } from '@angular/platform-browser'
import { angularPlugin, provideDatadogErrorHandler } from '@datadog/browser-rum-angular'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Remove references to non-existent Angular error APIs

This README section documents provideDatadogErrorHandler/addAngularError imports from @datadog/browser-rum-angular, but the package entrypoint currently exports only angularPlugin, AngularPluginConfiguration, and provideDatadogRouter (packages/rum-angular/src/entries/main.ts). Users following this example will hit immediate TypeScript/module import errors, so the beta docs are advertising APIs that are not actually shippable in this commit.

Useful? React with 👍 / 👎.

@rgaignault rgaignault changed the title 📝 Prepare @datadog/browser-rum-angular for beta release 🔧 Prepare @datadog/browser-rum-angular for beta release Mar 25, 2026
{
"name": "@datadog/browser-rum-angular",
"private": true,
"version": "6.31.0",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

❓ question: ‏Is this intended?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes this is intended, after syncing we decided to have the integration package on the basic sdk version.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So no preview or beta?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no tag on npm yep 👍
It is mentionned in the readme that it is on the beta phase though

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

❓ question: ‏Is the intent to put the doc here for the beta release and then to move it to public doc?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

exactly ! 👍

Comment thread packages/rum-angular/README.md
@rgaignault rgaignault merged commit 685d850 into main Mar 25, 2026
21 checks passed
@rgaignault rgaignault deleted the romanG/prepare-angular-beta branch March 25, 2026 14:10
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 25, 2026
@ncreated ncreated restored the romanG/prepare-angular-beta branch April 9, 2026 10:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants