1 | ## v2.0.0
|
---|
2 |
|
---|
3 | ### ES6 Support
|
---|
4 |
|
---|
5 | ES6 code is now parsed and enhanced!
|
---|
6 |
|
---|
7 | ### Extensible StackFrames
|
---|
8 |
|
---|
9 | StackFrames returned are now able to report on whether a function call was a `Constructor`, `native` code, or `eval` code.
|
---|
10 |
|
---|
11 | ### MIT License
|
---|
12 |
|
---|
13 | The community [has voted](https://github.com/stacktracejs/stacktrace.js/issues/187) to change the license of the project to the [MIT License](https://opensource.org/licenses/MIT)
|
---|
14 |
|
---|
15 | ## v1.3.0
|
---|
16 | * `Stacktrace.getSync()` gets a stack trace, synchronously. It does not attempt to map sources or guess function names, because those typically require network requests.
|
---|
17 |
|
---|
18 | ## v1.2.0
|
---|
19 |
|
---|
20 | * `StackTrace.report` now accepts an error message argument, and will add a `message: "given thing"` to the JSON payload if it is provided.
|
---|
21 | * Various bug fixes from v1.1.0
|
---|
22 |
|
---|
23 | ## v1.1.0
|
---|
24 |
|
---|
25 | ### Better parsing
|
---|
26 | Updated [error-stack-parser](https://github.com/stacktracejs/error-stack-parser) to v1.3 which parses eval stack entries in a better way and fixes a bunch of bugs.
|
---|
27 |
|
---|
28 | ### Better resource handling
|
---|
29 | Updated [stacktrace-gps](https://github.com/stacktracejs/stacktrace-gps). Now reuses the same instance to avoid duplicate requests for the same resource by default.
|
---|
30 |
|
---|
31 | ### Better dev experience
|
---|
32 | JSCS and automated PR testing have been implemented to ensure consistent styles and quick feedback.
|
---|
33 |
|
---|
34 | > Possibly breaking changes: ErrorStackParser now provides it's own polyfill for `Array.map` and `Array.filter`. `eval` information is will display differently in stack traces.
|
---|
35 |
|
---|
36 | ## v1.0.0
|
---|
37 |
|
---|
38 | ### stacktrace.js is reborn
|
---|
39 |
|
---|
40 | stacktrace.js is now modularized into 5 projects:
|
---|
41 |
|
---|
42 | * [stacktrace-gps](https://github.com/stacktracejs/stacktrace-gps) - turn partial code location into precise code location
|
---|
43 | * [error-stack-parser](https://github.com/stacktracejs/error-stack-parser) - extract meaning from JS Errors
|
---|
44 | * [stack-generator](https://github.com/stacktracejs/stack-generator) - generate artificial backtrace in old browsers
|
---|
45 | * [stackframe](https://github.com/stacktracejs/stackframe) - JS Object representation of a stack frame
|
---|
46 |
|
---|
47 | ... and putting it all together: [stacktrace.js](stacktracejs/stacktrace.js) for instrumenting your code and generating stack traces!
|
---|
48 |
|
---|
49 | ### Key Features
|
---|
50 |
|
---|
51 | * Fully asynchronous API, using [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Use your own polyfill or use [our distribution with polyfills included](https://github.com/stacktracejs/stacktrace.js/blob/master/dist/stacktrace-with-polyfills.min.js). See the [Migration Guide](http://www.stacktracejs.com/docs/v0-migration-guide)
|
---|
52 | * [Source Maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) support
|
---|
53 | * Forward-compatible: stacktrace.js no longer assumes a given browser formats Error stacks in a given way. This prevents new browser versions from breaking error parsing
|
---|
54 | * Stack entries are now fully parsed and returned as [StackFrame objects](https://github.com/stacktracejs/stackframe). Prefer the old format? - just call `.toString()`!
|
---|
55 | * Use only what you need. All 5 projects work independently as well as together!
|
---|
56 | * iOS 8+ Safari support
|
---|
57 |
|
---|
58 | ### Available everywhere
|
---|
59 |
|
---|
60 | ```
|
---|
61 | npm install stacktrace-js
|
---|
62 | bower install stacktrace-js
|
---|
63 | component install stacktracejs/stacktrace.js
|
---|
64 | https://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/1.0.0/stacktrace.min.js
|
---|
65 | ```
|
---|
66 |
|
---|
67 | ### Better for contributors
|
---|
68 |
|
---|
69 | * gulp build
|
---|
70 | * TravisCI + Sauce for testing a bunch of browsers
|
---|
71 | * EditorConfig for style adherence
|
---|
72 |
|
---|
73 | ## v0.6.2
|
---|
74 |
|
---|
75 | * Ignore test/ dir in bower
|
---|
76 | * Migrate references eriwen/javascript-stacktrace -> stacktracejs/stacktrace.js
|
---|
77 |
|
---|
78 | ## v0.6.1
|
---|
79 |
|
---|
80 | * Fix printStackTrace throws exception with "use strict" code and PhantomJS
|
---|
81 |
|
---|
82 | ## v0.6.0
|
---|
83 |
|
---|
84 | * Added AMD support using a UMD pattern (thanks @jeffrose)
|
---|
85 |
|
---|
86 | ## v0.5.3
|
---|
87 |
|
---|
88 | * Fix Chrome 27 detection; Chrome no longer has Error#arguments
|
---|
89 |
|
---|
90 | ## v0.5.1
|
---|
91 |
|
---|
92 | * Fix Bower integration; Added proper bower.json file
|
---|
93 |
|
---|
94 | ## v0.5.0
|
---|
95 |
|
---|
96 | * Lots and lots of stuff
|
---|
97 |
|
---|