- General update.
- type definition improvements for the initialized method.
- 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.
- Backtrace-Metrics support - by default metrics support is enabled. User can modify the metrics support via
BacktraceConfiguration
options.
- Provide file name instead of full file path in the stack trace object.
- Package version fix
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 useBacktraceClient
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 useasync/await
syntax to send reports to Backtrace! reportSync
andreportAsync
methods now returnsBacktraceResult
object that allows you to understand what happend with report. If you have connection/configuration problemsBacktraceResult
allows you to learn what happend inside library!- Breadcrumsb support API.