OLD | NEW |
| 1 ## 1.8.0 |
| 2 |
| 3 * Add a `Trace.original` field to provide access to the original `StackTrace`s |
| 4 from which the `Trace` was created, and a matching constructor parameter to |
| 5 `new Trace()`. |
| 6 |
| 7 ## 1.7.4 |
| 8 |
| 9 * Always run `onError` callbacks for `Chain.capture()` in the parent zone. |
| 10 |
| 11 ## 1.7.3 |
| 12 |
| 13 * Fix broken links in the README. |
| 14 |
| 15 ## 1.7.2 |
| 16 |
| 17 * `Trace.foldFrames()` and `Chain.foldFrames()` now remove the outermost folded |
| 18 frame. This matches the behavior of `.terse` with core frames. |
| 19 |
| 20 * Fix bug parsing a friendly frame with spaces in the member name. |
| 21 |
| 22 * Fix bug parsing a friendly frame where the location is a data url. |
| 23 |
| 24 ## 1.7.1 |
| 25 |
| 26 * Make `Trace.parse()`, `Chain.parse()`, treat the VM's new causal asynchronous |
| 27 stack traces as chains. Outside of a `Chain.capture()` block, `new |
| 28 Chain.current()` will return a stack chain constructed from the asynchronous |
| 29 stack traces. |
| 30 |
| 31 ## 1.7.0 |
| 32 |
| 33 * Add a `Chain.disable()` function that disables stack-chain tracking. |
| 34 |
| 35 * Fix a bug where `Chain.capture(..., when: false)` would throw if an error was |
| 36 emitted without a stack trace. |
| 37 |
| 38 ## 1.6.8 |
| 39 |
| 40 * Add a note to the documentation of `Chain.terse` and `Trace.terse`. |
| 41 |
| 42 ## 1.6.7 |
| 43 |
| 44 * Fix a bug where `new Frame.caller()` returned the wrong depth of frame on |
| 45 Dartium. |
| 46 |
| 47 ## 1.6.6 |
| 48 |
| 49 * `new Trace.current()` and `new Chain.current()` now skip an extra frame when |
| 50 run in a JS context. This makes their return values match the VM context. |
| 51 |
| 52 ## 1.6.5 |
| 53 |
| 54 * Really fix strong mode warnings. |
| 55 |
| 56 ## 1.6.4 |
| 57 |
| 58 * Fix a syntax error introduced in 1.6.3. |
| 59 |
| 60 ## 1.6.3 |
| 61 |
| 62 * Make `Chain.capture()` generic. Its signature is now `T Chain.capture<T>(T |
| 63 callback(), ...)`. |
| 64 |
| 65 ## 1.6.2 |
| 66 |
| 67 * Fix all strong mode warnings. |
| 68 |
| 69 ## 1.6.1 |
| 70 |
| 71 * Use `StackTrace.current` in Dart SDK 1.14 to get the current stack trace. |
| 72 |
| 73 ## 1.6.0 |
| 74 |
| 75 * Add a `when` parameter to `Chain.capture()`. This allows capturing to be |
| 76 easily enabled and disabled based on whether the application is running in |
| 77 debug/development mode or not. |
| 78 |
| 79 * Deprecate the `ChainHandler` typedef. This didn't provide any value over |
| 80 directly annotating the function argument, and it made the documentation less |
| 81 clear. |
| 82 |
| 83 ## 1.5.1 |
| 84 |
| 85 * Fix a crash in `Chain.foldFrames()` and `Chain.terse` when one of the chain's |
| 86 traces has no frames. |
| 87 |
1 ## 1.5.0 | 88 ## 1.5.0 |
2 | 89 |
3 * `new Chain.parse()` now parses all the stack trace formats supported by `new | 90 * `new Chain.parse()` now parses all the stack trace formats supported by `new |
4 Trace.parse()`. Formats other than that emitted by `Chain.toString()` will | 91 Trace.parse()`. Formats other than that emitted by `Chain.toString()` will |
5 produce single-element chains. | 92 produce single-element chains. |
6 | 93 |
7 * `new Trace.parse()` now parses the output of `Chain.toString()`. It produces | 94 * `new Trace.parse()` now parses the output of `Chain.toString()`. It produces |
8 the same result as `Chain.parse().toTrace()`. | 95 the same result as `Chain.parse().toTrace()`. |
9 | 96 |
10 ## 1.4.2 | 97 ## 1.4.2 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 232 |
146 * If an error is thrown in `Chain.capture`'s `onError` handler, that error is | 233 * If an error is thrown in `Chain.capture`'s `onError` handler, that error is |
147 handled by the parent zone. This matches the behavior of `runZoned` in | 234 handled by the parent zone. This matches the behavior of `runZoned` in |
148 `dart:async`. | 235 `dart:async`. |
149 | 236 |
150 ## 0.9.3 | 237 ## 0.9.3 |
151 | 238 |
152 * Add a `Chain.foldFrames` method that parallels `Trace.foldFrames`. | 239 * Add a `Chain.foldFrames` method that parallels `Trace.foldFrames`. |
153 | 240 |
154 * Record anonymous method frames in IE10 as "<fn>". | 241 * Record anonymous method frames in IE10 as "<fn>". |
OLD | NEW |