Tinkoff / micro-sentry

Tiny Sentry client with idiomatic wrapper for Angular
Apache License 2.0
118 stars 8 forks source link

[BUG] Angular 16 Support #42

Open ahmadchaer opened 1 year ago

ahmadchaer commented 1 year ago

🐞 Bug report

Description

Trying to install this library with Angular versions 15 or 16 does not work as it depends on Angular<=14

Reproduction

1) Create a new Angular 16 App 2) Add @micro-sentry/angular@6.1.5 to your package.json 3) npm install

This will give the following error: npm ERR! Found: @angular/common@16.0.2 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"16.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^14.0.0" from @micro-sentry/angular@6.1.5

Expected behavior

To be able to use use it with Angular 15/16

Versions

bufke commented 1 year ago

I'm still willing to work on this but I'd like some direction on loosening peer dependencies. I would suggest we run the ng update migration scripts, make sure it still builds, and set peer dependencies to >=15.