Skip to content

[@sentry/angular] Update Angular to v21 #18305

@gordeevladislav

Description

@gordeevladislav

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/angular

SDK Version

10.26.0

Framework Version

Angular 21.0.0

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

Run npm i @sentry/angular in any Angular v21 project.

Expected Result

found 0 vulnerabilities

Actual Result

npm error Found: @angular/common@21.0.0
npm error node_modules/@angular/common
npm error @angular/common@"^21.0.0" from the root project
npm error peer @angular/common@"^21.0.0 || ^22.0.0" from @angular/cdk@21.0.0
npm error node_modules/@angular/cdk
npm error @angular/cdk@"^21.0.0" from the root project
npm error 40 more (@angular/forms, @angular/platform-browser, ...)
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@">= 14.x <= 20.x" from @sentry/angular@10.26.0
npm error node_modules/@sentry/angular
npm error @sentry/angular@"^10.26.0" from the root project
npm error
npm error Conflicting peer dependency: @angular/common@20.3.13
npm error node_modules/@angular/common
npm error peer @angular/common@">= 14.x <= 20.x" from @sentry/angular@10.26.0
npm error node_modules/@sentry/angular
npm error @sentry/angular@"^10.26.0" from the root project
npm error

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions