Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 48e3bdc

Browse files
konraddysputjasoncdavis0
andauthored
source code improvements + attributes adjustement (#33)
* source code improvements + attributes adjustement * Improved scoped attributes * Adjusted electron sample * use random id instead of path * Changelog update * Update CHANGELOG.md Co-authored-by: jasoncdavis0 <[email protected]>
1 parent a7e2a18 commit 48e3bdc

File tree

9 files changed

+3123
-267
lines changed

9 files changed

+3123
-267
lines changed

CHANGELOG.md

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,69 @@
11
# Backtrace Node Release Notes
22

3+
## Version 1.1.0
4+
5+
- updated backtrace-node attributes - Backtrace will capture application, application.name, and main attributes based on the
6+
application package.json - not the faulting library package.json file.
7+
- updated source-code integration - Backtrace will now include the relative path in stack trace.
8+
39
## Version 1.0.9
10+
411
- axios client update
512

613
## Version 1.0.8
14+
715
- dependency updates
816

917
## Version 1.0.7
18+
1019
- Full source map support,
1120
- readme updates
1221

1322
## Version 1.0.6 30.10.2019
14-
* Added sourcemap support to Backtrace-node
15-
* Fixed type attributes for report function
16-
* Changed a unit test result - removed console.log and check data instead.
23+
24+
- Added sourcemap support to Backtrace-node
25+
- Fixed type attributes for report function
26+
- Changed a unit test result - removed console.log and check data instead.
1727

1828
## Version 1.0.5 28.08.2019
19-
* Fixed invalid source code line number
29+
30+
- Fixed invalid source code line number
2031

2132
## Version 1.0.4 26.08.2019
22-
* Added attachments checks,
23-
* Added callback funciton to third parameter of send method,
24-
* Removed Backtrace stack frames from message error,
33+
34+
- Added attachments checks,
35+
- Added callback funciton to third parameter of send method,
36+
- Removed Backtrace stack frames from message error,
2537

2638
## Version 1.0.3 06.06.2019
27-
* Added new events to event emitter: `new-report`, `unhandledRejection`, `uncaughtException`. `uncaughtException` and `unhandledRejection` events will be emited by library when library catch unhandled exception or unhandler promise rejection. `new-report` event will be emited when library create new `backtraceReport` object.
39+
40+
- Added new events to event emitter: `new-report`, `unhandledRejection`, `uncaughtException`. `uncaughtException` and
41+
`unhandledRejection` events will be emited by library when library catch unhandled exception or unhandler promise
42+
rejection. `new-report` event will be emited when library create new `backtraceReport` object.
2843

2944
## Version 1.0.2 05.06.2019
30-
* Fixed arguments in callback function in report `send` method.
45+
46+
- Fixed arguments in callback function in report `send` method.
3147

3248
## Version 1.0.1 05.06.2019
3349

34-
* Added type definition for report `send` method
50+
- Added type definition for report `send` method
3551

3652
## Version 1.0.0 04.06.2019
3753

38-
* `Backtrace-node` now supports TypeScript. We care about your applications that using Backtrace-Node library so we prepared compatible API for you. If you still want to use modern API please use `BacktraceClient` instead.
39-
* `Backtrace-node` options now support sampling and client rate limiting.
40-
- sampling allows you to drop random reports generated by your application depends on sampling value,
41-
- 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
42-
* `Backtrace-node` send methods accept new paramtere - `fileAttachment`. If you pass array of strings `backtrace-node` will try to read each file from hard drive and add this as attachment to `backtraceReport`.
43-
* `Backtrace-node` allows you to use `eventEmmiter` events! Now when you can use events like: `'before-send'`, `'after-send'` and others!
44-
* Modern Promise API is here! `Backtrace-node` allows you to use `async/await` syntax to send reports to Backtrace!
45-
* `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!
46-
* Backtrace prepare a lot sample application for you! If you want to learn how to use Backtrace in your nodejs application (no matter if you using JavaScript/TypeScript) please check examples directory!
54+
- `Backtrace-node` now supports TypeScript. We care about your applications that using Backtrace-Node library so we
55+
prepared compatible API for you. If you still want to use modern API please use `BacktraceClient` instead.
56+
- `Backtrace-node` options now support sampling and client rate limiting.
57+
- sampling allows you to drop random reports generated by your application depends on sampling value,
58+
- client rate limit allows you to set up client limit. By setting this value you will tell library how many reports
59+
per minute, client can send to Backtrace
60+
- `Backtrace-node` send methods accept new paramtere - `fileAttachment`. If you pass array of strings `backtrace-node`
61+
will try to read each file from hard drive and add this as attachment to `backtraceReport`.
62+
- `Backtrace-node` allows you to use `eventEmmiter` events! Now when you can use events like: `'before-send'`,
63+
`'after-send'` and others!
64+
- Modern Promise API is here! `Backtrace-node` allows you to use `async/await` syntax to send reports to Backtrace!
65+
- `reportSync` and `reportAsync` methods now returns `BacktraceResult` object that allows you to understand what happend
66+
with report. If you have connection/configuration problems `BacktraceResult` allows you to learn what happend inside
67+
library!
68+
- Backtrace prepare a lot sample application for you! If you want to learn how to use Backtrace in your nodejs
69+
application (no matter if you using JavaScript/TypeScript) please check examples directory!

0 commit comments

Comments
 (0)