angular-raven icon indicating copy to clipboard operation
angular-raven copied to clipboard

Working with older versions of raven-js

Open grimurd opened this issue 9 years ago • 4 comments

We haven't upgraded sentry to version 8 yet but when updating one of our angular projects i noticed that this library had updated to the latest raven-js release.

I'm still using version 0.5.11 intentionally because i wanted to keep using the older release in order to use sentry 7 but it still updated to the latest version.

In the bower.json for this project, raven-js is set to "*" so it always installs the latest release.

This is quite inconvenient for us using older releases.

I suggest doing a new 0.5 release and setting the raven-js entry to "~1.3.0"

grimurd avatar Feb 26 '16 10:02 grimurd

+1

jpatel3 avatar Aug 07 '17 15:08 jpatel3

would it be better if I just removed the dependencies in package.json

PatrickJS avatar Aug 09 '17 17:08 PatrickJS

@gdi2290 other way we resolved it by explicitly adding raven-js version in our package.json

    "angular-raven": "0.6.2",
    "raven-js": "1.3.0",

jpatel3 avatar Aug 09 '17 19:08 jpatel3

yeah, that's the correct way to doing that. Can you make a PR to the readme to explain this?

PatrickJS avatar Aug 09 '17 19:08 PatrickJS