OLD | NEW |
1 # 1.2.0 | 1 # 1.2.0 |
2 | 2 |
| 3 * **Deprecated:** Extending `SourceLocation` directly is deprecated. Instead, |
| 4 extend the new `SourceLocationBase` class or mix in the new |
| 5 `SourceLocationMixin` mixin. |
| 6 |
3 * Dramatically improve the performance of `FileLocation`. | 7 * Dramatically improve the performance of `FileLocation`. |
4 | 8 |
5 # 1.1.6 | 9 # 1.1.6 |
6 | 10 |
7 * Optimize `getLine()` in `SourceFile` when repeatedly called. | 11 * Optimize `getLine()` in `SourceFile` when repeatedly called. |
8 | 12 |
9 # 1.1.5 | 13 # 1.1.5 |
10 | 14 |
11 * Fixed another case in which `FileSpan.union` could throw an exception for | 15 * Fixed another case in which `FileSpan.union` could throw an exception for |
12 external implementations of `FileSpan`. | 16 external implementations of `FileSpan`. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than | 83 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than |
80 taking both a `useColor` and a `color` parameter, they now take a single | 84 taking both a `useColor` and a `color` parameter, they now take a single |
81 `color` parameter that controls both whether and which color is used. | 85 `color` parameter that controls both whether and which color is used. |
82 | 86 |
83 * `Span.isIdentifier` has been removed. This property doesn't make sense outside | 87 * `Span.isIdentifier` has been removed. This property doesn't make sense outside |
84 of a source map context. | 88 of a source map context. |
85 | 89 |
86 * `SourceFileSegment` has been removed. This class wasn't widely used and was | 90 * `SourceFileSegment` has been removed. This class wasn't widely used and was |
87 inconsistent in its choice of which parameters were considered relative and | 91 inconsistent in its choice of which parameters were considered relative and |
88 which absolute. | 92 which absolute. |
OLD | NEW |