segment-integrations / analytics.js-integration-sentry

The Sentry analytics.js integration.
https://segment.com/docs/integrations/sentry/
MIT License
3 stars 7 forks source link

raven.js 1.3.0 #7

Closed mattrobenolt closed 8 years ago

mattrobenolt commented 8 years ago

Again, I'm going to ask.. is there a better way that this can be automated to be kept up to date instead of me manually creating pull requests every time we bump a version?

Can this be specified possibly as a config option in Segment so people can say, "I want version 1.2.0", and maybe default to our latest version? We're thinking about exposing an API endpoint that has this information, but not sure if that could be leveraged for you guys.

f2prateek commented 8 years ago

The best way for now is what some of other providers like Mixpanel do - they have a URL that always returns the latest version, e.g. https://cdn.ravenjs.com/latest/native/raven.min.js.

mattrobenolt commented 8 years ago

@f2prateek And you'd reference this url inside the integration? We intentionally don't provide a "latest", especially because of API compatibility and then CDN caching. If we provided a "latest", we'd have to use a pretty low TTL. :/