Company
Date Published
Author
Ben Vinegar
Word count
481
Language
English
Hacker News points
None

Summary

Sentry has released version 2.0.0 of its client JavaScript integration library, Raven.js, with several major changes from the previous version. The new version now transmits error reports to the Sentry server using HTTP POST, which removes limitations on browser URI character length limits and allows for additional data fields to be transmitted without worry. Additionally, Raven.js 2.0.0 extends browser built-ins like setTimeout and addEventListener to automatically wrap and capture errors from functions, providing better stack trace results in certain browsers. The jQuery, Native, and Backbone plugins have been removed as they are no longer necessary, and a new plugin API has been introduced with improved CommonJS support. The project is now following Semver, ensuring that future incompatible API changes will constitute a new major version. Users can get started with the latest version by serving it directly from the Sentry CDN or installing it using npm.