UNPKG

backtrace-js

Version:

Backtrace.io error reporting tool for client-side applications

24 lines (18 loc) 1.47 kB
# Backtrace JS Release Notes ## Version 1.1.1 - Fixed Metrics promise rejection when the metrics service is not available - Fixed index.ts type definition - now it's correctly included in the final npm package. ## Version 1.1.0 - Backtrace-Metrics support - by default metrics support is enabled. User can modify the metrics support via `BacktraceConfiguration` options. ## Version 1.0.2 - Provide file name instead of full file path in the stack trace object. ## Version 1.0.1 - Package version fix ## Version 1.0.0 * `Backtrace-js` now supports TypeScript. We care about your applications that using Backtrace-js library so we prepared compatible API for you. If you still want to use modern API please use `BacktraceClient` instead. * `Backtrace-js` options now support sampling and client rate limiting. - sampling allows you to drop random reports generated by your application depends on sampling value, - client rate limit allows you to set up client limit. By setting this value you will tell library how many reports per minute, client can send to Backtrace * Modern Promise API is here! `Backtrace-js` allows you to use `async/await` syntax to send reports to Backtrace! * `reportSync` and `reportAsync` methods now returns `BacktraceResult` object that allows you to understand what happend with report. If you have connection/configuration problems `BacktraceResult` allows you to learn what happend inside library! * Breadcrumsb support API.